Hi,
i'm trying to use HAPROXY in front of 3 web servers,and getting weird
results.
So the configuration is as follows(its an aggregation of several sites i ran
into, tested with several variations,though not seeing any result):
global
log 127.0.0.1 local0
log 127.0.0.1 local1 notice
log loghost local0 info
maxconn 25000
#debug
#quiet
user haproxy
group haproxy
defaults
log global
mode http
option httplog
option dontlognull
retries 3
option redispatch
maxconn 25000
timeout connect 5000
timeout client 2000
timeout server 10000
timeout http-request 15000
listen webfarm 192.168.0.7:80
mode http
stats enable
stats auth someuser:somepassword
balance roundrobin
option abortonclose
option forceclose
option httpclose
option forwardfor
maxconn 25000
server webA 192.168.0.2:80
server webB 192.168.0.4:80
server webC 192.168.0.13:80
so i benchmark from another server in the lan with ab .
Benchmarking each server separately never ends up having failed requests
Benchmarking the server with HAProxy and only having 1 server to load
balance never ends up having failed requests
Benchmarking with more than 1 end up with a lot of failures(serving though
the same amount of requests?and failing about an extra half of them)
Is this some misconfiguration on the limits for concurrent requests?
Also the load at server running HAProxy doesnt seem to an issue at all.
Any insight would be really helpful.
Thanks