[ic] PIDcheck vs. ChildLife

Grant emailgrant at gmail.com
Wed Dec 13 20:23:55 EST 2006

> > 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:
> http://www.icdevgroup.org/docs/confs/PIDcheck.html
> 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:
> http://www.icdevgroup.org/docs/confs/ChildLife.html
> 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

Thanks Jon.  I have jobs that execute for over 2 minutes, but PIDcheck
is set to 120.  Shouldn't PIDcheck be killing those jobs off at 2

- Grant

More information about the interchange-users mailing list