Name

MaxRequestsPerChild — define maximum number of per-server page deliveries before respawn

SYNOPSIS

count

DESCRIPTION

The MaxRequestsPerChild directive defines the maximum number of page deliveries that each server instance will carry out before closing down and respawning.

The whole point of a periodic respawn is to prevent accumulation of eventual memory leaks.

DIRECTIVE TYPE AND DEFAULT VALUE

Global directive

EXAMPLES

Example: Setting MaxRequestsPerChild

Put the following in interchange.cfg:

MaxRequestsPerChild 100

NOTES

AVAILABILITY

MaxRequestsPerChild is available in Interchange versions:

4.6.0-5.9.0 (git-head)

SOURCE

Interchange 5.9.0:

Source: lib/Vend/Config.pm
Line 449

['MaxRequestsPerChild','integer',           50],

Source: lib/Vend/Config.pm
Line 3973 (context shows lines 3973-3980)

sub parse_integer {
my($var, $value) = @_;
$value = hex($value) if $value =~ /^0x[\dA-Fa-f]+$/;
$value = oct($value) if $value =~ /^0[0-7]+$/;
config_error("The $var directive (now set to '$value') must be an integer\n")
  unless $value =~ /^\d+$/;
$value;
}

AUTHORS

Interchange Development Group

SEE ALSO

PIDcheck(7ic), SOAP_MaxRequests(7ic), PIDfile(7ic), MaxServers(7ic), ChildLife(7ic)

DocBook! Interchange!