Re: cpu 100% at strange times, epoll_wait and gettimeofday gets called too often

2009-03-29 Thread Willy Tarreau
Hi, On Fri, Mar 27, 2009 at 01:09:30PM +0100, Remco Verhoef wrote: Hi, We're experiencing strange behaviour of haproxy-1.3.15.8 and haproxy-1.3.16, at frequent times it will use 100% cpu. It appears that it is wait_time is not used. I've used both poll and epoll, same behaviour. The

cpu 100% at strange times, epoll_wait and gettimeofday gets called too often

2009-03-27 Thread Remco Verhoef
Hi, We're experiencing strange behaviour of haproxy-1.3.15.8 and haproxy-1.3.16, at frequent times it will use 100% cpu. It appears that it is wait_time is not used. I've used both poll and epoll, same behaviour. The kernel is 2.6.26-1-686 #1 SMP. The box is used, but not using many