PIDcheck — check running Interchange processes during the HouseKeeping routine
If set to a positive non-zero value, enables check of running
Interchange processes during the HouseKeeping
routine.
If a process has been running (or is hung) for longer than the
specified interval, then kill -9
will
be issued and the server count decremented.
Interchange also logs this incident in the global error log file. The log line looks like this example: hammered PID 21429 running 312 seconds.
If you have long-running database builds, this directive needs to stay
disabled, or set to a high value (of perhaps 600
, or
10 minutes
), or use the bin/offline
script.
Interchange 5.9.0:
Source: lib/Vend/Config.pm
Line 4115 (context shows lines 4115-4127)
sub parse_time { my($var, $value) = @_; my($n); return $value unless $value; # $C->{Source}->{$var} = [$value]; $n = time_to_seconds($value); config_error("Bad time format ('$value') in the $var directive\n") unless defined $n; $n; }