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/server/mpm/threaded threaded.c
Date Mon, 12 Nov 2001 17:59:28 GMT
trawick     01/11/12 09:59:28

  Modified:    .        CHANGES
               server/mpm/threaded threaded.c
  Log:
  threaded: Fix the resetting of MaxClients when it isn't a multiple
  of the number of threads per process.
  
  Revision  Changes    Path
  1.432     +4 -4      httpd-2.0/CHANGES
  
  Index: CHANGES
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/CHANGES,v
  retrieving revision 1.431
  retrieving revision 1.432
  diff -u -r1.431 -r1.432
  --- CHANGES	2001/11/12 17:50:58	1.431
  +++ CHANGES	2001/11/12 17:59:28	1.432
  @@ -1,9 +1,9 @@
   Changes with Apache 2.0.29-dev
   
  -  *) Really reset the MaxClients value in worker when the
  -     configured value is not a multiple of the number of threads
  -     per child.  We said we did previously but we forgot to.
  -     [Jeff Trawick]
  +  *) Really reset the MaxClients value in worker and threaded
  +     when the configured value is not a multiple of the number 
  +     of threads per child.  We said we did previously but we 
  +     forgot to. [Jeff Trawick]
   
     *) Add Debian layout.  [Daniel Stone <daniel@sfarc.net>]
   
  
  
  
  1.69      +1 -0      httpd-2.0/server/mpm/threaded/threaded.c
  
  Index: threaded.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/server/mpm/threaded/threaded.c,v
  retrieving revision 1.68
  retrieving revision 1.69
  diff -u -r1.68 -r1.69
  --- threaded.c	2001/11/10 18:26:29	1.68
  +++ threaded.c	2001/11/12 17:59:28	1.69
  @@ -1523,6 +1523,7 @@
          ap_log_error(APLOG_MARK, APLOG_STARTUP | APLOG_NOERRNO, 0, NULL,
                       " for a maximum of %d child processes,",
                       ap_daemons_limit);
  +       max_clients = ap_daemons_limit * ap_threads_per_child;
       }
       if (ap_daemons_limit > HARD_SERVER_LIMIT) {
          ap_log_error(APLOG_MARK, APLOG_STARTUP | APLOG_NOERRNO, 0, NULL,
  
  
  

Mime
View raw message