in reply to BerkeleyDB locks

It is possible to do your own locking, with MLDBM::Sync. However, performance will be much worse than letting BerkeleyDB do it. Have you tried to recover it using the db_recover tool they supply? That normally fixes any leftover lock issues.

Replies are listed 'Best First'.
Re^2: BerkeleyDB locks
by mjemmeson (Monk) on Aug 01, 2006 at 09:36 UTC
    it should clear the locks, but all processes will have to stop accessing the db while the recover tool is run, which may not be possible...
      When you have a crash and something gets corrupted, you have to stop and recover from it. I don't think there's any way to avoid that.