httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jim Jagielski <>
Subject Re: Status bug FIX ??
Date Fri, 04 Dec 1998 21:13:21 GMT
Dean Gaudet wrote:
> On Fri, 4 Dec 1998, Harrie Hazewinkel wrote:
> > And since we only use the "server_hostname" of the server_rec
> > for "mod_status" I now use the "server_hostname" ptr directly
> > in the scoreboard.
> That, too, breaks across restart.
> Jim committed a fix which works in most cases, but still has a race
> condition.  The race condition is when a child is in the middle of serving
> a status request when a graceful restart happens, it will start reading
> server_rec's from children of the newer generation.

Is that bad, ie: reading server_rec's from the _newer_ generation? At
least it's valid data. I had thought that the only problem was reading
server_rec info from the _previous_ generation, which would be bogus.
I admit that I hadn't considered the former...
   Jim Jagielski   |||   |||
            "That's no ordinary rabbit... that's the most foul,
            cruel and bad-tempered rodent you ever laid eyes on"

View raw message