diff options
| author | 2007-08-24 11:31:29 +0000 | |
|---|---|---|
| committer | 2007-08-24 11:31:29 +0000 | |
| commit | d11c7520780d1e10c51508d8bd5bd05017dd2dc2 (patch) | |
| tree | 48c841fe3f2d39d014bfe4f3f2367e2ccc0fe6f7 /usr.sbin/httpd/htdocs/manual | |
| parent | On the older devices, apparently early configuration (and doing it again (diff) | |
| download | wireguard-openbsd-d11c7520780d1e10c51508d8bd5bd05017dd2dc2.tar.xz wireguard-openbsd-d11c7520780d1e10c51508d8bd5bd05017dd2dc2.zip | |
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/manual')
| -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> |
