too fast growing data.fs
Hi! my data.fs is growing too fast. I just insert some object at day, edit scripts... and it grows from 50MB to 400MB in two weeks! how can I solve it other than pack daily? what should I look for? thanks :)
--On Mittwoch, 10. Dezember 2003 11:33 Uhr +0100 Carrer Yuri <yurj@alfa.it> wrote:
Hi!
my data.fs is growing too fast. I just insert some object at day, edit scripts... and it grows from 50MB to 400MB in two weeks!
how can I solve it other than pack daily? what should I look for?
A growing Data.fs is completely normal since data is always appended to the file. Regular packing is a normal maintenance job which can be run automatically e.g. at night. -aj
On Wednesday 10 December 2003 11:39, Andreas Jung wrote:
--On Mittwoch, 10. Dezember 2003 11:33 Uhr +0100 Carrer Yuri <yurj@alfa.it>
wrote:
Hi!
my data.fs is growing too fast. I just insert some object at day, edit scripts... and it grows from 50MB to 400MB in two weeks!
how can I solve it other than pack daily? what should I look for?
A growing Data.fs is completely normal since data is always appended to the file. Regular packing is a normal maintenance job which can be run automatically e.g. at night.
-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 )
-- Rakotomandimby Mihamina Andrianifaharana Tel : +33 2 38 76 43 65 http://stko.dyndns.info/site_principal/Members/mihamina
Andreas Jung ha scritto:
--On Mittwoch, 10. Dezember 2003 11:33 Uhr +0100 Carrer Yuri <yurj@alfa.it> wrote:
Hi!
my data.fs is growing too fast. I just insert some object at day, edit scripts... and it grows from 50MB to 400MB in two weeks!
how can I solve it other than pack daily? what should I look for?
A growing Data.fs is completely normal since data is always appended to the file. Regular packing is a normal maintenance job which can be run automatically e.g. at night.
Then, why append if you every night pack it? :) An how-to on packing via cron?
On Wed, Dec 10, 2003 at 12:43:26PM +0100, Carrer Yuri wrote:
Andreas Jung ha scritto:
--On Mittwoch, 10. Dezember 2003 11:33 Uhr +0100 Carrer Yuri <yurj@alfa.it> wrote:
Hi!
my data.fs is growing too fast. I just insert some object at day, edit scripts... and it grows from 50MB to 400MB in two weeks!
how can I solve it other than pack daily? what should I look for?
A growing Data.fs is completely normal since data is always appended to the file. Regular packing is a normal maintenance job which can be run automatically e.g. at night.
Then, why append if you every night pack it? :)
I don't understand the question. "why" is irrelevant. Data.fs is appended to every time something in zope changes. That's just how it works.
An how-to on packing via cron?
Online zope book, maintenance chapter. -- Paul Winkler http://www.slinkp.com Look! Up in the sky! It's TAXI DRIVER BOOMERANG! (random hero from isometric.spaceninja.com)
Carrer Yuri wrote at 2003-12-10 11:33 +0100:
my data.fs is growing too fast. I just insert some object at day, edit scripts... and it grows from 50MB to 400MB in two weeks!
how can I solve it other than pack daily? what should I look for?
Often (though not always), a fast growing "Data.fs" indicates problems. With the "fsdump" utility, you can get a readable representation of your "Data.fs" (it will be huge, of course, for a 400 MB "Data.fs"). You can look at it and see what types of objects are modified in the various transactions. If necessary, the objects can be analysed deeper. -- Dieter
A fast growing Data.fs could also come with some big copy and pastes within in the ZODB. Remember, if you cut a 100MB file and paste it to another area of you Zope installation, you are creating an "undo" of it three times. This is the same if you cut/paste a lot of images. There are also some products that write to the ZODB with every request (like AdManager). Jake http://www.zopezone.com On Dec 10, 2003, at 5:33 AM, Carrer Yuri wrote:
Hi!
my data.fs is growing too fast. I just insert some object at day, edit scripts... and it grows from 50MB to 400MB in two weeks!
how can I solve it other than pack daily? what should I look for?
thanks :)
_______________________________________________ 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 (6)
-
Andreas Jung -
Carrer Yuri -
Dieter Maurer -
Jake -
Paul Winkler -
Rakotomandimby Mihamina