LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: [lvs-users] Ghost connections

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: [lvs-users] Ghost connections
From: Simon Horman <horms@xxxxxxxxxxxx>
Date: Wed, 30 Sep 2009 00:44:14 +1000
On Tue, Sep 29, 2009 at 07:48:55AM -0600, James Devine wrote:
> The connections are all in an established state on the load balancer,
> I am doing netstat -an on the actual destination real server, which
> does not show any connections from the real source ip.  I am using
> persistent connections, which do show an expiration on the
> connections.  Is the persistent setting why they are not clearing?

No, I don't think so.

Activating persistence means that persistence templates will be created for
each client that connects. These can be identified as entries in the
connection table with 0 as the source port.  However these entries should
be in the NONE state, so they shouldn't causing the behaviour that you are
observing.

> Some IPs show >300 established connections when the realserver shows
> none.

That does sound somewhat curious. Is that >300 established connections
from a single end-user?

I would tend to suspect that actually are being terminated somewhere
other than the real-server you are checking.


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