SEARCH
NEW RPMS
DIRECTORIES
ABOUT
FAQ
VARIOUS
BLOG

BotDetect - Real-Time Bot Detection API
 
 

MAN page from Old RedHat 5.X mod_perl-1.11-3.i386.rpm

lib::Apache::Resource

Section: User Contributed Perl Documentation (3)
Updated: mod_perl-1.11
Index 

NAME

Apache::Resource - Limit resources used by httpd children 

SYNOPSIS

 #set memory limit in megabytes #default is 64 Meg PerlSetEnv PERL_DATA_LIMIT 35
 #set cpu limit in milliseconds #default is 60 milliseconds PerlSetEnv PERL_RLIMIT_CPU 120
 PerlChildInitHandler Apache::Resource
 

DESCRIPTION

Apache::Resource uses the BSD::Resource module, which uses the C function setrlimit to set limits onsystem resources such as memory and cpu usage.

Any RLIMIT operation available to limit on your system can be setby defining that operation as an envrionment variable with a PERL_prefix. If no value is set a reasonable default is used if defined.See your system setrlimit manpage for available resources which can be limited.
 By default, PERL_RLIMIT_DATA is set to 64 megabytes if it doesnot exist in the current environment.  

DEFAULTS

To set reasonable defaults for all RLIMITs, add this to your httpd.conf:

 PerlSetEnv PERL_RLIMIT_DEFAULTS On PerlModule Apache::Resource
 

AUTHOR

Doug MacEachern 

SEE ALSO

BSD::Resource(3), setrlimit(2)


 

Index

NAME
SYNOPSIS
DESCRIPTION
DEFAULTS
AUTHOR
SEE ALSO

This document was created byman2html,using the manual pages.
 
ICM Bot detect detector