From: Jeff Trawick Date: Wed, 30 May 2001 14:14:26 +0000 (+0000) Subject: a worker being cleaned up is not processing a request; filter out such X-Git-Tag: 2.0.19~160 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=303a191fddc448025e73bb8f65520f3d15df1dac;p=thirdparty%2Fapache%2Fhttpd.git a worker being cleaned up is not processing a request; filter out such workers when counting the number of requests being processed we won't count such workers as idle either, since they aren't available to process new requests git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89248 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/generators/mod_status.c b/modules/generators/mod_status.c index f55cecea96e..f1a689a3f0d 100644 --- a/modules/generators/mod_status.c +++ b/modules/generators/mod_status.c @@ -324,7 +324,7 @@ static int status_handler(request_rec *r) pid_buffer[indx] = ps_record.pid; if (res == SERVER_READY) ready++; - else if (res != SERVER_DEAD) + else if (res != SERVER_DEAD && res != SERVER_IDLE_KILL) busy++; if (ap_extended_status) { lres = ws_record.access_count;