Hello list !
I'm balancing base on the /*source*/ IP and I'm wandering if the maxconn parameters take effect in that mode ?
I just look at my stats page and I see that some server "rdpfarm,RDP-6" got 63 session while my max is at 25 !
What can i do to limit the sessions to 25 ?
Thanks
Technicals details of this setup.
haproxy version 1.3.14.3-1 on ubuntu server
haproxy.conf
global log 127.0.0.1 local0 debug stats socket /var/run/haproxy-socket-stats maxconn 4096 user haproxy group haproxy defaults log global option tcplog retries 3 maxconn 200 contimeout 5000 clitimeout 14400000 srvtimeout 14400000
...
listen rdpfarm :3389
mode tcp balance source # keep alive vers client et le serveur option tcpka server RDP-1 192.168.1.8 check port 3300 maxconn 25 server RDP-1 192.168.1.8 check port 3389 backup maxconn 25 server RDP-2 192.168.1.9 check port 3300 maxconn 25 server RDP-2 192.168.1.9 check port 3389 backup maxconn 25 server RDP-3 192.168.1.10 check port 3300 maxconn 25 server RDP-3 192.168.1.10 check port 3389 backup maxconn 25 server RDP-4 192.168.1.11 check port 3300 maxconn 25 server RDP-4 192.168.1.11 check port 3389 backup maxconn 25 server RDP-5 192.168.1.18 check port 3300 maxconn 25 server RDP-5 192.168.1.18 check port 3389 backup maxconn 25 server RDP-6 192.168.1.19 check port 3300 maxconn 25 server RDP-6 192.168.1.19 check port 3389 backup maxconn 25....
stats info
echo "show stat" | socat unix-connect:/var/run/haproxy-socket-stats
stdio
#
pxname,svname,qcur,qmax,scur,smax,slim,stot,bin,bout,dreq,dresp,ereq,econ,eresp,wretr,wredis,status,weight,act,bck,chkfail,chkdown,lastchg,downtime,qlimit,pid,iid,sid,throttle,lbtot,
rdpfarm,FRONTEND,,,22,52,200,220,10027797,74986951,0,0,0,,,,,OPEN,,,,,,,,,1,2,0,,,
rdpfarm,RDP-1,0,0,3,9,25,27,1804106,11285858,,0,,0,23,0,,UP,1,1,0,0,0,10352,0,,1,2,1,,27,
rdpfarm,RDP-1,0,0,0,0,25,0,0,0,,0,,0,0,0,,UP,1,0,1,0,0,10352,0,,1,2,2,,0,
rdpfarm,RDP-2,0,0,1,3,25,15,189809,2506853,,0,,0,13,0,,UP,1,1,0,0,0,10352,0,,1,2,3,,15,
rdpfarm,RDP-2,0,0,0,0,25,0,0,0,,0,,0,0,0,,UP,1,0,1,0,0,10352,0,,1,2,4,,0,
rdpfarm,RDP-3,0,0,1,10,25,36,2918859,20265876,,0,,0,35,0,,UP,1,1,0,0,0,10352,0,,1,2,5,,36,
rdpfarm,RDP-3,0,0,0,0,25,0,0,0,,0,,0,0,0,,UP,1,0,1,0,0,10352,0,,1,2,6,,0,
rdpfarm,RDP-4,0,0,5,9,25,25,711045,7238983,,0,,0,20,0,,UP,1,1,0,0,0,10352,0,,1,2,7,,25,
rdpfarm,RDP-4,0,0,0,0,25,0,0,0,,0,,0,0,0,,UP,1,0,1,0,0,10352,0,,1,2,8,,0,
rdpfarm,RDP-5,0,0,4,11,25,54,2356686,17381601,,0,,0,50,0,,UP,1,1,0,0,0,10352,0,,1,2,9,,54,
rdpfarm,RDP-5,0,0,0,0,25,0,0,0,,0,,0,0,0,,UP,1,0,1,0,0,10352,0,,1,2,10,,0,
rdpfarm,RDP-6,0,0,8,13,25,63,2047292,16307780,,0,,0,55,0,,UP,1,1,0,0,0,10352,0,,1,2,11,,63,
rdpfarm,RDP-6,0,0,0,0,25,0,0,0,,0,,0,0,0,,UP,1,0,1,0,0,10352,0,,1,2,12,,0,
rdpfarm,BACKEND,0,0,22,52,200,220,10027797,74986951,0,0,,0,196,0,0,UP,6,6,6,,0,10352,0,,1,2,0,,220,
-- Guillaume Bourque, B.Sc., consultant, infrastructures technologiques libres ! 514 576-7638Received on 2009/09/01 20:29
This archive was generated by hypermail 2.2.0 : 2009/09/01 20:45 CEST