Hi All, HAProxy is using up 100% of (1) CPU on my dual-core server. This had happened to me in the past a couple of times and both were due to how I compiled HAProxy. Pretty sure I have it compiled correctly now though.
Here's the version string with compile flags: $ /usr/local/sbin/haproxy -vv HA-Proxy version 1.3.20 2009/08/09 Copyright 2000-2009 Willy Tarreau <[email protected]> Build options : TARGET = linux26 CPU = i686 CC = gcc CFLAGS = -O2 -march=i686 -g OPTIONS = $ sudo /usr/local/sbin/haproxy -V -f /etc/haproxy/haproxy-test.cfg 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. $ uname -a Linux myserver.mydomain.com 2.6.18-53.1.14.el5 #1 SMP Wed Mar 5 11:36:49 EST 2008 i686 i686 i386 GNU/Linux Host is a PowerEdge 860 with Dual Core Genuine Intel(R) CPU 2160 @ 1.80GHz and 2GB RAM. Session Rate is ~2800 Process shouldn't be working that hard, right? Thanks for any advice. ---Marc
haproxy-www.cfg
Description: Binary data

