On Tue, 23 Aug 2016 00:37:49 +0200 Cyril Bonté <[email protected]> wrote:
> Hi Thierry, > > Le 22/08/2016 à 13:28, Thierry Fournier a écrit : > > Hi list, > > > > When I start haproxy (renamed o3-haproxy for some reasons) with the > > systemd wrapper I watch a "find" zombi process. You can see a result > > of a ps auxf. > > > > I use a haproxy 1.6.7. > > > > root 777 0.0 0.0 49424 1812 ? Ss 11:19 0:00 > > /usr/sbin/o3-haproxy-systemd-wrapper -f /etc/o3-haproxy/o3-haproxy.cfg -p > > /run/o3-haproxy.pid > > o3-hapr+ 779 0.0 1.5 110700 56344 ? S 11:19 0:00 \_ > > /usr/sbin/o3-haproxy -f /etc/o3-haproxy/o3-haproxy.cfg -p > > /run/o3-haproxy.pid -Ds > > root 1301 0.0 0.0 0 0 ? Z 11:19 0:00 \_ > > [find] <defunct> > > o3-hapr+ 1884 0.0 1.5 111620 55904 ? Ss 11:19 0:00 \_ > > /usr/sbin/o3-haproxy -f /etc/o3-haproxy/o3-haproxy.cfg -p > > /run/o3-haproxy.pid -Ds > > > > Some ideas ? > > Any lua module in your config that could produce this ? You're right. Thank you Cyril. Strangely, without systemd this defunct process doesn't appear. I suppose that the Lua fork/exec is executed before the HAProxy fork for the daemon mode. So when HAProxy becomes a deamon, the find is attached ot the main process and it disapear with the end of the process. Thierry

