[Zope] FastCGI server crashing

2006-08-07 Thread David Chandek-Stark
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 )


Re: [Zope] FastCGI server crashing

2006-08-07 Thread Dieter Maurer
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
___
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 )