Re: [Zope] Problems uploading large attachments

2000-06-08 Thread R. David Murray

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 .

--RDM


___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




[Zope] Problems uploading large attachments

2000-06-08 Thread Cary O'Brien


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

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )