httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@hyperreal.org
Subject cvs commit: apache-apr/pthreads/src/main http_main.c
Date Thu, 20 May 1999 04:33:34 GMT
manoj       99/05/19 21:33:33

  Modified:    pthreads/src/main http_main.c
  Log:
  Bug fix. Make sure that perform_idle_server_maintanence runs through
  whole scoreboard.
  
  Revision  Changes    Path
  1.80      +2 -2      apache-apr/pthreads/src/main/http_main.c
  
  Index: http_main.c
  ===================================================================
  RCS file: /home/cvs/apache-apr/pthreads/src/main/http_main.c,v
  retrieving revision 1.79
  retrieving revision 1.80
  diff -u -u -r1.79 -r1.80
  --- http_main.c	1999/04/29 20:09:44	1.79
  +++ http_main.c	1999/05/20 04:33:32	1.80
  @@ -2145,11 +2145,10 @@
   	    ++free_length;
   	}
   	if (!all_dead_threads) {
  -	    max_daemons_limit = i + 1;
  +            last_non_dead = i;
   	}
           if (!any_dying_threads) {
               ++total_non_dead;
  -            last_non_dead = i;
       
               if (idle_thread_count > ap_idle_thread_threshold) {
                   idle_count++;
  @@ -2157,6 +2156,7 @@
               }
           }
       }
  +    max_daemons_limit = last_non_dead + 1;
       if (idle_count > ap_daemons_max_free) {
           /* kill off one child... we use SIGWINCH because that'll cause it to
   	 * shut down gracefully, in case it happened to pick up a request
  
  
  

Mime
View raw message