Multiple processes after restarting/reloading HAproxy?


#1

Hi folks,

After restarting/reloading HAproxy a few times on Xenial, with HAproxy installed from the vbernat/haproxy-1.6 PPA, I see this situation occurring:

 4466 ?        Ss     0:00 /usr/sbin/haproxy-systemd-wrapper -f /etc/haproxy/haproxy.cfg -p /run/haproxy.pid
 4104 ?        S      0:00  \_ /usr/sbin/haproxy -f /etc/haproxy/haproxy.cfg -p /run/haproxy.pid -Ds -sf 4478
 4113 ?        Ss     4:50  |   \_ /usr/sbin/haproxy -f /etc/haproxy/haproxy.cfg -p /run/haproxy.pid -Ds -sf 4478
22957 ?        S      0:00  \_ /usr/sbin/haproxy -f /etc/haproxy/haproxy.cfg -p /run/haproxy.pid -Ds -sf 4113
22967 ?        Ss     4:29  |   \_ /usr/sbin/haproxy -f /etc/haproxy/haproxy.cfg -p /run/haproxy.pid -Ds -sf 4113
14006 ?        S      0:00  \_ /usr/sbin/haproxy -f /etc/haproxy/haproxy.cfg -p /run/haproxy.pid -Ds -sf 27306
14015 ?        Ss     4:02  |   \_ /usr/sbin/haproxy -f /etc/haproxy/haproxy.cfg -p /run/haproxy.pid -Ds -sf 27306
 5571 ?        S      0:00  \_ /usr/sbin/haproxy -f /etc/haproxy/haproxy.cfg -p /run/haproxy.pid -Ds -sf 19424
 5581 ?        Ss     3:10  |   \_ /usr/sbin/haproxy -f /etc/haproxy/haproxy.cfg -p /run/haproxy.pid -Ds -sf 19424
28803 ?        S      0:00  \_ /usr/sbin/haproxy -f /etc/haproxy/haproxy.cfg -p /run/haproxy.pid -Ds -sf 10290
28814 ?        Ss     2:16      \_ /usr/sbin/haproxy -f /etc/haproxy/haproxy.cfg -p /run/haproxy.pid -Ds -sf 10290

A systemctl stop haproxy hangs and I have to kill -9 (or reboot the server) to get it back into a clean state. I didn’t make any changes to the service unit files or install any overrides. Is anyone else experiencing this issue?

Thanks in advance,

Mike