[ZODB-Dev] URGENT: ZODB down - Important Software Application at CERN

Marius Gedminas marius at gedmin.as
Tue May 26 08:23:29 EDT 2009


On Tue, May 26, 2009 at 12:00:51PM +0200, Pedro Ferreira wrote:
> Jim Fulton wrote:
> > What was in the ZEO server log when this happened?
> >
> 2009-05-24T12:22:54 (28965) new connection ('137.138.128.213', 45138):
> <ManagedServerConnection ('137.138.128.213', 45138)>
> 2009-05-24T12:22:54 (28965) new connection ('137.138.128.213', 45139):
> <ManagedServerConnection ('137.138.128.213', 45139)>
> 2009-05-24T12:22:54 (28965) new connection ('137.138.128.212', 59721):
> <ManagedServerConnection ('137.138.128.212', 59721)>
> 2009-05-24T12:22:54 (28965) new connection ('137.138.128.212', 59722):
> <ManagedServerConnection ('137.138.128.212', 59722)>
> 2009-05-24T12:22:54 (137.138.128.213:45138) received handshake 'Z303'
> 2009-05-24T12:22:54 (28965) Error raised in delayed method
> Traceback (most recent call last):
>   File "/usr/lib64/python2.3/site-packages/ZEO/StorageServer.py", line
> 1009, in run
>     result = self._method(*self._args)
>   File "/usr/lib64/python2.3/site-packages/ZEO/StorageServer.py", line
> 345, in _pack_impl
>     self.storage.pack(time, referencesf)
>   File
> "/usr/lib64/python2.3/site-packages/ZODB/FileStorage/FileStorage.py",
> line 1372, in pack
>     self._save_index()
>   File
> "/usr/lib64/python2.3/site-packages/ZODB/FileStorage/FileStorage.py",
> line 252, in _save_index
>     p.dump(info)
> RuntimeError: maximum recursion depth exceeded

That's shorter than I expected.

OTOH the `p` here probably refers to a cPickle.Pickler object, and I've
never seen recursion depth errors caused by C code before.  It makes
sense.

> > Also, how many objects are in your database?
> >
> Hmmm... I have no idea... is there an easy way of calculating that?

There's a script called analyze.py that comes with ZODB.  It will give
you summaries grouped by object class of the counts and sizes of all
your persistent objects.

Marius Gedminas
-- 
The only way to learn a new programming language is by writing programs in it.
                -- Brian Kernighan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://mail.zope.org/pipermail/zodb-dev/attachments/20090526/4e2b0b3a/attachment-0001.bin 


More information about the ZODB-Dev mailing list