[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ic] PIDcheck vs. ChildLife


> 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
minutes?

- Grant
_______________________________________________
interchange-users mailing list
suppressed
http://www.icdevgroup.org/mailman/listinfo/interchange-users


Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.