[Zope-dev] Zope server hanging

Stefane Fermigier sf@fermigier.com
19 Oct 2001 12:53:40 GMT


Hi,

I've sent this message yesterday to the EuroZope list but got not 
conclusive answer:

The eurozope.org Zope instance was down again this morning due to the
same recurring problem as last week:

2001-10-18T02:32:52 ERROR(200) ZServer uncaptured python exception,
closing channel <select-trigger (pipe) at 81e28c4>
(exceptions.OSError:[Errno 11] Resource temporarily unavailable
[/home/eurozope/Zope-2.4.1-linux2-x86/lib/python2.1/asyncore.py|poll|95]
[/home/eurozope/Zope-2.4.1-linux2-x86/lib/python2.1/asyncore.py|handle_read_event|383]
[/home/eurozope/Zope-2.4.1-linux2-x86/ZServer/medusa/thread/select_trigger.py|handle_read|77]
[/home/eurozope/Zope-2.4.1-linux2-x86/lib/python2.1/asyncore.py|recv|335]
[/home/eurozope/Zope-2.4.1-linux2-x86/lib/python2.1/asyncore.py|recv|517])

Notes:

OS = Linux 2.2.19.

start file = 

------------------------------------------------------------------------------
#! /bin/sh
reldir=`dirname $0`
INST_HOME=`cd $reldir; pwd`
export INST_HOME
STUPID_LOG_FILE=$INST_HOME/var/stupid_log_file.log
export STUPID_LOG_FILE
exec /home/eurozope/Zope-2.4.1-linux2-x86/bin/python \
     $INST_HOME/z2.py \
     -l /dev/null -P8400 "$@"
------------------------------------------------------------------------------

(The bug happens even without '-l /dev/null').

Apache config =

------------------------------------------------------------------------------
ServerName www.eurozope.org
ServerAlias eurozope.org
ServerAlias eurozope.com
ServerAlias www.eurozope.com
CustomLog logs/eurozope.org-access_log combined

RewriteEngine On
RewriteRule ^/(.*) http://localhost:8480/eurozope.org/$1 [P,l]
------------------------------------------------------------------------------

Of course, the bug doesn't happen when I'm stressing the server with
Apache Bench or a similar tool. It just happens *sometimes* (not once in
6 months, then twice in one week) on the live server.

Does anyone here know what's going on ? It seems to me that this bug
has been around for more than a year.

Regards,

  S.

-- 
Stéfane Fermigier, Tel: +33 (0)6 63 04 12 77 (mobile).
http://nuxeo.com/ & http://portalux.com/ & http://aful.org/