[Zope] Re: data file keeps growing

Declan Shanaghy declan at shanaghy.com
Fri Nov 12 12:11:15 EST 2004


No i dont have any sort of member tracking code.

I already ran that script and i know my system cannot
handle large files.

I dont need to handle large files. i need to find out
what is being written into the MemberData.fs file.

Can i monitor the data being written into the file or
anything?



--- Tres Seaver <tseaver at zope.com> wrote:

> 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