Zope temporary files bloating /tmp/
Hi all, a sysadmin-friend of mine noticed that on their system Zope 2.6 is creating a large number of tempfiles that bloat the tmp partition on the system and do not get deleted/released for a long time. In the worst case there are over 200 megabytes of these tempfiles bloating the temp and nothing else than a restart seems to help. I would need some help for debugging this kind of behaviour and what could be done. So far I know that tempfiles are used for example in situations of upload or downloads, where Zope writes the file to a tempfile before/after it is written to ZODB. Any help and insight would be appreciated. -huima
Heimo Laukkanen wrote:
system and do not get deleted/released for a long time. In the worst case there are over 200 megabytes of these tempfiles bloating the temp and nothing else than a restart seems to help.
There was a fix for this in CVS as of the 9th, not sure if its a whole fix, or if it even works, but shane made some changes that sound like they pertain to these descriptor leaks. You should be able to get a full diff by comparing 2003-04-08's tree to 2003-04-09's tree. -- Jamie Heilman http://audible.transient.net/~jamie/ "Most people wouldn't know music if it came up and bit them on the ass." -Frank Zappa
Jamie Heilman wrote:
There was a fix for this in CVS as of the 9th, not sure if its a whole fix, or if it even works, but shane made some changes that sound like they pertain to these descriptor leaks. You should be able to get a full diff by comparing 2003-04-08's tree to 2003-04-09's tree.
Thanks, have to take a look. Will these fixes be in a fix or new release also in the near future? I know that the sysadmin is not that happy applying single patches or replacing file here and there. -huima
Heimo Laukkanen wrote:
Will these fixes be in a fix or new release also in the near future?
Who knows, I wouldn't bet on it. -- Jamie Heilman http://audible.transient.net/~jamie/ "Most people wouldn't know music if it came up and bit them on the ass." -Frank Zappa
participants (2)
-
Heimo Laukkanen -
Jamie Heilman