httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From traw...@apache.org
Subject cvs commit: httpd-2.0/modules/generators mod_status.c
Date Wed, 30 May 2001 14:14:29 GMT
trawick     01/05/30 07:14:28

  Modified:    modules/generators mod_status.c
  Log:
  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
  
  Revision  Changes    Path
  1.38      +1 -1      httpd-2.0/modules/generators/mod_status.c
  
  Index: mod_status.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/generators/mod_status.c,v
  retrieving revision 1.37
  retrieving revision 1.38
  diff -u -r1.37 -r1.38
  --- mod_status.c	2001/05/15 02:38:11	1.37
  +++ mod_status.c	2001/05/30 14:14:26	1.38
  @@ -324,7 +324,7 @@
   	    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;
  
  
  

Mime
View raw message