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/docs/conf highperformance-std.conf httpd-std.conf
Date Thu, 22 Feb 2001 18:54:52 GMT
trawick     01/02/22 10:54:51

  Modified:    server/mpm/threaded mpm_default.h
               docs/conf highperformance-std.conf httpd-std.conf
  Log:
  Back down the default number of initial threads created with
  the threaded Unix MPM.  Tweak the sample configuration files to
  reflect the default settings.
  
  Revision  Changes    Path
  1.2       +3 -3      httpd-2.0/server/mpm/threaded/mpm_default.h
  
  Index: mpm_default.h
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/server/mpm/threaded/mpm_default.h,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- mpm_default.h	2001/02/16 19:00:24	1.1
  +++ mpm_default.h	2001/02/22 18:54:45	1.2
  @@ -66,7 +66,7 @@
    * this free when the caretaker checks, it will spawn more.
    */
   #ifndef DEFAULT_START_DAEMON
  -#define DEFAULT_START_DAEMON 5
  +#define DEFAULT_START_DAEMON 3
   #endif
   
   /* Maximum number of *free* server processes --- more than this, and
  @@ -80,7 +80,7 @@
   /* Minimum --- fewer than this, and more will be created */
   
   #ifndef DEFAULT_MIN_FREE_DAEMON
  -#define DEFAULT_MIN_FREE_DAEMON 5
  +#define DEFAULT_MIN_FREE_DAEMON 3
   #endif
   
   /* Limit on the total --- clients will be locked out if more servers than
  @@ -119,7 +119,7 @@
   #define DEFAULT_THREADS_PER_CHILD 1
   #endif
   #ifndef DEFAULT_THREADS_PER_CHILD
  -#define DEFAULT_THREADS_PER_CHILD 50
  +#define DEFAULT_THREADS_PER_CHILD 25
   #endif
   
   /* File used for accept locking, when we use a file */
  
  
  
  1.4       +2 -2      httpd-2.0/docs/conf/highperformance-std.conf
  
  Index: highperformance-std.conf
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/docs/conf/highperformance-std.conf,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- highperformance-std.conf	2001/02/16 18:59:53	1.3
  +++ highperformance-std.conf	2001/02/22 18:54:49	1.4
  @@ -28,10 +28,10 @@
   
   <IfModule threaded.c>
   MaxClients       8
  -StartServers     1
  +StartServers     3
   MinSpareThreads  5
   MaxSpareThreads 10
  -ThreadsPerChild 20
  +ThreadsPerChild 25
   </IfModule>
   
   # Assume no memory leaks at all
  
  
  
  1.27      +2 -2      httpd-2.0/docs/conf/httpd-std.conf
  
  Index: httpd-std.conf
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/docs/conf/httpd-std.conf,v
  retrieving revision 1.26
  retrieving revision 1.27
  diff -u -r1.26 -r1.27
  --- httpd-std.conf	2001/02/22 03:55:21	1.26
  +++ httpd-std.conf	2001/02/22 18:54:49	1.27
  @@ -126,11 +126,11 @@
   # ThreadsPerChild ...... constant number of worker threads in each server process
   # MaxRequestsPerChild .. maximum  number of requests a server process serves
   <IfModule threaded.c>
  -StartServers         5
  +StartServers         3
   MaxClients           8
   MinSpareThreads      5
   MaxSpareThreads     10
  -ThreadsPerChild     20
  +ThreadsPerChild     25
   MaxRequestsPerChild  0
   </IfModule>
   
  
  
  

Mime
View raw message