]> granicus.if.org Git - apache/commitdiff
updated to work with either prefork or the pthread mpms.
authorGreg Ames <gregames@apache.org>
Fri, 19 Jan 2001 16:02:54 +0000 (16:02 +0000)
committerGreg Ames <gregames@apache.org>
Fri, 19 Jan 2001 16:02:54 +0000 (16:02 +0000)
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.
PR:
Obtained from:
Submitted by:
Reviewed by:

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87736 13f79535-47bb-0310-9956-ffa450edef68

docs/conf/highperformance.conf

index c10262e8e8a7c9d9dd2b6665f1bf96fdf581a839..b3963733f00f97e78158ea745ba6e5b699ca5b8b 100644 (file)
 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