[Zope] Re: data file keeps growing

Tres Seaver tseaver at zope.com
Fri Nov 12 08:33:50 EST 2004


Declan Shanaghy wrote:
> I have the /Members folder of a CMF site mounted in
> its own separate ZODB called MemberData.fs.
> 
> The file keeps growing at an alarming rate of about
> 400MB a day until it eventually reaches the 2GB limit
> them i get loads of MemberData.fs.trxxxx files
> 
> There's no extra data explicitly being put into the
> member homes, if i go to pack database it reduces back
> to about 50MB
> 
> Does anyone have the slightest clue what could be
> going on?!?!?!?!?

Two things:

   - Do you have some kind of "member activity tracking" code which
     would be writing into the member folder on each request?

   - You need to run with a python which is enabled for large files.
     E.g., try:

      $ /path/to/bin/python \
        /path/to/lib/python2.3/tests/test_largefile.py

     If that shows any errors, you need to use a different python
     (the "recommended best practice" is to use a separate python
      from the one which your OS vendor ships, anyway).

Tres.
-- 
===============================================================
Tres Seaver                                tseaver at zope.com
Zope Corporation      "Zope Dealers"       http://www.zope.com



More information about the Zope mailing list