Name

MaxServers — define maximum number of spawned servers

SYNOPSIS

count

DESCRIPTION

The MaxServers directive specifies the maximum number of Interchange server processes to keep running at any one time.

If more requests are pending, they will be queued within the defined capability of the Operating System (usually 5 pending requests) until the server's "usage count" drops.

DIRECTIVE TYPE AND DEFAULT VALUE

Global directive

EXAMPLES

Example: Setting MaxServers

Put the following in interchange.cfg:

MaxServers 20

NOTES

AVAILABILITY

MaxServers is available in Interchange versions:

4.6.0-5.9.0 (git-head)

SOURCE

Interchange 5.9.0:

Source: lib/Vend/Config.pm
Line 470

['MaxServers',       'integer',          10],

Source: lib/Vend/Config.pm
Line 3992 (context shows lines 3992-3999)

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

MaxRequestsPerChild(7ic), PIDcheck(7ic), PIDfile(7ic), ChildLife(7ic)

DocBook! Interchange!