LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: [lvs-users] Fwd: InActConn dilemma

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: [lvs-users] Fwd: InActConn dilemma
From: Andre Magri <andremag@xxxxxxxxx>
Date: Sun, 14 Feb 2010 10:16:23 +0100
Hi Graeme,
Our two servers are the exact same Dell Poweredge model with the same cpu's
and same memory modules except for the network cards where one of them is
running in a team.  They are running IIS and I can see from perfmon that one
of them (www1) is getting a high amount of requests where as the other is
quite free.

If I observe connections on both servers (ipvsadm -lcn), connections to www2
are being kept established and therefore further traffic is done through
these already 'active' connections, listed as ESTABLISHED, until they are
timed out. www1 (or LVS, I'm getting confused here) is not keeping these
connections alive and therefore turn into FIN_WAIT state until the 2 minutes
are up.

Which one is behaving incorrectly here - www1 or www2?  This will help me
establish where the problem is.

Thank you once again.

On 14 February 2010 00:51, Graeme Fowler <graeme@xxxxxxxxxxx> wrote:

> On Sat, 2010-02-13 at 20:48 +0100, Andre Magri wrote:
> > Is there a logical reason as to why one of the servers is having so many
> > connections being turned into inactive (FIN_WAIT) so quickly?
>
> You are using the WLC scheduler - the server with the least number of
> *active* connections gets the next new one.
>
> It looks to me like your two servers are different specs, perform
> differently or Apache is configured differently because one of them is
> turning connections over far more quickly than the other.
>
> Because you're using -DR, the director never sees the session completely
> close so holds sessions in "inactive" state until TCP timeout.
>
> I don't believe you have an LVS problem here; you have a problem that
> your two webservers are performing differently. Is on set to use Apache
> KeepAlives, by any chance?
>
> Graeme
>
>
> _______________________________________________
> 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
>
_______________________________________________
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>