On , Willy Tarreau wrote:
On Tue, Dec 17, 2013 at 02:05:13PM +0100, Willy Tarreau wrote:
On Tue, Dec 17, 2013 at 10:44:12AM +0100, Guillaume Castagnino wrote:
> Le mardi 17 décembre 2013 10:32:30 Sander Klein a écrit :
> > Hi,
> >
> > I've enabled http-keep-alive in my config and now haproxy continuously
> > peaks at 100% CPU usage where without http-keep-alive it only uses
> > 10-13% CPU.
> >
> > Is this normal/expected behavior?
>
> Hi,
>
> Indeed, I can confirm this behaviour when enabling server-side
> keepalive.
So it looks like the simple idle connection manager I did yesterday
is still not perfect :-/
I tried to trigger this case but could not manage to make it fail,
so I considered that was OK.
OK I could reproduce it. I only focused on closed connections
yesterday,
and not the maitained ones :-(
Here's the fix. Thanks guys!
Wicked, it works. :-)
Sander