httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Trawick <>
Subject Re: plz vote on tagging current CVS as APACHE_2_0_19
Date Tue, 26 Jun 2001 22:05:47 GMT
"Bill Stoddard" <> writes:

> > A few other benefits to Pauls design:
> > 1. Eliminates the requirement for compiled in HARD_SERVER_LIMIT or HARD_THREAD_LIMIT.
> I retract this statement. You -can- get rid of HARD_*_LIMIT iff you don;t mind mod_status
> missing some thread status from time to time (which I doubt is acceptable). Consider
> case where the admin increases either thread or server limit then does a restart.  The
> scoreboard MUST grow.  And the growth will -not- be visible to the old (before the
> restart) processes.  If a mod_status request comes in and is handled by one of the old
> processes, it cannot report status of any of the threads that are writing status to the
> extended (new) portion of the scoreboard.  I just don't see any way around this.

So if the last request processed by a worker in the old generation
is mod_status then it won't show status on the new generation.  So
what?  There is a timing window inherent in graceful restart for what
status can be displayed anyway (or what configuration is used in
general for that matter).  Whether or not the new generation is
displayed *properly* is dependent upon when the request arrives
regardless of the scoreboard design.  Having the request arrive
milliseconds later or earlier can show a different set of workers;
again, this is regardless of the scoreboard design.

Jeff Trawick | | PGP public key at web site:
             Born in Roswell... married an alien...

View raw message