Watch the logs for a run that takes twice its usual time and you've got a decent first pass. The 2× rule works when the usual time is stable, but a job whose typical duration is a guess from a couple of logs will either fire on healthy runs or miss a hang that creeps past twice a number nobody measured properly. Watching a signal the job emits on purpose is a better check, a counter or a heartbeat file, since that's a fact about progress.
Adam Lewis
Watch the logs for a run that takes twice its usual time and you've got a decent first pass. The 2× rule works when the usual time is stable, but a job whose typical duration is a guess from a couple of logs will either fire on healthy runs or miss a hang that creeps past twice a number nobody measured properly. Watching a signal the job emits on purpose is a better check, a counter or a heartbeat file, since that's a fact about progress.