HAProxy community

Performance issue Haproxy18


I am setting up a new haproxy server and am getting unusually slow performance compared to a single server solution.

I use Haproxy18 in front of httpd2.2.

My conf:


chroot      /var/opt/rh/rh-haproxy18/lib/haproxy
pidfile     /var/run/rh-haproxy18-haproxy.pid
user                haproxy
group               haproxy

stats socket /var/opt/rh/rh-haproxy18/lib/haproxy/stats mode 666 level user

mode tcp
log global
option dontlognull

maxconn                 2000
timeout connect         5000
timeout client          10000
timeout server          10000

frontend prodAnciennehttps
bind *:443
mode tcp
default_backend prdhttps

frontend prodAnciennehttp
bind *:80
mode tcp
default_backend prdhttp

backend prdhttps
mode tcp
balance roundrobin
server app1 maxconn 200

backend prdhttp
mode tcp
balance roundrobin
server app1 maxconn 200

listen stats # Define a listen section called “stats”
bind :9000 # Listen on localhost:9000
mode http
stats enable # Enable stats page
stats hide-version # Hide HAProxy version
stats realm Haproxy\ Statistics # Title text for popup window
stats uri /haproxy_stats # Stats URI
stats auth Username:Password # Authentication credentials

My load average is 140 sessions max.

Thanks a lot.