Commit eabc9cd2 authored by Jeff Trawick's avatar Jeff Trawick
Browse files

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
parent 250d29ac
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;