[Zope-dev] zope /tmp file usage
Sidnei da Silva
sidnei at awkly.org
Thu Mar 31 09:29:07 EST 2005
On Thu, Mar 31, 2005 at 01:52:11AM -0500, Pavel Zaitsev wrote:
| <snip> if someone knows of what circuimstances zope would use /tmp
| directory to create a file...
Anytime the request coming in is bigger than the config variable
'large-file-threshold' (see <INSTANCE_HOME>/etc/zope.conf), the
request body is streamed to a temp file. That's because otherwise the
whole file gets loaded as a string in the memory, and can possibly
take your server down by memory exaustion. Disk exaustion is less
likely to occur given hard drives are cheaper than RAM *wink*.
Sidnei da Silva <sidnei at awkly.org>
http://awkly.org - dreamcatching :: making your dreams come true
What this country needs is a good five cent microcomputer.
More information about the Zope-Dev