[ZODB-Dev] Errors running a Stress Test

Brandon Ehle azverkan at yahoo.com
Tue Mar 16 19:15:39 EST 2004


Just got a new exception, this one repeated for each thread until they all
died.  Killed and restarted the client and it seems ok.

No handlers could be found for logger "zodb.conn"
Exception in thread Thread-4:
Traceback (most recent call last):
  File "C:\Python23\lib\threading.py", line 436, in __bootstrap
    self.run()
  File "C:\Python23\lib\threading.py", line 416, in run
    self.__target(*self.__args, **self.__kwargs)
  File "stress.py", line 42, in hammer_the_db
    test[random.choice(keys)] = "hi"
  File "C:\Python23\Lib\site-packages\ZODB\Connection.py", line 672, in
setstate
    self._setstate(obj)
  File "C:\Python23\Lib\site-packages\ZODB\Connection.py", line 707, in
_setstate
    p, serial = self._storage.load(obj._p_oid, self._version)
  File "C:\Python23\Lib\site-packages\ZEO\ClientStorage.py", line 734, in
load
    return self.loadEx(oid, version)[:2]
  File "C:\Python23\Lib\site-packages\ZEO\ClientStorage.py", line 762, in
loadEx
    self._cache.store(oid, ver, tid, None, data)
  File "C:\Python23\Lib\site-packages\ZEO\cache.py", line 274, in store
    self.fc.add(o)
  File "C:\Python23\Lib\site-packages\ZEO\cache.py", line 779, in add
    available = self._makeroom(size)
  File "C:\Python23\Lib\site-packages\ZEO\cache.py", line 723, in _makeroom
    size, e = self.filemap.pop(ofs)
KeyError: 818450




More information about the ZODB-Dev mailing list