For more information... RTFM!
NAVIGATION
PAGES THAT LINK HERE
ACCOUNT LOGIN

You are not logged in

Powered by Interchange version 5.7.0

ChildLife

Set a maximum lifetime for Interchange child processes.

Synopsis

ChildLife  interval

The parameter is expected to be a time interval.  The default is "0" (unlimited).

Scope

This directive is only available for use in the global (interchange.cfg) configuration file, and will affect all websites running under the Interchange installation.  It will not work in a website's local (catalog.cfg) configuration file. 

Description

This directive sets a maximum lifetime for all child processes so that they periodically die and get respawned afresh, regardless of the PIDcheck setting.  This helps prevent lockups and memory leaks from becoming a serious problem.

If ChildLife is not set then child processes will live forever (subject to other considerations, such as MaxRequestsPerChild etc.) - even if they are stuck in a loop.

If ChildLife is set then the HouseKeeping routine will check each each child process' start time.  If the maximum lifetime has been exceeded then the process will be terminated and respawned.  This is pretty much like MaxRequestsPerChild, except that it uses a time interval, rather than the request count.

Note

Note

This directive is only used when Interchange is running in PreFork mode.

Category:  Global config directives
Last modified by: Peter Ajamian
Modification date: Saturday 9 March 2013 at 10:58 PM (EST)
Home  |  Legal nonsense  |  Privacy policy  |  Donations  |  Contact us