[Zope] Safe way to abort or re-start stalled out ZODB pack?

John Schinnerer john at eco-living.net
Wed Jan 27 16:06:11 EST 2010


Hello,

This is for

Zope 2.9.8-final, python 2.4.4, linux2 (debian)
(installed by the Plone 2.5.5 installer if that matters, and using 
zeoserver)

I have a ZODB pack operation started via the ZMI control panel that has 
failed to complete. It appears to be from a disk space issue (traceback 
below).

The zope instance is still working fine on the pre-pack ZODB, and, there 
is a Data.fs.pack file sitting in ../zeocluster/server/var which hasn't 
been modified in the last ten hours.

I need to know how to deal with this situation safely - how to abort 
and/or safely re-start the pack (the disk space issue has been dealt with).
Some questions that have come to mind are:
Is it safe to just restart zope?
Will that clear the stalled pack operation automagically?
Will I need to do something manually with the Data.fs.pack file?

Any assistance appreciated...!
thanks,
John S.

Traceback:
---------------------
2010-01-27T03:51:09 INFO ZEO.zrpc.Connection(S) (127.0.0.1:35831) vote() 
raised exception: [Errno 28] No space left on device
Traceback (most recent call last):
   File "/opt/Plone-2.5.5/lib/python/ZEO/zrpc/connection.py", line 421, 
in handle_request
     ret = meth(*args)
   File "/opt/Plone-2.5.5/lib/python/ZEO/StorageServer.py", line 465, in 
vote
     return self._wait(lambda: self._vote())
   File "/opt/Plone-2.5.5/lib/python/ZEO/StorageServer.py", line 583, in 
_wait
     return self._restart()
   File "/opt/Plone-2.5.5/lib/python/ZEO/StorageServer.py", line 599, in 
_restart
     resp = self._thunk()
   File "/opt/Plone-2.5.5/lib/python/ZEO/StorageServer.py", line 465, in 
<lambda>
     return self._wait(lambda: self._vote())
   File "/opt/Plone-2.5.5/lib/python/ZEO/StorageServer.py", line 539, in 
_vote
     return self.storage.tpc_vote(self.transaction)
   File "/opt/Plone-2.5.5/lib/python/ZODB/FileStorage/FileStorage.py", 
line 891, in tpc_vote
     self._file.flush()
IOError: [Errno 28] No space left on device
---------------------------

-- 
John Schinnerer - M.A., Whole Systems Design
--------------------------------------------
- Eco-Living -
Whole Systems Design Services
People - Place - Learning - Integration
john at eco-living.net
http://eco-living.net


More information about the Zope mailing list