You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by fi...@hyperreal.org on 1999/08/15 08:55:50 UTC

cvs commit: apache-1.3/htdocs/manual/mod core.html

fielding    99/08/14 23:55:49

  Modified:    htdocs/manual/mod core.html
  Log:
  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 <dh...@drh.net>
  Reviewed by:	Roy Fielding
  
  Revision  Changes    Path
  1.155     +15 -0     apache-1.3/htdocs/manual/mod/core.html
  
  Index: core.html
  ===================================================================
  RCS file: /home/cvs/apache-1.3/htdocs/manual/mod/core.html,v
  retrieving revision 1.154
  retrieving revision 1.155
  diff -u -r1.154 -r1.155
  --- core.html	1999/07/29 18:17:43	1.154
  +++ core.html	1999/08/15 06:55:48	1.155
  @@ -2460,6 +2460,11 @@
   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 @@
   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
  @@ -2535,6 +2545,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>