LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: [lvs-users] problem with ipvsadm display

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: [lvs-users] problem with ipvsadm display
From: Michael Schwartzkopff <misch@xxxxxxxxxxxxxxxxx>
Date: Mon, 4 Jun 2012 16:56:00 +0200
> ???
> Is the value of Conn also in hez???
> I'm  stumped for the difference values for ActiveConn & InactConn on output
> on ipvsadm and 'cat /proc/net/ip_vs'.
> 
> for one: ActiveConn on ipvsadm(0), on 'cat /proc/net/ip_vs'(11807)
> 
> any ideas?

Hi,

as far as I can remember the active connection counter is broken in Debian 
Squezze. I don't know if this is fixed already.

But there a difference in active and inactive connections. ipvs counts a 
connection as active where it did *not* see the FIN bit set (after SYN and 
ACK).

When it saw the first packet with a FIN bit it counts this connection as 
inactive until the timeout. Then the connection is deleted from the state 
table.

So you always have quite a lot of inactive connections hanging around. Please 
tune the timeout if you do not like it.

Greetings,

-- 
Dr. Michael Schwartzkopff
Guardinistr. 63
81375 München

Tel: (0163) 172 50 98
Fax: (089) 620 304 13

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
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>