Delayed removal from server pool
list-linux.ha at spoiled.org
Sun Apr 22 09:13:24 MDT 2001
William Clements <whc2u at leptonics.com> wrote:
> I've noticed the following with ldirectord (http and https
> configurations). ldirectord is setup to use the "negotiate"
> checktype when querying the real server(s). I find that
> if I bring down the real server(s) (or sever their network
> connection) without first bring down the actual service
> being monitered (apache in this case), there is a delay of
> a couple of minutes in ldirectord pulling the affected real
> server(s) out of the avaliable server pool. I've found that
> there is still an open connection between the LVS-ldirectord
> machine and the real server(s) that were just take off line.
> This "connection" is in a SYN_SENT state which apparently takes
> a couple of minutes to timeout. During this time, external
> connections are still being directed by LVS to real server(s)
> that are no longer avaliable.
> Is this expected behavior, if so how can I shorten the timeout
> while not affectiong anything else?
I just had a short look into the man page and maybe "negotiatetimeout" is
what you need:
negotiatetimeout = n
Defines the number of seconds to wait for TCP/IP timeouts. Default is
defined by the operating system. If defined in virtual server section
then the global value is overridden.
For more information you might also ask on the lvs mailing list, see
Juri Haberland <juri at koschikode.com>
More information about the Linux-HA