Hi all,
I have struggling a haproxy problem.
I have 2 xmpp servers, and try to test it with haproxy using Tsung.
My haproxy.cfg file is below
global
log /dev/log local0 info
log /dev/log local0 notice
#log 127.0.0.1 local0
#log 127.0.0.1 local1 notice
#log loghost local0 info
maxconn 10000
#chroot /usr/share/haproxy
uid 99
gid 99
daemon
#debug
#quiet
defaults
log global
mode http
option httplog
option dontlognull
retries 3
option redispatch
maxconn 10000
contimeout 5000
clitimeout 50000
srvtimeout 50000
listen openfire 127.0.0.1:5222
mode tcp
option tcplog
balance roundrobin
maxconn 10000
server ubuntu1 10.10.10.40:5222 check port 7070 maxconn 5000
server ubuntu2 10.10.10.42:5223 check port 7070 maxconn 5000
But when i send the command below i get this :
[root@network /]# haproxy -vv
HA-Proxy version 1.4.24 2013/06/17
Copyright 2000-2013 Willy Tarreau <[email protected]>
Build options :
TARGET = linux2628
CPU = generic
CC = gcc
CFLAGS = -O2 -g -fno-strict-aliasing
OPTIONS = USE_REGPARM=1 USE_PCRE=1
Default settings :
maxconn = 2000, bufsize = 16384, maxrewrite = 8192, maxpollevents = 200
Encrypted password support via crypt(3): yes
Available polling systems :
sepoll : pref=400, test result OK
epoll : pref=300, test result OK
poll : pref=200, test result OK
select : pref=150, test result OK
Total: 4 (4 usable), will use sepoll.
And Tsung tests cannot pass limit of 2000..
How can i change the value of maxconn, or how can activate the value in
haproxy.cfg
Thanks in advance..