[ZODB-Dev] Location of transient caches

mauro mauro.amico at gmail.com
Sat Feb 20 03:34:37 EST 2010


On 02/19/2010 04:26 PM, Andy Theyers wrote:
> Is there any way I can change the location of the transient cache files,
> putting them on a partition with more space?  I've been scouring the
> source but am yet to come up with the bit that creates the temporary
> cache files.  It's not an area of Zope that I've got any experience of.
>    

The easy way (IMHO):

You can add something like this to the zope.conf:

<environment>
TMPDIR /var/tmp
</environment>

Or, if you are using buildout:

[instance]
recipe = plone.recipe.zope2install
...
environment-vars =
     TMPDIR /var/tmp

Mauro.


More information about the ZODB-Dev mailing list