On 05/10/2017 04:21 AM, Baptiste wrote: > Could you confirm that when the stats socket hangs, HAProxy can still > process traffic (or not) ?
Actually it doesn't appear to pass traffic at all even without hitting the UNIX socket. I was so focused on the UNIX socket failing I didn't notice that web requests were also not making it through, since the UNIX socket failing in this use case causes other more noticeable behavior because of its blocking so it was shut down before other tests were made. So it's even worse than it first appeared to be. Subject updated accordingly. > Can you run a strace on the process while running the command on the > stats socket. This being FreeBSD it doesn't have strace but trying to watch it with truss did not show it doing anything other than issuing monitoring requests. > I don't know if that's related, but while working on making DNS > resolution autonomous (they are currently triggered by health checks), I > discovered a "task leak" with the way we open / close the connection > in 91a964aae7a405f2752f8be22d669745caa0c16f in src/dns.c. > Because this function is called twice, it creates 2 tasks... > > Please check patch in attachment to fix this issue. That said, I don't > think it is related to your problem... but it worth a try. I tried compiling with that patch and unfortunately I did not notice any change in behavior. No traffic was passing. I appreciate the effort, though. Thanks, Jim P.