Bug #16566
Loadshed should check for "stale" lockfile
Start date:
05/16/2017
Due date:
% Done:
0%
Estimated time:
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.