From 303a191fddc448025e73bb8f65520f3d15df1dac Mon Sep 17 00:00:00 2001 From: Jeff Trawick Date: Wed, 30 May 2001 14:14:26 +0000 Subject: [PATCH] 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 --- modules/generators/mod_status.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.47.2