[ic] PIDcheck vs. ChildLife

Jon Jensen jon at endpoint.com
Wed Dec 13 15:18:54 EST 2006

On Wed, 13 Dec 2006, Grant wrote:

> What is the difference between PIDcheck and ChildLife?  It sounds like 
> they do the same thing, unless a PID and child aren't the same thing.
> Will setting one or both of these directives interrupt a job's 
> execution?

PIDcheck says that the housekeeping routine should look for out-of-control 
or dead Interchange child processes and kill them if they've been running 
more than that many seconds:


ChildLife limits how long a child is allowed to live, primarily for 
PreFork mode persistent children. For example, you may want to say that a 
child can only live for 10 minutes total, regardless of whether it's met 
its MaxRequestsPerChild limit yet:


Most likely you do not need ChildLife, but you should almost always have 
PIDcheck set to a couple of minutes, so you don't have runaway child 
processes going longer than that.


Jon Jensen
End Point Corporation

More information about the interchange-users mailing list