our haproxy 1.5.19 is crashing, usually when we’re having a large number of requests coming in. We’ve exhausted all our options to fix, so it’s time to dig in a bit deeper. So I’d like to attach gdb to our currently running process - but there’s three of them -
root 18700 1 0 10:07 ? 00:00:00 /usr/sbin/haproxy-systemd-wrapper -f /etc/haproxy/haproxy.cfg -p /run/haproxy.pid
root 29141 18700 0 11:42 ? 00:00:00 /usr/sbin/haproxy -f /etc/haproxy/haproxy.cfg -p /run/haproxy.pid -Ds -sf 28244
root 29142 29141 15 11:42 ? 00:59:56 /usr/sbin/haproxy -f /etc/haproxy/haproxy.cfg -p /run/haproxy.pid -Ds -sf 28244
So, not sure which one to attach, I’m guessing the last one, PID 29142, but would like to know for certain. Thanks!