On 08/13/2009 06:50 PM, Bela Ban wrote:
jean-frederic clere wrote:
>> I think what should happen is
>> - httpd periodically tests the connection to worker W
> Via cping/cpong but only if the worker is not active (no
requests for
> a while).
How do we configure this ? I know how to do it in mod_jk, but haven't
found the equivalent config in mod-cluster !
Right wee don't have that in mod_cluster.
>> - httpd detects connection loss to W
>> - httpd removes W from its worker tables, so requests are not dispatched
>> to W
> As soon as the worker W is marked in error the request are
not
> forwarded to it. (That is already the since the very first beta of
> mod_cluster).
> So removing would be removing a node, virtualhosts and contexts.
Yes. But when this happens in mod-cluster, e.g. by killing -9 a node, it
takes almost a minute to fail over. Which config governs this timeout ?
Must be in httpd and probably with a default value being n time the
cping/cpong timeout.
How do I do this ? Help please ? URGENT !!! LOL :-)
I can't make it for 1.0.2 :-).
All the logic pieces are in the httpd code part, but it always tricky in
httpd to send and receive outside a real response/request. Open a JIRA
for 1.1.x.
Cheers
Jean-Frederic