Re: [ZODB-Dev] Temporary files not closed

2009-06-25 Thread Jim Fulton
On Jun 25, 2009, at 6:56 AM, Chris Withers wrote: > Jim Fulton wrote: >> I haven't seen this and, looking at the code on the trunk, I see >> no reason why many savepoint temporary storages or ZEO >> transaction buffers would be kept open. Savepoint temporary >> storages are closed after

Re: [ZODB-Dev] Temporary files not closed

2009-06-25 Thread Alan Runyan
On Thu, Jun 25, 2009 at 7:19 AM, Izak Burger wrote: > Benji York wrote: >> Have you looked at the contents of the files?  Once you have an idea of >> what is being written you might be able to determine what is doing the >> writing. > > The big 6.3GB one contains pickles. Lots and lots of pickles.

Re: [ZODB-Dev] Temporary files not closed

2009-06-25 Thread Izak Burger
Izak Burger wrote: > I suspect we're simply dealing with a process that creates a LOT of > savepoints before finally committing. The developer of the application > is out at the moment, when he gets back from his lunch-break/touch-rugby > game I shall ask him about this. The developer confirmed

Re: [ZODB-Dev] Temporary files not closed

2009-06-25 Thread Izak Burger
Benji York wrote: > Have you looked at the contents of the files? Once you have an idea of > what is being written you might be able to determine what is doing the > writing. The big 6.3GB one contains pickles. Lots and lots of pickles. I suspect we're simply dealing with a process that creates

Re: [ZODB-Dev] Temporary files not closed

2009-06-25 Thread Benji York
On Thu, Jun 25, 2009 at 4:46 AM, Izak Burger wrote: > Hi all, > > This is a zope issue that I think is probably zodb related. I've been > seeing this behaviour for a couple of years now. When I inspect > /proc/PID/fd (on a linux machine, this lists the open file descriptors > held by the process wi

Re: [ZODB-Dev] Temporary files not closed

2009-06-25 Thread Izak Burger
Chris Withers wrote: > I wonder if Izak inadvertently has lots of savepoints lying around? I looked at the code and I have to agree that I cannot see anything obviously wrong there. I just checked a number of zope processes and I see they all have 4 or 5 of these "deleted" files open. These file

Re: [ZODB-Dev] Temporary files not closed

2009-06-25 Thread Chris Withers
Jim Fulton wrote: > I haven't seen this and, looking at the code on the trunk, I see no > reason why many savepoint temporary storages or ZEO transaction > buffers would be kept open. Savepoint temporary storages are closed > after use I wonder if Izak inadvertently has lots of savepoints

Re: [ZODB-Dev] Temporary files not closed

2009-06-25 Thread Jim Fulton
On Jun 25, 2009, at 4:46 AM, Izak Burger wrote: > Hi all, > > This is a zope issue that I think is probably zodb related. I've been > seeing this behaviour for a couple of years now. When I inspect > /proc/PID/fd (on a linux machine, this lists the open file descriptors > held by the process with

Re: [ZODB-Dev] Temporary files not closed

2009-06-25 Thread Izak Burger
Chris Withers wrote: > Never experienced this myself, what storage(s) are you using? We have a Zeo server with two zope clients, with a single FileStorage based store. ___ For more information about ZODB, see the ZODB Wiki: http://www.zope.org/Wikis/ZOD

Re: [ZODB-Dev] Temporary files not closed

2009-06-25 Thread Chris Withers
Izak Burger wrote: > Before I dive into the code and attempt to find the problem, I thought > I'd post first, partly to report the problem, but at the same time to > find out if anyone has seen this and if perhaps a fix is already available. Never experienced this myself, what storage(s) are you