To answer my own question:
Am 14.10.2015 um 10:30 schrieb Philipp Hahn:
> I have several shell scripts using "/usr/bin/flock -x
> /run/lock/jenkins-ip.lock" to acquiring the exclusive lock. Today they
> hang, while the lock is owned by a process which no longer exists:
...
> 1. How can this happen
Hi,
I have several shell scripts using "/usr/bin/flock -x
/run/lock/jenkins-ip.lock" to acquiring the exclusive lock. Today they
hang, while the lock is owned by a process which no longer exists:
# ls -i /run/lock/jenkins-ip.lock
766711440 /run/lock/jenkins-ip.lock
# grep 766711440 /proc/locks
1
2 matches
Mail list logo