On , 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.
Any information to help reproduce it is welcome, of course!
Well, if you still have my config you can replace all http-server-close
stuff with http-keep-alive and remove the httpclose options which were
accidentally in there. It happens as soon as I start haproxy so I don't
know what triggers it.
Greets,
Sander