[Box Backup] Client blocked by stale lockfile?

Chris Wilson boxbackup@fluffy.co.uk
Wed, 2 Mar 2005 21:22:08 +0000 (GMT)


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.

Cheers, Chris.
-- 
_ ___ __     _
  / __/ / ,__(_)_  | Chris Wilson <0000 at qwirx.com> - Cambs UK |
/ (_/ ,\/ _/ /_ \ | Security/C/C++/Java/Perl/SQL/HTML Developer |
\ _/_/_/_//_/___/ | We are GNU-free your mind-and your software |