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/netware mpm_default.h mpm_netware.c
Date Wed, 19 Dec 2001 16:23:34 GMT
trawick     01/12/19 08:23:34

  Modified:    server/mpm/netware mpm_default.h mpm_netware.c
  Log:
  for the netware MPM, move HARD_THREAD_LIMIT back to mpm_default.h where
  the other user-tunable compile-time parameters are
  
  HARD_SERVER_LIMIT stays in mpm_netware.c since it can't really be changed
  
  Revision  Changes    Path
  1.5       +11 -0     httpd-2.0/server/mpm/netware/mpm_default.h
  
  Index: mpm_default.h
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/server/mpm/netware/mpm_default.h,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- mpm_default.h	2001/12/18 13:48:53	1.4
  +++ mpm_default.h	2001/12/19 16:23:34	1.5
  @@ -80,6 +80,17 @@
   #define DEFAULT_MIN_FREE_DAEMON 1
   #endif
   
  +/* Limit on the threads per process.  Clients will be locked out if more than
  + * this  * HARD_SERVER_LIMIT are needed.
  + *
  + * We keep this for one reason it keeps the size of the scoreboard file small
  + * enough that we can read the whole thing without worrying too much about
  + * the overhead.
  + */
  +#ifndef HARD_THREAD_LIMIT
  +#define HARD_THREAD_LIMIT 2048
  +#endif
  +
   #ifndef DEFAULT_THREADS_PER_CHILD
   #define DEFAULT_THREADS_PER_CHILD 50
   #endif
  
  
  
  1.19      +0 -11     httpd-2.0/server/mpm/netware/mpm_netware.c
  
  Index: mpm_netware.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/server/mpm/netware/mpm_netware.c,v
  retrieving revision 1.18
  retrieving revision 1.19
  diff -u -r1.18 -r1.19
  --- mpm_netware.c	2001/12/19 16:19:00	1.18
  +++ mpm_netware.c	2001/12/19 16:23:34	1.19
  @@ -140,17 +140,6 @@
   #define HARD_SERVER_LIMIT 1
   #endif
   
  -/* Limit on the threads per process.  Clients will be locked out if more than
  - * this  * HARD_SERVER_LIMIT are needed.
  - *
  - * We keep this for one reason it keeps the size of the scoreboard file small
  - * enough that we can read the whole thing without worrying too much about
  - * the overhead.
  - */
  -#ifndef HARD_THREAD_LIMIT
  -#define HARD_THREAD_LIMIT 2048
  -#endif
  -
   #define WORKER_DEAD         SERVER_DEAD
   #define WORKER_STARTING     SERVER_STARTING
   #define WORKER_READY        SERVER_READY
  
  
  

Mime
View raw message