httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nick Kew <>
Subject Re: mod_proxy race condition bug #37770
Date Mon, 12 May 2008 19:31:54 GMT
On Mon, 12 May 2008 13:52:18 -0400
"Adam Woodworth" <> wrote:

> Hi,
> I was wondering if anyone might have some more information on bug
> #37770.  I've added a comment there recently, at the end of the bug
> report, #83.

If this is indeed a race condition biting you, it's possible
you could fix it by setting a sufficiently low ttl value that
the backend's ttl will be guaranteed to outlive it - depending
of course on backend behaviour.  So if the backend has a
15 second ttl, set 10 secs in the proxy, and the remaining
5 secs provide a good buffer against a race condition.

Except that ttl doesn't work exactly as documented.

There's a similar issue with ttl and DBD database connections.

I've just posted on the subject to dev@apr ("apr_reslist
semantics").  This could enable you to configure apache
to avoid this problem without sacrificing backend keepalives

Nick Kew

Application Development with Apache - the Apache Modules Book

View raw message