httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From grega...@apache.org
Subject cvs commit: httpd-2.0/server/mpm/prefork prefork.c
Date Wed, 23 Oct 2002 21:16:02 GMT
gregames    2002/10/23 14:16:01

  Modified:    server/mpm/prefork prefork.c
  Log:
  fix "long lost child came home!" messages after a graceful restart with
  MaxClients (== ap_daemons_limit) lowered.  This leaves junk at the end of
  the formerly used part of the scoreboard.  If you then decide to raise
  MaxClients via graceful, the junk prevents those scoreboard slots from
  being used.
  
  This should not impact performance because find_child_by_pid stops its
  search when it sees a matching pid.  If we don't have a match, something
  else is busted.
  
  Revision  Changes    Path
  1.272     +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.271
  retrieving revision 1.272
  diff -u -r1.271 -r1.272
  --- prefork.c	17 Jul 2002 21:39:55 -0000	1.271
  +++ prefork.c	23 Oct 2002 21:16:01 -0000	1.272
  @@ -324,7 +324,7 @@
               *result = ap_max_requests_per_child;
               return APR_SUCCESS;
           case AP_MPMQ_MAX_DAEMONS:
  -            *result = ap_daemons_limit;
  +            *result = server_limit;
               return APR_SUCCESS;
       }
       return APR_ENOTIMPL;
  
  
  

Mime
View raw message