]> granicus.if.org Git - apache/commitdiff
The current documentation on the Rlimit{CPU,MEM,Nproc} directives
authorRoy T. Fielding <fielding@apache.org>
Sun, 15 Aug 1999 06:55:48 +0000 (06:55 +0000)
committerRoy T. Fielding <fielding@apache.org>
Sun, 15 Aug 1999 06:55:48 +0000 (06:55 +0000)
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 <dharris@drh.net>
Reviewed by: Roy Fielding

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@83682 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/mod/core.html

index 461f4d286af4c6841bcc57b3ebddefa1ef9eb966..0aa8ad84adc2742083c2f289769bc8cd36ff1af2 100644 (file)
@@ -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.<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>
+
 CPU resource limits are expressed in seconds per process.<P>
 
 See also <A HREF="#rlimitmem">RLimitMEM</A> 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.<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>
+
 Memory resource limits are expressed in bytes per process.<P>
 
 See also <A HREF="#rlimitcpu">RLimitCPU</A> 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.<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>
+
 Process limits control the number of processes per user.<P>
 
 Note: If CGI processes are <STRONG>not</STRONG> running under userids other