summaryrefslogtreecommitdiff
path: root/usr.sbin/httpd/conf/httpd.conf-dist
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2006-02-22 15:07:13 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2006-02-22 15:07:13 +0000
commit21b89cec9f8cb149f33153595940683fd70163b9 (patch)
tree459153eb4158652e8e374817778c233316dcf618 /usr.sbin/httpd/conf/httpd.conf-dist
parent5dc567a0e5e9e5037d925f5736bb1865c78ad212 (diff)
allow ressource limits for child processes to be set.
from Chris Kuethe <chris.kuethe@gmail.com> running at UofA for months now, ok beck niallo, also tested mbalmer
Diffstat (limited to 'usr.sbin/httpd/conf/httpd.conf-dist')
-rw-r--r--usr.sbin/httpd/conf/httpd.conf-dist11
1 files changed, 11 insertions, 0 deletions
diff --git a/usr.sbin/httpd/conf/httpd.conf-dist b/usr.sbin/httpd/conf/httpd.conf-dist
index fb4ac86a19e..84da5f10142 100644
--- a/usr.sbin/httpd/conf/httpd.conf-dist
+++ b/usr.sbin/httpd/conf/httpd.conf-dist
@@ -167,6 +167,17 @@ MaxClients 150
MaxRequestsPerChild 0
#
+# MaxFOOPerChild: these directives set the current and hard rlimits for
+# the child processes. Attempts to exceed them will cause the the OS to
+# take appropriate action. See the setrlimit(2) and signal(3).
+#
+MaxCPUPerChild 0
+MaxDATAPerChild 0
+MaxNOFILEPerChild 0
+MaxRSSPerChild 0
+MaxSTACKPerChild 0
+
+#
# Listen: Allows you to bind Apache to specific IP addresses and/or
# ports, instead of the default. See also the <VirtualHost>
# directive.