Project

General

Profile

Bug #16566

Loadshed should check for "stale" lockfile

Added by Eric Flumerfelt over 2 years ago.

Status:
New
Priority:
Normal
Start date:
05/16/2017
Due date:
% Done:

0%

Estimated time:
Duration:

Description

In check_for_existing_loadshed in loadshed_function.sh, there is a trap ... EXIT for removing the loadshed.lock lockfile. However, this can suppress the whole system if not removed, so the loadshed should also check the mtime on the lockfile to make sure it is from the current iteration of the loadshed script.



Also available in: Atom PDF