[Zope] FOLLOWUP: 120MB file import failures

Jens Vagelpohl jens at dataflake.org
Tue Dec 6 04:51:49 EST 2005


On 6 Dec 2005, at 01:05, Michael Dexter wrote:
> The solution appears to be that python can use the TMPDIR variable  
> to specify where tmp should default to (reportedly it will try  
> various locations) but, I am not clear how I can add this to Zope's  
> rc script to declare it. I tried it as simply setting the  
> environment variable "set TMPDIR=/tmp" but that gave warnings about  
> the startup logic.
>
> 1. Should TMPDIR work?
> 2. Where should I declare it when using rc scripts?
> 3. Any chance zope.conf can use it?

zope.conf has a directive "environment" for exactly that purpose.

jens




More information about the Zope mailing list