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

Jim Fulton jim at zope.com
Tue May 26 09:35:56 EDT 2009


On May 26, 2009, at 6:00 AM, 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
> 2009-05-24T12:22:54 (28965) new connection ('137.138.128.212', 59723):
> <ManagedServerConnection ('137.138.128.212', 59723)>
> 2009-05-24T12:22:54 (137.138.128.213:45139) received handshake 'Z303'

That's what I was afraid of.

FileStorage indexes can't be saved after they reach a certain size,  
where size roughly based on the number of objects.

I need to find a way to fix this.

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

 >>> import ZEO.ClientStorage
 >>> len(ZEO.ClientStorage.ClientStorage(addr)

where addr if the address of your storage server as a host, port tuple.

Jim

--
Jim Fulton
Zope Corporation




More information about the ZODB-Dev mailing list