LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: Announce ldirectord version 1.16

To: Pablo Alsina <palsina@xxxxxxxxxxx>
Subject: Re: Announce ldirectord version 1.16
Cc: Juri Haberland <juri.haberland@xxxxxxxxxxxxx>, "Rief, Jacob" <Jacob.Rief@xxxxxxxxxxxx>, Linux Virtual Server <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
From: Horms <horms@xxxxxxxxxxxx>
Date: Tue, 1 Aug 2000 14:52:30 -0700
On Tue, Aug 01, 2000 at 06:07:45PM +0300, Pablo Alsina wrote:
> 
> On Tue, 1 Aug 2000, Juri Haberland wrote:
> > And another thing: If a real server crashes ldirectord needs a long time
> > to discover that this server isn't responding. I assume it is due to the
> > timeout of the read request. Maybe a ping prior to the read request
> > would solve this problem...
> 
> Hi!
>       During some tests I did with LVS, I found that ldirectord needed a
> lots of seconds to detect a failed webserver if the whole server was
> disconnected from the net. I think such delays are normal if you use some
> kind of TCP probe to check if the server is alive.
> 
>       At those tests, I modified ldirectord to issue a Ping to each
> server to check if it is alive (using Net::Ping I think). If the server
> responds to the ping, ldirectord continues with its tests. If the ping
> fails, the server is declared dead. Using this modification I could reduce
> the time it takes to do the probes down to 3 secs.

I would be happy to accept a patch to do this.

-- 
Horms


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