[Zope] FastCGI server crashing
Dieter Maurer
dieter at handshake.de
Mon Aug 7 15:13:01 EDT 2006
David Chandek-Stark wrote at 2006-8-7 11:37 -0400:
>I am experiencing seemingly random crashes of the Zope FastCgi server
>that are really annoying users. Any help most appreciated.
>
>Apache errors:
>
>FastCGI: comm with server "/space/apache2/fcgi-bin/zope.cgi" aborted:
>idle timeout (30 sec)
>FastCGI: incomplete headers (0 bytes) received from server
>"/space/apache2/fcgi-bin/zope.cgi"
>
>Zope error:
>
>2006-08-07T11:17:36 ERROR(200) ZServer uncaptured python exception,
>closing channel <ZServer.FCGIServer.FCGIChannel connected
>127.0.0.1:43792 at 0x43c13e2c> (socket.error:(32, 'Broken pipe')
>[/usr/local/python235/lib/python2.3/asynchat.py|initiate_send|218]
>[/usr/local/python235/lib/python2.3/asyncore.py|send|337])
What you see is almost surely a long running request:
Apparently your Apache is configured that a 30s timeout
is in effect for the "FastCGI" communication. After the timeout,
Apache abort the request.
When Zope finally completes, it tries to send the response
and fails because the connection was closed by Apache
(that's the "ZServer uncaptured python exception").
You may try to increase the timeout -- or avoid long running requests ...
--
Dieter
More information about the Zope
mailing list