LVS session limit

Hi all,
I’ve two node in cluster with pacemaker, SLES 11 SP3.
The connection towards these nodes are managed from LVS.

I found that from the same client I can open not more than 4 session. I check on LVS configuration but there is any rules about max-connection.
I check also iptables without any specific roules.

Could you suggest me which kind of troubleshooting/check I can follow?

Many thanks,
Ste

Stefanik74 Wrote in message:
[color=blue]

I’ve two node in cluster with pacemaker, SLES 11 SP3.
The connection towards these nodes are managed from LVS.

I found that from the same client I can open not more than 4 session. I
check on LVS configuration but there is any rules about max-connection.
I check also iptables without any specific roules.

Could you suggest me which kind of troubleshooting/check I can follow?[/color]

If you’re using LVS what does “ipvsadm --thresholds” report?

HTH.

Simon
SUSE Knowledge Partner

----Android NewsGroup Reader----
http://www.piaohong.tk/newsgroup

Sorry if this is obvious to everybody else, but what is LVS? I’m guessing
Linux Virtual Server since Google found that first, but then I do not know
which package provides this, or what multiple connections from one client
to a specific server would give you over a single connection, etc.


Good luck.

If you find this post helpful and are logged into the web interface,
show your appreciation and click on the star below…

[QUOTE=smflood;19633]Stefanik74 Wrote in message:
[color=blue]

I’ve two node in cluster with pacemaker, SLES 11 SP3.
The connection towards these nodes are managed from LVS.

I found that from the same client I can open not more than 4 session. I
check on LVS configuration but there is any rules about max-connection.
I check also iptables without any specific roules.

Could you suggest me which kind of troubleshooting/check I can follow?[/color]

If you’re using LVS what does “ipvsadm --thresholds” report?

HTH.

Simon
SUSE Knowledge Partner

----Android NewsGroup Reader----
http://www.piaohong.tk/newsgroup[/QUOTE]

I don’t know the reason, but it seems doesn’t get the parameter:

ipvsadm --thresholds
Try `ipvsadm -h’ or ‘ipvsadm --help’ for more information.

[QUOTE=ab;19634]Sorry if this is obvious to everybody else, but what is LVS? I’m guessing
Linux Virtual Server since Google found that first, but then I do not know
which package provides this, or what multiple connections from one client
to a specific server would give you over a single connection, etc.


Good luck.

If you find this post helpful and are logged into the web interface,
show your appreciation and click on the star below…[/QUOTE]

LVS is a software-balancer for Linux.
It give rules for the connections in a system, for example of two nodes as mine.

In my case I use it for load-balancing.

On 03/03/2014 07:24, Stefanik74 wrote:
[color=blue]

I don’t know the reason, but it seems doesn’t get the parameter:

ipvsadm --thresholds
Try `ipvsadm -h’ or ‘ipvsadm --help’ for more information.
-[/color]

Sorry my bad, forgot the -l parameter. What, if anything, does “ipvsadm
-l --thresholds” report?

HTH.

Simon
SUSE Knowledge Partner


If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below. Thanks.

Hi ab,

[QUOTE]myserver:~ # zypper se -s ipvsadm
Loading repository data…
Reading installed packages…

S | Name | Type | Version | Arch | Repository
–±--------±-----------±---------------±-------±--------------------------------------------------------
i | ipvsadm | package | 1.26-5.9.1 | x86_64 | SLE11-HAE-SP3-Pool
v | ipvsadm | package | 1.24-297.30.21 | x86_64 | SUSE Linux Enterprise High Availability Extension 11 SP1[/QUOTE]

Yes, it’s for Linux virtual server, which is load-balancing support. I’d assume that the original question is that no more than 4 client requests get load-balanced to the servers in parallel. Even multiple sessions from a single server ought to be balanced, resulting from i.e. parallel loading of page elements (images) by the browser. Those would result in parallel TCP sessions and depending on the LB algorithm, may be forwarded to the same server.

Regards,
Jens

[QUOTE=smflood;19641]On 03/03/2014 07:24, Stefanik74 wrote:
[color=blue]

I don’t know the reason, but it seems doesn’t get the parameter:

ipvsadm --thresholds
Try `ipvsadm -h’ or ‘ipvsadm --help’ for more information.
-[/color]

Sorry my bad, forgot the -l parameter. What, if anything, does “ipvsadm
-l --thresholds” report?

HTH.

Simon
SUSE Knowledge Partner


If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below. Thanks.
------------------------------------------------------------------------[/QUOTE]

Thanks.
Here the output:

mysysnd1:~ # ipvsadm -l --thresholds
IP Virtual Server version 1.2.1 (size=4096)
Prot LocalAddress:Port Uthreshold Lthreshold ActiveConn InActConn
→ RemoteAddress:Port
TCP mysystr_sa:gw wlc
→ mysysnd1tr:gw 0 0 0 0
→ mysysnd2tr:gw 0 0 0 0
TCP mysystr_sa:stm-pproc wlc persistent 600
→ mysysnd1tr:stm-pproc 0 0 0 0
→ mysysnd2tr:stm-pproc 0 0 0 0
TCP mysystr_sa:3300 wlc
→ mysysnd1tr:3300 0 0 1 0
→ mysysnd2tr:3300 0 0 0 3
TCP mysystr_sa:3301 wlc
→ mysysnd1tr:3301 0 0 0 0
→ mysysnd2tr:3301 0 0 0 0
TCP mysystr_sa:8988 wlc
→ mysysnd1tr:8988 0 0 0 0
→ mysysnd2tr:8988 0 0 0 0
TCP mysystr_sa:8998 wlc
→ mysysnd1tr:8998 0 0 0 0
→ mysysnd2tr:8998 0 0 0 0
TCP mysystr_sa:bctp wlc
→ mysysnd1tr:bctp 0 0 0 0
→ mysysnd2tr:bctp 0 0 0 1