Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am using the latest HAProxy on Ubuntu 11.10 and at that moment, I had 3000 connections (according to HAProxy Stats), the configuration is used based on this ( I am not sure if it is normal for HAProxy to consume that much CPU with 3000 connections? Also I am not sure what the red bar (Kernel threads) means to HAProxy

Ps: I am unable to post image, please view it here(

share|improve this question
not a virtual machine? – JamesRyan Jul 24 '12 at 13:04
I am using Linode – laoshanlung Jul 24 '12 at 13:33
CPU usage stats are not accurate within a VM because it will take more or less CPU time based on how busy it or other machines are. – JamesRyan Jul 24 '12 at 14:12
up vote 2 down vote accepted

After I re-install Ubuntu 12.04 64bit and recompile HAProxy

make TARGET=linux26 ARCH=x86_64 CPU=native USE_STATIC_PCRE=1

Everything works fine, no more high CPU usage

share|improve this answer
This page has some more info on the options:… – rusvdw May 6 '14 at 7:15

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.