Apache Reference Manual (9)


nt into a <Limit> section

See also Satisfy and mod_access.


--------------------------------------------------------------------------------

ResourceConfig directive
Syntax: ResourceConfig filename
Default: ResourceConfig conf/srm.conf
Context: server config, virtual host
Status: core
The server will read this file for more directives after reading the httpd.conf file. Filename is relative to the ServerRoot. This feature can be disabled using:

ResourceConfig /dev/null
Historically, this file contained most directives except for server configuration directives and <Directory> sections; in fact it can now contain any server directive allowed in the server config context.
See also AccessConfig.



--------------------------------------------------------------------------------

RLimitCPU directive
Syntax: RLimitCPU # or ''max'' [# or ''max'']
Default: Unset; uses operating system defaults
Context: server config, virtual host
Status: core
Compatibility: RLimitCPU is only available in Apache 1.2 and later
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.

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



--------------------------------------------------------------------------------

RLimitMEM directive
Syntax: RLimitMEM # or ''max'' [# or ''max'']
Default: Unset; uses operating system defaults
Context: server config, virtual host
Status: core
Comp
Copyright © 2008 chengduxinxi.com All Rights Reserved PHP编程开发 由朝夕网络维护