[Box Backup] Client blocked by stale lockfile?

Ben Summers boxbackup@fluffy.co.uk
Wed, 2 Mar 2005 21:28:20 +0000


On 2 Mar 2005, at 21:22, Chris Wilson wrote:

> Hi Ben,
>
> On Wed, 2 Mar 2005, Ben Summers wrote:
>
>>> I can reproduce the problem at will, simply by starting bbackupd and 
>>> killing it with signal 9.
>>
>> I'm not really sure what to do about this, apart from when starting 
>> up, deleting everything which isn't an expected name in /var/bbackupd 
>> ?
>
> Would it be possible to implement a timeout on opening the database, 
> and send a warning e-mail to the user if it was exceeded? That would 
> have alerted me to the problem much more quickly.

Yes, that could work.

Patches gratefully received! :-)

Ben