You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by rb...@apache.org on 2001/09/25 01:03:42 UTC
cvs commit: httpd-2.0/server/mpm/worker mpm_default.h
rbb 01/09/24 16:03:42
Modified: server/mpm/worker mpm_default.h
Log:
Clean the worker MPM a bit. This removes the idea of compiling worker
with no threads. That doesn't make any sense anyway. Also, raise
HARD_SERVER_LIMIT to 16, from 8.
Submitted by: "Ian Holsman" <ia...@cnet.com>
Revision Changes Path
1.2 +1 -10 httpd-2.0/server/mpm/worker/mpm_default.h
Index: mpm_default.h
===================================================================
RCS file: /home/cvs/httpd-2.0/server/mpm/worker/mpm_default.h,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- mpm_default.h 2001/07/30 05:02:53 1.1
+++ mpm_default.h 2001/09/24 23:03:42 1.2
@@ -94,11 +94,8 @@
* enough that we can read the whole thing without worrying too much about
* the overhead.
*/
-#ifdef NO_THREADS
-#define HARD_SERVER_LIMIT 256
-#endif
#ifndef HARD_SERVER_LIMIT
-#define HARD_SERVER_LIMIT 8
+#define HARD_SERVER_LIMIT 16
#endif
/* Limit on the threads per process. Clients will be locked out if more than
@@ -108,16 +105,10 @@
* enough that we can read the whole thing without worrying too much about
* the overhead.
*/
-#ifdef NO_THREADS
-#define HARD_THREAD_LIMIT 1
-#endif
#ifndef HARD_THREAD_LIMIT
#define HARD_THREAD_LIMIT 64
#endif
-#ifdef NO_THREADS
-#define DEFAULT_THREADS_PER_CHILD 1
-#endif
#ifndef DEFAULT_THREADS_PER_CHILD
#define DEFAULT_THREADS_PER_CHILD 25
#endif