You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by st...@locus.apache.org on 2000/07/30 06:53:34 UTC
cvs commit: apache-2.0/src/modules/mpm/winnt mpm_default.h mpm_winnt.c
stoddard 00/07/29 21:53:34
Modified: src/modules/mpm/winnt mpm_default.h mpm_winnt.c
Log:
Up HARD_THREAD_LIMIT. Handle it correctly in mpm_winnt.c
Revision Changes Path
1.5 +1 -1 apache-2.0/src/modules/mpm/winnt/mpm_default.h
Index: mpm_default.h
===================================================================
RCS file: /home/cvs/apache-2.0/src/modules/mpm/winnt/mpm_default.h,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- mpm_default.h 2000/03/31 09:05:12 1.4
+++ mpm_default.h 2000/07/30 04:53:33 1.5
@@ -88,7 +88,7 @@
* the overhead.
*/
#ifndef HARD_THREAD_LIMIT
-#define HARD_THREAD_LIMIT 64
+#define HARD_THREAD_LIMIT 4096
#endif
/* Number of servers to spawn off by default
1.92 +1 -0 apache-2.0/src/modules/mpm/winnt/mpm_winnt.c
Index: mpm_winnt.c
===================================================================
RCS file: /home/cvs/apache-2.0/src/modules/mpm/winnt/mpm_winnt.c,v
retrieving revision 1.91
retrieving revision 1.92
diff -u -r1.91 -r1.92
--- mpm_winnt.c 2000/07/29 16:24:14 1.91
+++ mpm_winnt.c 2000/07/30 04:53:33 1.92
@@ -2255,6 +2255,7 @@
" lowering ThreadsPerChild to %d. To increase, please"
" see the HARD_THREAD_LIMIT define in %s.",
HARD_THREAD_LIMIT, AP_MPM_HARD_LIMITS_FILE);
+ ap_threads_per_child = HARD_THREAD_LIMIT;
}
else if (ap_threads_per_child < 1) {
ap_log_error(APLOG_MARK, APLOG_STARTUP | APLOG_NOERRNO, 0, NULL,