]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
a worker being cleaned up is not processing a request; filter out such
authorJeff Trawick <trawick@apache.org>
Wed, 30 May 2001 14:14:26 +0000 (14:14 +0000)
committerJeff Trawick <trawick@apache.org>
Wed, 30 May 2001 14:14:26 +0000 (14:14 +0000)
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

index f55cecea96e2803a42baf7c3fa64b8c97f512a9f..f1a689a3f0da442455ef219c30ff60445a542df5 100644 (file)
@@ -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;