Re: Fast reloads leave orphaned processes on systemd based systems

2015-11-14 Thread Lukas Loesche
Hi Lukas, I started working on a patch for haproxy-systemd-wrapper (https://gist.github.com/lloesche/f4f70a9dd585ba3ffa21) which blocks the parent until the pid gets changed (presumably by the newly forked haproxy process). It works, however if reloads come in extremely fast there's still a race I

Fast reloads leave orphaned processes on systemd based systems

2015-11-05 Thread Lukas Loesche
When reloading haproxy too fast on EL7 (RedHat, CentOS) the system is being filled with orphaned processes. I encountered this problem on CentOS 7 with haproxy-1.5.4-4.el7_1.x86_64 but expect it to exist on all systems using haproxy-systemd-wrapper not just those based on Fedora. Steps to reprodu