aboutsummaryrefslogtreecommitdiffstats
path: root/main/apache2/httpd.conf
diff options
context:
space:
mode:
Diffstat (limited to 'main/apache2/httpd.conf')
-rw-r--r--main/apache2/httpd.conf20
1 files changed, 20 insertions, 0 deletions
diff --git a/main/apache2/httpd.conf b/main/apache2/httpd.conf
index 88d983a9b2..5345c4fd32 100644
--- a/main/apache2/httpd.conf
+++ b/main/apache2/httpd.conf
@@ -108,6 +108,26 @@ MaxClients 256
MaxRequestsPerChild 4000
</IfModule>
+# itk MPM
+# AssignUserID: takes two parameters, uid and gid (or really, user name and
+# group name); specifies what uid and gid the vhost will run as
+# (after parsing the request etc., of course).
+# MaxClientsVHost: a separate MaxClients for each vhost.
+# NiceValue: lets you nice some requests down, to give them less CPU time.
+#
+# AssignUserID and NiceValue can be set wherever you'd like in the Apache
+# configuration, except in .htaccess. MaxClientsVHost can only be set inside
+# a VirtualHost directive.
+<IfModule itk.c>
+AssignUserID apache apache
+StartServers 8
+MinSpareServers 5
+MaxSpareServers 20
+ServerLimit 256
+MaxClients 256
+MaxRequestsPerChild 4000
+</IfModule>
+
# worker MPM
# StartServers: initial number of server processes to start
# MaxClients: maximum number of simultaneous client connections