Hi Mark, On Wed, Mar 13, 2019 at 02:08:15PM +0100, Mark Janssen wrote: > Hi, > > I've recenly switched a system over from 1.6.9, which has been running fine > for years, to 1.9.4. > I've updated the configuration to use nbthread instead of nbproc, and > cleaned up the config a lot. > > A few times now, however, i've seen haproxy using all available CPU on the > system, even when traffic is mostly idle (or when the loadbalancer isn't > even active anymore after a failover to the 2nd node).
That's not expected. I'm seeing a problem in your show info dump (thanks for providing it) : > Run_queue: 4294967285 The run queue has a negative size, I have no idea how we ended up in this state! So definitely the threads never sleep, believing they always have something to do. Could you please also report the output of "show activity" on the socket when this happens ? It will dump a number of per-thread indicators. It's unlikely we'll spot the issue there but it could help narrow it down. Thanks! Willy

