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

John Schinnerer john at eco-living.net
Wed Jan 27 23:12:20 EST 2010


Thanks Bakhtiar,

That's what I was hoping, and I wanted some confirmation from those 
who've done it.
I just did as you indicated - deleted Data.fs.pack, then ran the pack 
again. It completed successfully.

regards,
John S.

Bakhtiar A Hamid wrote:
> On Thu, Jan 28, 2010 at 5:06 AM, John Schinnerer <john at eco-living.net> wrote:
>> 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.
> 
> 
> Hi
> 
> we've had the same issue (on an old setup with limited disk space) and
> removing Data.fs.pack should suffice.
> 
> We just repack after deleting.
> 
> you can copy Data.fs if you want to.
> 
> hth
>> 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
>> _______________________________________________
>> Zope maillist  -  Zope at zope.org
>> https://mail.zope.org/mailman/listinfo/zope
>> **   No cross posts or HTML encoding!  **
>> (Related lists -
>>  https://mail.zope.org/mailman/listinfo/zope-announce
>>  https://mail.zope.org/mailman/listinfo/zope-dev )
>>
> 

-- 
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