Hey list,
I am having a strange issue with my latest implementation of HAproxy. I
have 2 openAM servers (tomcat) behind my haproxy box running version 1.4.20
on Ubuntu 10 X_86, all properly configured to be behind a load balancer. I
used Jmeter to test the openAM servers individually and both give
consistent results of ~1600-1800 req/sec, however, when I run the same
exact test through the HAproxy I can barely get 100 req/sec! This setup in
theory should allow me to double my throughput.
Note: This is a pretty decent server, 4gb of ram and 4 procs with nothing
else other than HAproxy running.
My relevant HAproxy config bellow:
#---------------------------------------------------------------------
# Global settings Main
#---------------------------------------------------------------------
global
log 127.0.0.1 local0 info
pidfile /var/run/haproxy.pid
# stats socket /var/run/haproxy.stat mode 666
maxconn 65000
user haproxy
group haproxy
daemon
defaults
mode http
log global
option dontlognull
option httplog
option httpclose
option http-server-close
option forwardfor except 127.0.0.0/8
option redispatch
stats enable
stats uri /st
timeout connect 5000 # default 5 second time out if a backend is not
found
timeout client 300s
timeout server 300s
#timeout http-request 10s
#timeout queue 1m
#timeout http-keep-alive 10s
timeout check 5s
maxconn 65000
retries 3
frontend sso *:8080
default_backend sso
acl sso1 hdr_dom(Host) -i auth.mydomain.lan
use_backend sso if sso1
backend sso
mode http
stats enable
option httpclose
cookie SERVERID insert nocache
#appsession amlbcookie len 20 timeout 3h request-learn
option httpchk HEAD /opensso/isAlive.jsp HTTP/1.0
balance roundrobin
server openam 10.1.1.5:8080 cookie 01 id 1001 check weight 100
server openam2 10.1.1.6:8080 cookie 02 id 1002 check weight 100
Thank you in advance for any assistance in this matter.