[ZODB-Dev] Where's ZEO client temp cache files in Linux?
Andrew Sydelko
andrew at sydelko.org
Wed Nov 12 12:41:26 EST 2003
On Wed, 12 Nov 2003 10:28:45 -0500
Jeremy Hylton <jeremy at zope.com> wrote:
> On Wed, 2003-11-12 at 03:49, Choo Zhi Min wrote:
> > I also run the same ZEO client in Red Hat Linux 9. But I couldn't find any
> > .zec and .tbuf files in ~/ , /tmp or /var/tmp. Where do these files go?
> > Are they hidden in some obscure directory and eat up my hdd space?
>
> The temporary cache files are created using tempfile.TemporaryFile().
> They are unlinked as soon as they are opened, so you won't be able to
> find the files in the directory.
You can use a tool like lsof to see the temporary files as
they still take up a file descriptor. Lsof will also show you
how much space each temporary file is taking.
--andy.
More information about the ZODB-Dev
mailing list