A file-system-based mutex, with a TTL.
Create a lock-file with a TTL.
what is it good for?
When you want to perform an operation only once in a given block of time, from a single process, on a single server, e.g., during an NRPE check.
what isn't it good for?
When you have multiple processes, in parallel, attempting to acquire a lock.
var ttlfs = ;// check the ttl on a lock.ttlfs;// there is no need to check the ttl.// an error will occur if the lock can't// be fetched.ttlfs;
ttlfs accepts the following configuraiton settings:
var ttlfs =;