From a9abf2dcf91742006f5b07a6aa6b85c20a928604 Mon Sep 17 00:00:00 2001 From: Randy Terbush Date: Sun, 1 Dec 1996 06:57:35 +0000 Subject: [PATCH] Added docs for RLimit directives. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@77104 13f79535-47bb-0310-9956-ffa450edef68 --- docs/manual/mod/core.html | 78 ++++++++++++++++++++++++++++++--- docs/manual/mod/directives.html | 3 ++ 2 files changed, 75 insertions(+), 6 deletions(-) diff --git a/docs/manual/mod/core.html b/docs/manual/mod/core.html index 3728e25a92..7a22678b55 100644 --- a/docs/manual/mod/core.html +++ b/docs/manual/mod/core.html @@ -45,11 +45,11 @@ always available.
  • Port
  • require
  • ResourceConfig -
  • RLimitCPU -
  • RLimitMEM -
  • RLimitNPROC +
  • RLimitCPU +
  • RLimitMEM +
  • RLimitNPROC
  • Satisfy -
  • SendBufferSize
  • ServerAdmin
  • ServerAlias
  • ServerName @@ -410,7 +410,7 @@ the directory being applied will be prefixed automatically. Syntax: Group unix-group
    Default: Group #-1
    -Context: server config
    +Context: server config, virtual host
    Status: core

    The Group directive sets the group under which the server will answer requests. @@ -431,6 +431,9 @@ Note: if you start the server as a non-root user, it will fail to change to the specified, and will instead continue to run as the group of the original user.

    +Special note: Use of this directive in <VirtualHost> requires a +properly configured SUEXEC wrapper.

    + SECURITY: See User for a discussion of the security considerations.


    @@ -865,6 +868,66 @@ sections; in fact it can now contain any server directive allowed in the See also AccessConfig.


    + +

    RLimitCPU directive

    + +Syntax: RLimitCPU # or 'max' [# or 'max']
    +Default: Unset uses operating system defaults
    +Context: server config, virtual host
    +Status: core

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

    + +CPU resource limits are expressed in seconds per process.

    + +See also RLimitMEM or RLimitNPROC.


    + +

    RLimitMEM directive

    + +Syntax: RLimitMEM # or 'max' [# or 'max']
    +Default: Unset uses operating system defaults
    +Context: server config, virtual host
    +Status: core

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

    + +Memory resource limits are expressed in bytes per process.

    + +See also RLimitCPU or RLimitNPROC.


    + +

    RLimitNPROC directive

    + +Syntax: RLimitNPROC # or 'max' [# or 'max']
    +Default: Unset uses operating system defaults
    +Context: server config, virtual host
    +Status: core

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

    + +Process limits control the number of processes per user.

    + +Note: If CGI processes are not running under userids other than the +webserver userid, this directive will limit the number of processes that the +server itself can create. Evidence of this situation will be indicated by +cannot fork messages in the error_log.

    + +See also RLimitMEM or RLimitCPU.


    +

    SendBufferSize

    Syntax: SendBufferSize bytes
    @@ -1009,7 +1072,7 @@ transfer times can be large. Syntax: User unix-userid
    Default: User #-1
    -Context: server config
    +Context: server config, virtual host
    Status: core

    The User directive sets the userid as which the server will answer requests. @@ -1034,6 +1097,9 @@ to the lesser privileged user, and will instead continue to run as that original user. If you do start the server as root, then it is normal for the parent process to remain running as root.

    +Special note: Use of this directive in <VirtualHost> requires a +properly configured SUEXEC wrapper.

    + SECURITY: Don't set User (or Group) to root unless you know exactly what you are doing, and what the dangers are.


    diff --git a/docs/manual/mod/directives.html b/docs/manual/mod/directives.html index 01e2eaa966..d565669544 100644 --- a/docs/manual/mod/directives.html +++ b/docs/manual/mod/directives.html @@ -101,6 +101,9 @@
  • require
  • Redirect
  • ResourceConfig +
  • RLimitCPU +
  • RLimitMEM +
  • RLimitNPROC
  • Script
  • ScriptAlias
  • ScriptLog -- 2.50.1