[ClusterLabs Developers] bundle/docker: zombie process on resource stop

Valentin Vidic Valentin.Vidic at CARNet.hr
Mon Jul 24 12:37:31 CEST 2017


On Mon, Jul 24, 2017 at 12:19:20PM +0200, Klaus Wenninger wrote:
> Wasn't aware of the different behavior of pacemaker_remoted as pidone.
> If it is really spawned as pidone - which might be worth verifying -
> it should indeed create a zombie catcher pid1.

You are right about PID 1, it looks like this from the inside when running:

  PID TTY      STAT   TIME COMMAND
    1 ?        Ss     0:00 /usr/sbin/pacemaker_remoted
   55 ?        Ss     0:00 /sbin/httpd -DSTATUS -f /etc/httpd/conf/httpd.conf -c PidFile /var/run//httpd.pid
   57 ?        S      0:00  \_ /sbin/httpd -DSTATUS -f /etc/httpd/conf/httpd.conf -c PidFile /var/run//httpd.pid
   58 ?        S      0:00  \_ /sbin/httpd -DSTATUS -f /etc/httpd/conf/httpd.conf -c PidFile /var/run//httpd.pid
   61 ?        S      0:00  \_ /sbin/httpd -DSTATUS -f /etc/httpd/conf/httpd.conf -c PidFile /var/run//httpd.pid
   64 ?        S      0:00  \_ /sbin/httpd -DSTATUS -f /etc/httpd/conf/httpd.conf -c PidFile /var/run//httpd.pid
   65 ?        S      0:00  \_ /sbin/httpd -DSTATUS -f /etc/httpd/conf/httpd.conf -c PidFile /var/run//httpd.pid

and from the outside:

  PID TTY      STAT   TIME COMMAND
15738 ?        Ssl    9:12 /usr/sbin/dockerd -H fd://
15742 ?        Ssl    6:50  \_ containerd -l unix:///var/run/docker/libcontainerd/containerd.sock --metrics-interval=0 --start-timeout 2m --state-dir /var/run/docker/libcontainerd/containerd --shim container
21583 ?        Sl     0:00  |   \_ containerd-shim 6827b7ead8fc5c199d0b5c9f3cc2c37013147e6d96dda25eaacad7d7e2ca5031 /var/run/docker/libcontainerd/6827b7ead8fc5c199d0b5c9f3cc2c37013147e6d96dda25eaacad7d7e2ca5
21598 ?        Ss     0:00  |   |   \_ /usr/sbin/pacemaker_remoted
21770 ?        Ss     0:00  |   |       \_ /sbin/httpd -DSTATUS -f /etc/httpd/conf/httpd.conf -c PidFile /var/run//httpd.pid
21772 ?        S      0:00  |   |           \_ /sbin/httpd -DSTATUS -f /etc/httpd/conf/httpd.conf -c PidFile /var/run//httpd.pid
21773 ?        S      0:00  |   |           \_ /sbin/httpd -DSTATUS -f /etc/httpd/conf/httpd.conf -c PidFile /var/run//httpd.pid
21776 ?        S      0:00  |   |           \_ /sbin/httpd -DSTATUS -f /etc/httpd/conf/httpd.conf -c PidFile /var/run//httpd.pid
21778 ?        S      0:00  |   |           \_ /sbin/httpd -DSTATUS -f /etc/httpd/conf/httpd.conf -c PidFile /var/run//httpd.pid
21780 ?        S      0:00  |   |           \_ /sbin/httpd -DSTATUS -f /etc/httpd/conf/httpd.conf -c PidFile /var/run//httpd.pid

-- 
Valentin



More information about the Developers mailing list