Well, the ol' Data.fs got bigger (now 3.9GB) and so it's time to cut it back down to size. Unfortunately, just clicking "pack" on the control panel does not seem to do the job. This Data.fs has a history (2.5.1b3, 2.6, and now 2.7.3). The question is, how to pack it.
On Mon, 29 Nov 2004 20:11:02 -0800 (PST), Dennis Allison <allison@sumeru.stanford.edu> wrote:
Well, the ol' Data.fs got bigger (now 3.9GB) and so it's time to cut it back down to size. Unfortunately, just clicking "pack" on the control panel does not seem to do the job.
This Data.fs has a history (2.5.1b3, 2.6, and now 2.7.3). The question is, how to pack it.
tracebacks and what ever symptoms should help us see what might be the problem..
_______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
-- http://myzope.kedai.com.my - my-zope.org
--On Montag, 29. November 2004 20:11 Uhr -0800 Dennis Allison <allison@sumeru.stanford.EDU> wrote:
Well, the ol' Data.fs got bigger (now 3.9GB) and so it's time to cut it back down to size. Unfortunately, just clicking "pack" on the control panel does not seem to do the job.
Why not? Any errors messages?? -aj
No error messages. Control panel says the db size is 3758.6MB but the actual size of the file is 3941.2MB. Zope is 2.6.4, python is 2.3.4. When I tried it again a moment ago it responded saying "already packing". Maybe the pack has not completed... The var directory includes a Data.fs.pack of about 1.8GB which is slowly growing. Of course there's Zope thread using lots of CPU... Perhaps the process is just glacially slow.... On Tue, 30 Nov 2004, Andreas Jung wrote:
--On Montag, 29. November 2004 20:11 Uhr -0800 Dennis Allison <allison@sumeru.stanford.EDU> wrote:
Well, the ol' Data.fs got bigger (now 3.9GB) and so it's time to cut it back down to size. Unfortunately, just clicking "pack" on the control panel does not seem to do the job.
Why not? Any errors messages??
-aj _______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
The pack operation appears to have stopped, but it did not complete properly. It left several files from the packing procss in the var directory: Data.fs.index.index-tmp Data.fs.pack so cleanup was incomplete. Looking at the event log, there's an OSError: [Errno 1] Operation not permitted from line 1513 in FileStorage.py. The failure is on os.rename(). I checked the protections and everything looks ok. (System runs as user zope but gets started by root. The Data.fs file are all read write by anyone and are owned by root. Changing ownership to zope.zope of all the Data.fs files seems to have fixed the problem.... Thanks to all who helped. On Mon, 29 Nov 2004, Dennis Allison wrote:
No error messages.
Control panel says the db size is 3758.6MB but the actual size of the file is 3941.2MB.
Zope is 2.6.4, python is 2.3.4.
When I tried it again a moment ago it responded saying "already packing". Maybe the pack has not completed...
The var directory includes a Data.fs.pack of about 1.8GB which is slowly growing. Of course there's Zope thread using lots of CPU... Perhaps the process is just glacially slow....
On Tue, 30 Nov 2004, Andreas Jung wrote:
--On Montag, 29. November 2004 20:11 Uhr -0800 Dennis Allison <allison@sumeru.stanford.EDU> wrote:
Well, the ol' Data.fs got bigger (now 3.9GB) and so it's time to cut it back down to size. Unfortunately, just clicking "pack" on the control panel does not seem to do the job.
Why not? Any errors messages??
-aj _______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
_______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Dennis Allison wrote at 2004-11-30 01:35 -0800:
... The pack operation appears to have stopped, but it did not complete properly. It left several files from the packing procss in the var directory:
Data.fs.index.index-tmp Data.fs.pack
so cleanup was incomplete. Looking at the event log, there's an OSError: [Errno 1] Operation not permitted from line 1513 in FileStorage.py. The failure is on os.rename(). I checked the protections and everything looks ok. (System runs as user zope but gets started by root.
The Data.fs file are all read write by anyone and are owned by root.
The "rename" operation modifies the containing folder (as does the "delete" operation). Therefore, modification rights on the folder are required. -- Dieter
On Mon, Nov 29, 2004 at 08:11:02PM -0800, Dennis Allison wrote:
Well, the ol' Data.fs got bigger (now 3.9GB) and so it's time to cut it back down to size. Unfortunately, just clicking "pack" on the control panel does not seem to do the job.
This Data.fs has a history (2.5.1b3, 2.6, and now 2.7.3). The question is, how to pack it.
you know the drill... - how do you know that it didn't work? - what traceback do you get, if any? -- Paul Winkler http://www.slinkp.com
Yes <sign> ... no diagnostics, no traceback, nada Data.fs size does not change. I tried rerunning but it died saying that a pack was in progress. But, if so, it's been running for nearly 4 hours.... But I do have a processor hungry thread running. Maybe the pack has not completed.... On Tue, 30 Nov 2004, Paul Winkler wrote:
On Mon, Nov 29, 2004 at 08:11:02PM -0800, Dennis Allison wrote:
Well, the ol' Data.fs got bigger (now 3.9GB) and so it's time to cut it back down to size. Unfortunately, just clicking "pack" on the control panel does not seem to do the job.
This Data.fs has a history (2.5.1b3, 2.6, and now 2.7.3). The question is, how to pack it.
you know the drill... - how do you know that it didn't work? - what traceback do you get, if any?
--
Paul Winkler http://www.slinkp.com _______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
participants (5)
-
Andreas Jung -
Bakhtiar A Hamid -
Dennis Allison -
Dieter Maurer -
Paul Winkler