[Zope] zope freezes
Sebastian Lühnsdorf
sfl@beehive-eu.com
Fri, 20 Sep 2002 13:24:14 +0000
hi!
we are still having problems with freezing zope servers. we are relaying
requests to an http server in the intranet, that means we are retrieving the
page via httplib. under some circumstances, i.e. with slow pages and several
concurrent requests, Zope freezes completely (all threads) until the requested
page is fully processed. If somebody has experienced likewise and/or has any
info or help.
ciao, basti
Zope Version: Zope 2.4.1 (source release, python 2.1, linux2)
Python version: 2.1.1 (#3, Jan 24 2002, 17:10:04) [GCC 2.96 20000731 (Red Hat
Linux 7.1 2.96-98)]
Number of threads: 50 (Zserver -t option) - experimenting...
Interpreter check interval: default value = 120 (Zserver -i option)
Current code (x-th revision):
http = httplib.HTTP( host )
http.putrequest( "GET", url )
http.putheader( 'Content-type', 'application/x-www-form-urlencoded' )
http.putheader( 'Content-length', '0' )
http.putheader( 'Accept', 'text/html' ) # we can handle text/html
http.putheader( 'Accept', 'text/plain' ) # we can handle text/plain
http.putheader( 'Host', host )
http.endheaders()
http.send('')
r1, r2, r3 = http.getreply()
r4 = http.getfile()
pageSrc = r4.read()
r4.close()
return pageSrc
--
Sebastian Lühnsdorf (sfl@beehive-eu.com)