Hi, I'm experiencing high cpu (99,9%) usage in peaks of 5-10 seconds every minute or so (probably while testing servers for availability).
uname -a Linux haproxy 2.6.18-5-486 #1 Mon Dec 24 16:04:42 UTC 2007 i686 GNU/Linux I have installed version 1.3.16 using make TARGET=linux26 USE_STATIC_PCRE=1 (I've also tried without static pcre) when running a dummy cfg with -vv gives Build options : TARGET = linux26 CPU = generic CC = gcc CFLAGS = -O2 -g OPTIONS = USE_STATIC_PCRE=1 and with -V: Available polling systems : sepoll : pref=400, test result OK epoll : pref=300, test result OK poll : pref=200, test result OK select : pref=150, test result OK Total: 4 (4 usable), will use sepoll. Using sepoll() as the polling mechanism. This is my config: ---------------------------- global log 127.0.0.1 local0 notice maxconn 4096 user haproxy group haproxy daemon defaults log global mode http option httplog option dontlognull retries 3 option redispatch timeout check 10s timeout client 30s timeout server 30s timeout connect 5s stats enable stats auth admin:xxx stats uri /haproxystats stats realm Haproxy\ Stat stats refresh 5s listen webfarm1 10.0.0.62:80 mode http balance source cookie JSESSIONID insert nocache option httpclose option forwardfor option httpchk HEAD / HTTP/1.0 server server1 10.0.0.51:80 cookie server1 check server server2 10.0.0.52:80 cookie server2 check maxconn 2048 listen webfarm2 10.0.0.50:80 mode http balance source cookie JSESSIONID insert nocache option httpclose option forwardfor option httpchk HEAD / HTTP/1.0 server server3 10.0.0.53:80 cookie server3 check server server4 10.0.0.54:80 cookie server4 check server server5 10.0.0.55:80 cookie server5 check server server6 10.0.0.56:80 cookie server6 check server server7 10.0.0.57:80 cookie server7 check server server8 10.0.0.58:80 cookie server8 check server server9 10.0.0.59:80 cookie server9 check server server10 10.0.0.40:80 cookie server10 weight 4 check server server11 10.0.0.41:80 cookie server11 weight 4 check server server12 10.0.0.42:80 cookie server12 weight 4 check maxconn 2048 ---------------------------- With the old version (1.3.15.7) I had no problems regarding cpu. Could anybody direct me to something that needs to be changed in my setup or config? Currently 8 servers are down to save power (web service has been stopped on them), could this be a problem? Thanks and best regards, Sune Rievers