Hi,

> Hey, 
> I had asked earlier about fixing problems with 504 errors by increasing  
> timeouts, which helped a great deal. The problem is CPU usage is up to  
> as high as 100% very frequently, which is worrying me.

Haproxy (userspace) or system (kernel)? Does haproxy stop responding to
requests or is it still forwarding traffic?

There are some important fixes in 1.4.25, I would suggest an upgrade
although there is no guarantee that it will fix the problem.



> timeout connect 120ms

The suggestion is to configure slightly more than 3 seconds for this.



>      option abortonclose 
>      no option forceclose 
>      option http-no-delay 
>      option nolinger 

Do you really need those? This are some very specific parameters that
are usually not required.

What I would like to say is: there is a reason they are not configured
this way by default, are you fully aware of the consequences of those
parameters?

If one of the parameters triggers somehow a bug, it needs to be fixed,
but a sub-optimal configuration can easily lead to increased load.



Regards,

Lukas


                                          

Reply via email to