httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jor...@apache.org
Subject cvs commit: httpd-2.0/server/mpm/prefork prefork.c
Date Wed, 22 Oct 2003 11:38:46 GMT
jorton      2003/10/22 04:38:46

  Modified:    server/mpm/prefork prefork.c
  Log:
  Prevent slow graceful restarts on some platforms:
  
  * prefork.c (ap_mpm_run): Only make as many dummy connections as slots
  used, not as many as slots are available.
  
  Revision  Changes    Path
  1.280     +1 -1      httpd-2.0/server/mpm/prefork/prefork.c
  
  Index: prefork.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/server/mpm/prefork/prefork.c,v
  retrieving revision 1.279
  retrieving revision 1.280
  diff -u -u -r1.279 -r1.280
  --- prefork.c	27 Aug 2003 22:33:11 -0000	1.279
  +++ prefork.c	22 Oct 2003 11:38:46 -0000	1.280
  @@ -1123,7 +1123,7 @@
   		    "Graceful restart requested, doing restart");
   
   	/* kill off the idle ones */
  -        ap_mpm_pod_killpg(pod, ap_daemons_limit);
  +        ap_mpm_pod_killpg(pod, ap_max_daemons_limit);
   
   	/* This is mostly for debugging... so that we know what is still
   	    * gracefully dealing with existing request.  This will break
  
  
  

Mime
View raw message