LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: [lvs-users] Persistent connections

To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re: [lvs-users] Persistent connections
From: Tracy Reed <treed@xxxxxxxxxxxxxxx>
Date: Sun, 4 Jul 2010 20:56:24 -0700
On Sun, Jul 04, 2010 at 08:17:07PM +0900, Simon Horman spake thusly:
> I wonder if there is just a but in the reporting code.
> Is the result from ipvsadm -Lcn also empty? If so,
> then I'd start to suspect that your connections aren't
> going through the linux-director in question.

The result from ipvsadm -Lcn seems quite full:

IPVS connection entries
pro expire state       source             virtual
destination
TCP 14:56  ESTABLISHED 10.0.2.37:53309    10.0.2.22:3306
10.0.2.12:3306
TCP 02:19  NONE        76.203.211.195:0   10.0.2.41:80
10.0.2.36:80  
TCP 09:57  NONE        216.104.15.138:0   10.0.2.41:80
10.0.2.36:80
TCP 12:55  ESTABLISHED 10.0.2.32:35524    10.0.2.22:3306
10.0.2.12:3306
TCP 17:48  NONE        150.70.84.26:0     10.0.2.41:80
10.0.2.35:80  
TCP 14:51  ESTABLISHED 10.0.2.37:41472    10.0.2.22:3306
10.0.2.12:3306
TCP 07:57  ESTABLISHED 10.0.2.32:39226    10.0.2.22:3306
10.0.2.12:3306
TCP 01:55  FIN_WAIT    10.0.2.32:48318    10.0.2.22:3306
10.0.2.12:3306
TCP 14:57  ESTABLISHED 10.0.2.32:52795    10.0.2.22:3306
10.0.2.12:3306
TCP 14:56  ESTABLISHED 10.0.2.37:54339    10.0.2.22:3306
10.0.2.12:3306
TCP 14:56  ESTABLISHED 10.0.2.37:50277    10.0.2.22:3306
10.0.2.12:3306
TCP 14:57  ESTABLISHED 10.0.2.32:52796    10.0.2.22:3306
10.0.2.12:3306
TCP 12:33  NONE        119.63.198.36:0    10.0.2.41:80
10.0.2.36:80  
TCP 14:56  ESTABLISHED 10.0.2.37:50269    10.0.2.22:3306
10.0.2.12:3306
TCP 38:12  NONE        10.0.2.8:0         10.0.2.62:80
10.0.2.60:80  
TCP 12:16  ESTABLISHED 10.0.2.37:44387    10.0.2.22:3306
10.0.2.12:3306
TCP 01:42  FIN_WAIT    10.0.2.32:48321    10.0.2.22:3306
10.0.2.12:3306
TCP 14:51  ESTABLISHED 10.0.2.37:41471    10.0.2.22:3306
10.0.2.12:3306
TCP 01:13  FIN_WAIT    10.0.2.37:44196    10.0.2.22:3306
10.0.2.12:3306
TCP 14:56  ESTABLISHED 10.0.2.37:50272    10.0.2.22:3306
10.0.2.12:3306
TCP 18:46  NONE        69.160.204.4:0     10.0.2.41:80
10.0.2.36:80  
TCP 07:13  ESTABLISHED 10.0.2.37:37120    10.0.2.22:3306
10.0.2.12:3306
TCP 05:38  NONE        124.115.0.171:0    10.0.2.41:80
10.0.2.36:80  
TCP 01:42  FIN_WAIT    10.0.2.32:48319    10.0.2.22:3306
10.0.2.12:3306
TCP 14:50  ESTABLISHED 10.0.2.37:50299    10.0.2.22:3306
10.0.2.12:3306
TCP 40:43  NONE        71.158.212.227:0   10.0.2.41:80
10.0.2.36:80  
TCP 22:57  NONE        66.196.97.161:0    10.0.2.41:80
10.0.2.36:80

> That isn't really the expected behaviour, unless there is a rather
> long time between connections. The reason being, that the "business"
> is calculated using ActiveConn * 8 + InActConn. So if a real-server
> has recently had a connection, even if it is closed, it will be
> "busier" than a real-server that hasn't had any connections recently.

That makes sense. But it isn't what we are seeing. Strange.

-- 
Tracy Reed
http://tracyreed.org

Attachment: pgpKf0eiePkFt.pgp
Description: PGP signature

_______________________________________________
Please read the documentation before posting - it's available at:
http://www.linuxvirtualserver.org/

LinuxVirtualServer.org mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
or go to http://lists.graemef.net/mailman/listinfo/lvs-users
<Prev in Thread] Current Thread [Next in Thread>