我在Ubuntu 11.10上使用最新的HAProxy,在那个时候,我有3000个连接(根据HAProxy Stats),基于这个configuration使用( https://stackoverflow.com/questions/4360221/haproxy-websocket-disconnection )。 我不确定HAProxy使用3000个连接消耗多lessCPU是否正常? 另外我不确定红色条(内核线程)对HAProxy意味着什么
重新安装Ubuntu 12.04 64位并重新编译HAProxy后
make TARGET=linux26 ARCH=x86_64 CPU=native USE_STATIC_PCRE=1
一切工作正常,没有更高的CPU使用率