[ZODB-Dev] Temporary files not closed

Benji York benji at zope.com
Thu Jun 25 08:09:30 EDT 2009


On Thu, Jun 25, 2009 at 4:46 AM, Izak Burger<izak at upfrontsystems.co.za> 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 process id PID), I see many descriptors that
> point to open files, eg:
>
> $ ls -go /proc/15431/fd | grep deleted
> lrwx------ 1 64 2009-06-25 10:09 13 -> /var/tmp/tmptBEWCx.tbuf (deleted)
> lrwx------ 1 64 2009-06-25 10:09 14 -> /var/tmp/tmpKSuzMN (deleted)
> lrwx------ 1 64 2009-06-25 10:09 6 -> /var/tmp/tmp2HUAnn.tbuf (deleted)
> lrwx------ 1 64 2009-06-25 10:09 7 -> /var/tmp/tmpex5QmJ (deleted)

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.
-- 
Benji York
Senior Software Engineer
Zope Corporation


More information about the ZODB-Dev mailing list