From: Roy T. Fielding Date: Sun, 15 Aug 1999 06:55:48 +0000 (+0000) Subject: The current documentation on the Rlimit{CPU,MEM,Nproc} directives X-Git-Tag: mpm-merge-2~1 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f98f4f46360348365fe1336708cce1e1b3b8406f;p=apache The current documentation on the Rlimit{CPU,MEM,Nproc} directives uses the wording "for all processes", which leads one to believe that the limit applies to all of the Apache children processes. However, this is not the case. The resource limits are applied in ap_call_exec() which is only called by mod_cgi and mod_include. Submitted by: David Harris Reviewed by: Roy Fielding git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@83682 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/manual/mod/core.html b/docs/manual/mod/core.html index 461f4d286a..0aa8ad84ad 100644 --- a/docs/manual/mod/core.html +++ b/docs/manual/mod/core.html @@ -2460,6 +2460,11 @@ 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.

+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.

+ CPU resource limits are expressed in seconds per process.

See also RLimitMEM or @@ -2498,6 +2503,11 @@ 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.

+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.

+ Memory resource limits are expressed in bytes per process.

See also RLimitCPU or @@ -2536,6 +2546,11 @@ 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.

+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.

+ Process limits control the number of processes per user.

Note: If CGI processes are not running under userids other