[prev in list] [next in list] [prev in thread] [next in thread]
List: haproxy
Subject: HAproxy will proctect each backend server?
From: Neat Guo <neatguo () gmail ! com>
Date: 2010-12-22 15:59:31
Message-ID: AANLkTinzc0250kN3=8ukvP4qLh4PjkoNSDAyp48B_ADs () mail ! gmail ! com
[Download RAW message or body]
Hello,
I configured "Listen" section like below:
------------------------------------
global
log 127.0.0.1 local0
maxconn 255350
nbproc 1
chroot /opt/haproxy
uid 99
gid 99
daemon
pidfile /opt/haproxy/run/haproxy.pid
defaults
log 127.0.0.1 local3
mode http
retries 2
maxconn 255350
balance roundrobin
timeout server 50s
timeout client 50s
timeout connect 10s
listen openfire
maxconn 255350
option httpchk OPTIONS /http-bind/ HTTP/1.0
mode tcp
bind :5222
#fullconn 255350
balance roundrobin
timeout server 150s
timeout client 150s
timeout connect 30s
server IM_01_191 192.168.111.191:5222 check port 7070 maxconn
120000
server IM_02_192 192.168.111.192:5222 check port 7070 maxconn 120000
server IM_03_193 192.168.111.193:5222 check port 7070 maxconn
120000
-------------------------------------------------------------
The backend server is the IM Chat Server(openfire).
It's use the persistent TCP mode.
When I use Tsung to stress the HAProxy.
The each server 's [sessions max] will be in scope 26000 ~ 32000.It can't
not increase more high value.
I have modified the system ulimit to 655350.
I dont know why each server's connection can't be increased more?
I used TSung stress the standalone server(not use Haproxy),The active
connections will be 80000 ~ 100000.
Does HAProxy proctect each backend server? The max sessions will below some
value(like 35000?)?
I have no idea.
Please help me!
Thanks a lot!
Sincerely,
Neat Guo
[Attachment #3 (text/html)]
Hello,<div><br>
I configured "Listen" section like below:<br>
------------------------------------<br>
global<br>
log 127.0.0.1 local0<br>
maxconn 255350<br>
nbproc 1<br>
chroot /opt/haproxy<br>
uid 99<br>
gid 99<br>
daemon<br>
pidfile /opt/haproxy/run/haproxy.pid<br>
<br>
defaults<br>
log 127.0.0.1 local3<br>
mode http<br>
retries 2<br>
maxconn 255350<br>
balance roundrobin<br>
timeout server 50s<br>
timeout client 50s<br>
timeout connect 10s<br>
<br>
listen openfire<br>
maxconn 255350<br>
option httpchk OPTIONS /http-bind/ HTTP/1.0<br>
mode tcp<br>
bind :5222<br>
#fullconn 255350<br>
<br>
balance roundrobin<br>
timeout server 150s<br>
timeout client 150s<br>
timeout connect 30s<br>
<br>
server IM_01_191 <a \
href="http://192.168.111.191:5222">192.168.111.191:5222</a> check port 7070 maxconn \
120000<br>
server IM_02_192 <a \
href="http://192.168.111.192:5222">192.168.111.192:5222</a> check port 7070 maxconn \
120000<br>
server IM_03_193 <a \
href="http://192.168.111.193:5222">192.168.111.193:5222</a> check port 7070 maxconn \
120000<br> <br>
-------------------------------------------------------------<br>
<br>
The backend server is the IM Chat Server(openfire).<br>
<br>
It's use the persistent TCP mode.<br>
<br>
When I use Tsung to stress the HAProxy.<br>
<br>
The each server 's [sessions max] will be in scope 26000 ~ 32000.It can't not \
increase more high value.<br> <br>
I have modified the system ulimit to 655350.<br>
<br>
I dont know why each server's connection can't be increased more?<br>
<br>
I used TSung stress the standalone server(not use Haproxy),The active connections \
will be 80000 ~ 100000.<br> <br>
<br>
Does HAProxy proctect each backend server? The max sessions will below some \
value(like 35000?)?<br> <br>
I have no idea.<br>
<br>
Please help me!<br>
<br>
Thanks a lot!<br>
<br>
Sincerely,<br>
Neat Guo<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
</div>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic