diff options
author | Marc Balmer <mbalmer@cvs.openbsd.org> | 2007-08-24 11:31:30 +0000 |
---|---|---|
committer | Marc Balmer <mbalmer@cvs.openbsd.org> | 2007-08-24 11:31:30 +0000 |
commit | b184ef7b5f953948581d82da28d24df166d971e9 (patch) | |
tree | 403d920ad500886dc7c63513b85e0f9f94f21923 /usr.sbin/httpd/htdocs | |
parent | 7aeef3e995b2114d98a77cc2b73eb7b991aad63a (diff) |
Add a new configuration directive 'RLimitNOFILE' to set the number of
of open filedescriptors (like RLimitNPROC for the number of processes).
ok ckuethe, "no objection" henning
Diffstat (limited to 'usr.sbin/httpd/htdocs')
-rw-r--r-- | usr.sbin/httpd/htdocs/manual/mod/core.html | 43 | ||||
-rw-r--r-- | usr.sbin/httpd/htdocs/manual/server-wide.html | 1 |
2 files changed, 44 insertions, 0 deletions
diff --git a/usr.sbin/httpd/htdocs/manual/mod/core.html b/usr.sbin/httpd/htdocs/manual/mod/core.html index 65e476b6acd..18ed5be92f9 100644 --- a/usr.sbin/httpd/htdocs/manual/mod/core.html +++ b/usr.sbin/httpd/htdocs/manual/mod/core.html @@ -164,6 +164,8 @@ <li><a href="#rlimitnproc">RLimitNPROC</a></li> + <li><a href="#rlimitnofile">RLimitNOFILE</a></li> + <li><a href="#satisfy">Satisfy</a></li> <li><a href="#scoreboardfile">ScoreBoardFile</a></li> @@ -3384,6 +3386,47 @@ Syntax OK href="#rlimitcpu">RLimitCPU</a>.</p> <hr /> + <h2><a id="rlimitnofile" name="rlimitnofile">RLimitNOFILE + directive</a></h2> + + <a href="directive-dict.html#Syntax" + rel="Help"><strong>Syntax:</strong></a> RLimitNOFILE + <em>number</em>|max [<em>number</em>|max]<br /> + <a href="directive-dict.html#Default" + rel="Help"><strong>Default:</strong></a> <em>Unset; uses + operating system defaults</em> <br /> + <a href="directive-dict.html#Context" + rel="Help"><strong>Context:</strong></a> server config, virtual + host<br /> + <a href="directive-dict.html#Status" + rel="Help"><strong>Status:</strong></a> core<br /> + <a href="directive-dict.html#Compatibility" + rel="Help"><strong>Compatibility:</strong></a> RLimitNOFILE is + only available in Apache 1.2 and later + + <p>Takes 1 or 2 parameters. The first parameter sets the soft + resource limit for all processes and the second parameter sets + the maximum resource limit. Either parameter can be a number, + or <code>max</code> to indicate to the server that the limit + should be set to the maximum allowed by the operating system + configuration. Raising the maximum resource limit requires that + the server is running as root, or in the initial startup + phase.</p> + + <p>This applies to processes forked off from Apache children + servicing requests, not the Apache children themselves. This + includes CGI scripts and SSI exec commands, but not any + processes forked off from the Apache parent such as piped + logs.</p> + + <p>Process limits control the number of open files per user.</p> + + <p>Note: If CGI processes are <strong>not</strong> running + under userids other than the web server userid, this directive + will limit the number of files that the server itself can + open.</p> + <hr /> + <h2><a id="satisfy" name="satisfy">Satisfy directive</a></h2> <a href="directive-dict.html#Syntax" diff --git a/usr.sbin/httpd/htdocs/manual/server-wide.html b/usr.sbin/httpd/htdocs/manual/server-wide.html index 0fffca479b4..352f800bc8e 100644 --- a/usr.sbin/httpd/htdocs/manual/server-wide.html +++ b/usr.sbin/httpd/htdocs/manual/server-wide.html @@ -262,6 +262,7 @@ <a href="mod/core.html#rlimitcpu">RLimitCPU</a><br /> <a href="mod/core.html#rlimitmem">RLimitMEM</a><br /> <a href="mod/core.html#rlimitnproc">RLimitNPROC</a><br /> + <a href="mod/core.html#rlimitnofile">RLimitNOFILE</a><br /> <a href="mod/core.html#threadstacksize">ThreadStackSize</a><br /> </td> |