it is necessary to check for the generation as well as "quiescing", in the
case of a restart where no workers have seen the PoD yet.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89821
13f79535-47bb-0310-9956-
ffa450edef68
Changes with Apache 2.0.23-dev
+
+ *) More stall fixes for the threaded & worker mpm's.
+ Make mod_status output more accurate. Don't
+ count workers in processes which aren't actively
+ serving requests. [Greg Ames]
+
*) Win32: Get SSI exec cgi tag working. [Bill Stoddard]
*) Add a single listener/multiple worker MPM. This MPM is
ps_record = ap_scoreboard_image->parent[i];
res = ws_record.status;
stat_buffer[indx] = status_flags[res];
- if (!ps_record.quiescing && ps_record.pid) {
+ if (!ps_record.quiescing &&
+ ps_record.generation == ap_my_generation &&
+ ps_record.pid) {
if (res == SERVER_READY)
ready++;
else if (res != SERVER_DEAD && res != SERVER_IDLE_KILL)
*/
if (status <= SERVER_READY && status != SERVER_DEAD &&
!ps->quiescing &&
+ ps->generation == ap_my_generation &&
/* XXX the following shouldn't be necessary if we clean up
* properly after seg faults, but we're not yet GLA
*/
*/
if (status <= SERVER_READY && status != SERVER_DEAD &&
!ps->quiescing &&
+ ps->generation == ap_my_generation &&
/* XXX the following shouldn't be necessary if we clean up
* properly after seg faults, but we're not yet GLA
*/