Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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 (http://stackoverflow.com/questions/4360221/haproxy-websocket-disconnection). 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(http://i.stack.imgur.com/keW37.png)

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

1 Answer 1

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: louwrentius.com/… –  rusvdw May 6 at 7:15

Your Answer

 
discard

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.