Thanks for you all guys, I went from 1.8 gig to 66 mb for the data.fs It worked, the packing also created a data.fs.old file. I will keep it for a week incase the site has any problem, then I will delete if all is well. -----Original Message----- From: Andreas Jung [mailto:andreas@andreas-jung.com] Sent: Tuesday, April 29, 2003 11:59 AM To: Patel, Tejash; zope@zope.org Subject: Re: [Zope] Data.fs file growing ControlPanel -> Database Management -> Pack -aj --On Dienstag, 29. April 2003 11:54 Uhr -0400 "Patel, Tejash" <Tejash.Patel@dowjones.com> wrote:
Hello All,
My data.fs is growing larger then I expected, currently it's at 1.8 gig. Is there a way I can shrink or clean it out. I think I now why my file is increasing this fast. I have a ftp batch script to upload documents to the site. The documents are always at my client server, meaning they are uploaded every time the batch script is run. Is there a fix to this?
Thank you in advance.
TP
_______________________________________________ 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 )
On Tue, Apr 29, 2003 at 12:55:27PM -0400, Patel, Tejash wrote:
Thanks for you all guys,
I went from 1.8 gig to 66 mb for the data.fs It worked, the packing also created a data.fs.old file. I will keep it for a week incase the site has any problem, then I will delete if all is well.
that's a LOT of packing :) it sounds like your upload script is needlessly updating a lot of stuff. You might consider making the script smarter. e.g. in zope, make a Script (Python) that returns bobobase_modification_time of the context in some format that your upload script can easily compare to the modification time of the file, and only upload each file if it's newer. -- Paul Winkler home: http://www.slinkp.com "Muppet Labs, where the future is made - today!"
participants (2)
-
Patel, Tejash -
Paul Winkler