[Zope-Coders] AW: [ZC] 428/ 2 Comment "FTP and large file uploads"
SerialmousE
serial@serialzgarten.dyndns.org
Wed, 12 Jun 2002 02:42:17 +0200
Gee... I guess i'd have to sign up to add a comment myslef so sorry if
this mail bothers anybody...
I just wanted to use zopes user management and security system along
with the software archive, and maybe some
Search capability later on, but I guess I'll try storing the user
information in an LDAP server...
Thanks for the help
Francisco
Issue #428 Update (Comment) "FTP and large file uploads"
Status Pending, Zope/bug medium
To followup, visit:
http://collector.zope.org/Zope/428
==============================================================
= Comment - Entry #2 by ajung on Jun 11, 2002 8:34 pm
This looks like a memory problem. In general Zope stores uploaded
content in a temporary file before it stores the data inside the ZODB.
Beside the reported problem, do really want to store
such big pieces of data inside the ZODB? Better you
use Apache to serve such large pieces of data instead
using the ZODB.
-aj
________________________________________
= Request - Entry #1 by Anonymous User on Jun 11, 2002 8:25 pm
I am trying to build a Software Archive using Zopes
built-in FTP-Support. When I try to upload a large file (600MB+) I get
the following behaviour:
Windows:
After a while the zope server raises an uncaught out of memory
exception: <snip> 2002-06-11T23:07:39 ERROR(200) ZServer uncaptured
python exception, closing chan nel
<ZServer.medusa.ftp_server.recv_channel connected at 0x16e1c7c>
(exceptions. MemoryError:out of memory
[R:\KORNSP~1\ZServer\medusa\asyncore.py|poll|94] [R:\K
ORNSP~1\ZServer\medusa\asyncore.py|handle_read_event|391]
[R:\KORNSP~1\ZServer\m edusa\ftp_server.py|handle_read|937]
[R:\KORNSP~1\ZServer\FTPServer.py|write|538
])
</snip>
and my client (Internet Explorer 6.0) crashes
Linux:
Pretty much the same. As I upload the file I can watch my swap partition
fill up. I didn't have the guts to see it through to the end, though ;-)
WebDAV(using windows built-in WebFolders) doesn't work to well with
large files either, though I couldn't collect any information on that
problem till now.
Francisco ==============================================================