[Zope-dev] opinion: speeding up large PUT uploads
Pavel Zaitsev
pavel at md5.ca
Wed Apr 6 00:45:15 EDT 2005
Hello,
If you look above I had problems with zope creating temp files, as I am
using Mac OS X and Webdav to Zope
mounted on the same machine. There is some race condition on locks in
mach kernel, and sometimes zope
dies, as open system call never returns. I had two choices, one to fix
Darwin kernel, and one to
make TempFile use StringIO, which worked wonderfully. You can override
make_file of FieldStorage
to return StringIO(), or cStringIO(). Now there are no problems with
locked out files, for me.
laters,
pavel
More information about the Zope-Dev
mailing list