Hi Mark,
> Hi list...
>
> I've noticed that the HAProxy processes occasionally jump to 100% cpu
> load, while the load before and after these peaks is only 3-5%, and the
> traffic is also the same as outside of these cpu-peaks.
>
> I saw a thread about this earlier (april/may), which concluded that
> there was a bug, which was fixed in 1.5-dev19. Since we were running
> dev18 and also experiencing this issue, we upgraded to dev19.
>
> However, on dev19 I'm also seeing these cpu-load peaks surface a few
> times per day.
>
> As a precaution, we have configured nbproc to 7 currently, (8-cores in
> these boxes).
>
> I've been able to get some straces on the processes eating 100%, but
> usually they drop back to 4% after I start the strace.
>
> I did see large amounts of sequential epoll_wait calls in the processes
> with 100% cpu load, and not with the other processes.
>
> epoll_wait(0, {}, 200, 0) = 0
> (repeated 10-15 times)
A few questions:
Can you reproduce this without the health checks?
Do you have the possibility to run without nbproc?
How often do you see the cpu-peak and how long exactly does it take
to come back to your normal load?
Regards,
Lukas