Hi guys,
It all started when I saw this message upon login on my Ubuntu server:
There are 2 zombie processes.
I tried to locate these zombies:
# ps axo stat,ppid,pid,comm | grep -w defunct
Zs 58904 59064 epmd <defunct>
Z 58904 59065 epmd <defunct>
The ppid=58904
points to my Erlang release running inside the Docker container:
# ps auxwww | grep 58904
ubuntu 58904 8.8 0.2 2362552 182348 ? Ssl 16:03 0:28 /opt/taurus/bin/taurus -Bd -Bi -- -root /opt/taurus -bindir /opt/taurus/erts-14.1.1/bin -progname opt/taurus/bin/taurus -- -home /home/ubuntu -- -noshell -noinput -boot /opt/taurus/releases/latest/start -mode embedded -boot_var SYSTEM_LIB_DIR /opt/taurus/lib -config /opt/taurus/config/docker/app.config -sname taurus -setcookie awesome_cookie -- -- foreground --
I’m using nothing special in my vm.args:
-sname taurus
-setcookie awesome_cookie
I narrowed down the issue and this situation happens early (less than 5sec) after I started my container.
Inside the container, I see this:
$ ps auxwww | grep epmd | grep -v grep
ubuntu 78 0.0 0.0 3740 100 ? S 16:03 0:00 /opt/taurus/erts-14.1.1/bin/epmd -daemon
ubuntu 132 0.0 0.0 0 0 ? Zs 16:03 0:00 [epmd] <defunct>
ubuntu 133 0.0 0.0 0 0 ? Z 16:03 0:00 [epmd] <defunct>
In addition to the 2 defunct epmd
, a new one is happily running.
This might be related to this RabbitMQ issue. But honestly, I’ve no clue.
Environment:
Ubuntu 22.04 LTS
Erlang 26.1.2
Help appreciated as I’m new to using Erlang within Docker.