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]) System: Redhat 7.3 Apache 2.0.52 mod_fastcgi 2.4.4 Python 2.3.5 Zope 2.7.8 Thanks!
Looks like the problem was an inbound RSS feed from a server that was down. The FastCGI process was timing out before the RSS request from CMFSin timed out. David Chandek-Stark wrote:
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])
System:
Redhat 7.3 Apache 2.0.52 mod_fastcgi 2.4.4 Python 2.3.5 Zope 2.7.8
Thanks!
_______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 7 Aug 2006, at 12:09, David Chandek-Stark wrote:
Looks like the problem was an inbound RSS feed from a server that was down. The FastCGI process was timing out before the RSS request from CMFSin timed out.
You're probably aware of the fact that FastCGI is no longer a supported configuration. Is there any specific reason you're using it instead of RewriteRules for example? jens -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (Darwin) iD8DBQFE1210RAx5nvEhZLIRAieRAJ9Di9HdK4HWS+oAtIXLlW+A/KtsmQCgtJga lqpJCUmCmyMCceQe29H7vf0= =YLu4 -----END PGP SIGNATURE-----
Jens Vagelpohl wrote:
You're probably aware of the fact that FastCGI is no longer a supported configuration. Is there any specific reason you're using it instead of RewriteRules for example?
jens
Actually, I wasn't aware. I'm using FastCGI b/c I am doing external authentication with an Apache module that sets REMOTE_USER. I have to use FastCGI to pass this variable to Zope and am using RemoteUserFolder for the Zope authentication. I am hoping that I will be able to move to PAS with Shibboleth, but haven't had time ... Major app is a Plone 2.0.5 site. Thanks, David
----- Original Message ----- From: "David Chandek-Stark" <dc@duke.edu> To: <zope@zope.org> Sent: Monday, August 07, 2006 2:04 PM Subject: [Zope] Re: FastCGI server crashing
Jens Vagelpohl wrote:
You're probably aware of the fact that FastCGI is no longer a supported configuration. Is there any specific reason you're using it instead of RewriteRules for example?
jens
Actually, I wasn't aware. I'm using FastCGI b/c I am doing external authentication with an Apache module that sets REMOTE_USER. I have to use FastCGI to pass this variable to Zope and am using RemoteUserFolder for the Zope authentication. I am hoping that I will be able to move to PAS with Shibboleth, but haven't had time ...
I haven't done this myself, but according to the apache docs (http://httpd.apache.org/docs/2.2/mod/mod_rewrite.html) the mod_rewrite module has access to REMOTE_USER and using url rewriting you should be able to pass it along (and thereby get rid of fastcgi). Jonathan
On Tue, 2006-08-08 at 12:03 +0200, Tonico Strasser wrote:
Jens Vagelpohl schrieb:
... FastCGI is no longer a supported configuration.
Just out of curiosity, why isn't it supported anymore?
Mostly because nobody stepped up to support it. - C
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
participants (6)
-
Chris McDonough -
David Chandek-Stark -
Dieter Maurer -
Jens Vagelpohl -
Jonathan -
Tonico Strasser