Re: [lvs-users] LVS and stale connections

To: " users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: [lvs-users] LVS and stale connections
From: Joseph Mack NA3T <jmack@xxxxxxxx>
Date: Tue, 31 Mar 2009 07:04:41 -0700 (PDT)
On Tue, 31 Mar 2009, Fabio Coatti wrote:

> Basically, the scenario is the following: 5 servers (RIP), 
> balanced with ipvs on linux 2.6.23, DR is used. All works 
> just fine, but if for some reasons the real servers 
> freezes and need reboot, ipvs keeps as "alive" all the 
> connections so the balancing is not correctly done.

ipvs has no way of knowing that a machine has been rebooted, 
so this is the expected behaviour. Health checking is all 
external to ipvs. Since in LVS-DR the director doesn't see 
the returning packets, it has to guess when connections 
expire, and you've set a long timeout.


o use the -SH scheduler to direct clients to the same 
database server and return the timeouts to the default 

o use one of the ioctls that Horms wrote to handle crashed 
realservers when ipvs is using persistence. These clear out 
the connection table


Joseph Mack NA3T EME(B,D), FM05lw North Carolina
jmack (at) wm7d (dot) net - azimuthal equidistant map
generator at
Homepage It's GNU/Linux!

Please read the documentation before posting - it's available at: mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
or go to

<Prev in Thread] Current Thread [Next in Thread>