You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by gr...@apache.org on 2001/01/19 17:02:56 UTC
cvs commit: httpd-2.0/docs/conf highperformance.conf
gregames 01/01/19 08:02:55
Modified: docs/conf highperformance.conf
Log:
updated to work with either prefork or the pthread mpms.
I've been using specialized versions of this for ages. Time to commit it.
If nobody objects, I'd like to rename it highperformance-std.conf, so
make install will find it and do Good Things.
Revision Changes Path
1.4 +15 -8 httpd-2.0/docs/conf/highperformance.conf
Index: highperformance.conf
===================================================================
RCS file: /home/cvs/httpd-2.0/docs/conf/highperformance.conf,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- highperformance.conf 2000/03/31 06:34:46 1.3
+++ highperformance.conf 2001/01/19 16:02:54 1.4
@@ -14,17 +14,24 @@
Port 80
ServerRoot @@ServerRoot@@
DocumentRoot @@ServerRoot@@/htdocs
-MaxClients 8
-StartServers 5
-MinSpareServers 5
+
+<IfModule prefork.c>
+MaxClients 8
+StartServers 5
+MinSpareServers 5
MaxSpareServers 10
+</IfModule>
+
+<IfModule mpmt_pthread.c>
+MaxClients 8
+StartServers 1
+MinSpareThreads 5
+MaxSpareThreads 10
+ThreadsPerChild 20
+</IfModule>
+
# Assume no memory leaks at all
MaxRequestsPerChild 0
-
-# this is a True Config File
-# see http://www.apache.org/info/three-config-files.html
-# ResourceConfig /dev/null
-# AccessConfig /dev/null
# it's always nice to know the server has started
ErrorLog logs/error_log