Problems uploading large attachments
I am using confera to help coordinate some development work I would like people to be able to upload large (100k) attachments into the system so the documents can be shared by people at different sites. I find that things work fine for small attachments, but for larger attachments, Zope is very slow in reading from the socket, and the browser often times out. Any ideas? Also, couldn't seem to run strace on the zope process. I started under strace but the system went bezerk opening sockets or something. Is there any way to start a single-process non-threaded zope server? (Oh, Zope 2.1.6, Linux glibc/2.0.something kernel,ix86). -- cary
On Thu, 8 Jun 2000, Cary O'Brien wrote:
Also, couldn't seem to run strace on the zope process. I started under strace but the system went bezerk opening sockets or something. Is there any way to start a single-process non-threaded zope server?
I've noticed this, too, under BSDI 4.1 and FreeBSD 3.4. When Zserver starts up, something (presumably in a Python library) opens a separate listen socket on every possible port number (or something like that). Then they all go away except the ones actually in use. I observed this by the simple expedient of doing a ./start; lsof >tempfile, and seeing all those open sockets. I discovered this because running with a generic 3.4 kernel I was getting a 'too many open files' message every time I started Zope. It hasn't kept anything from working, so I haven't bothered to track this any further yet. Oh, and you can start Zope single threaded by using the -D switch, I believe. I'm not sure that will help with the socket berzerkness <wry grin>. --RDM
participants (2)
-
Cary O'Brien -
R. David Murray