[Box Backup] Client blocked by stale lockfile?

Ben Summers boxbackup@fluffy.co.uk
Mon, 28 Feb 2005 21:53:09 +0000


On 28 Feb 2005, at 21:42, Chris Wilson wrote:

> Hi all,
>
> Sorry if this is a stupid question. I discovered that my boxbackup 
> client was not making backups, but instead spinning on what looks like 
> a lockfile:
>
[snip]
>
> What do you think about implementing a pid-based lockfile scheme, or a 
> kernel-based scheme, where stale locks can be detected and removed 
> automatically?

This looks like it's created by the Berkeley DB library. The various 
implementations on various platforms seem to cause no end of problems.

You've found another problem caused by it. I'm not sure how to work 
around this one though.

Which OS, distribution, etc?

Ben