[Zope-dev] ZServer(FCGI) stability
Pavlos Christoforou
pavlos@gaaros.com
Fri, 4 Feb 2000 13:27:11 -0500 (EST)
Hello -
Unfortunately our site which runs both under straight ZServer and through
FastCGI hangs and requires restarting every day. Here is some debuging
info (Zope-2.1.3).
Unhandled exception in thread: Traceback (innermost last):
File "/usr/local/Zope-2.1.3-src/ZServer/PubCore/ZServerPublisher.py",
line 97, in __init__
response._finish()
File "/usr/local/Zope-2.1.3-src/ZServer/FCGIServer.py", line 699, in
_finish
'log_request'))
File "/usr/local/Zope-2.1.3-src/ZServer/FCGIServer.py", line 564, in
push
if send: self.initiate_send()
File "/usr/local/Zope-2.1.3-src/ZServer/medusa/asynchat.py", line 206,
in initiate_send
self.refill_buffer()
File "/usr/local/Zope-2.1.3-src/ZServer/medusa/asynchat.py", line 190,
in refill_buffer
self.producer_fifo.pop()
File "/usr/local/Zope-2.1.3-src/ZServer/medusa/asynchat.py", line 264,
in pop
del self.list[0]
IndexError: list assignment index out of range
I suppose I could modify the fifo class in asynchat to check for empty
self.list before attempting to index it, but I believe such a situation
should not normally arise (ie calling del self.list[0] on an empty list).
Seems to me that the problem is with FCGIServer.py.
As I need a temporary solution *quickly* I will modify the fifo class and
hopefully I won't create more problems ...
Any ideas?
Pavlos