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

Attachment: signature.asc
Description: Digital signature

_______________________________________________
For more information about ZODB, see the ZODB Wiki:
http://www.zope.org/Wikis/ZODB/

ZODB-Dev mailing list  -  ZODB-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zodb-dev

Reply via email to