[ZODB-Dev] BSDDB3Storage Panic!

Chris Withers chrisw@nipltd.com
Mon, 12 Nov 2001 17:04:18 +0000


Heylp!

I ran out of disk space and my python process crashed:

Traceback (most recent call last):
  File "/usr/local/zope/2.4.0_base/lib/python/ZODB/DB.py", line 288, in close
    def close(self): self._storage.close()
  File "/var/local/zope/production/lib/python/bsddb3Storage/Full.py", line 168,
in close
    self._serials.close()
bsddb3._db.DBRunRecoveryError: (-30987, 'DB_RUNRECOVERY: Fatal error
zoot:/var/local/zope# 

What should I do now?

db_archive gives me:

db_archive: region error detected; run recovery.

It appears to be doing a db-recover now... This is all pretty ungraceful. I
wonder if the storage should look at deleting out of date log file itself when
it notices disk space is getting scarce?

cheers,

Chris