Greetings:


I am writing to you - again :( - kindly requesting to look into this old problem. There has been an attempt to solve the problem (Chris McDonough's answer to Philipp Giere), but HTTP and PCGI Servers are still in shamble.

The environment:

System = SunOS
Release = 5.8
Zope Version = 2.5.1 (Chris McDonough's patch r1.21 FTPServer.py installed)

Zope startup script:

#!/usr/bin/ksh
#
# added Thu Jun 13 12:47:42 PDT 2002
#
export ORACLE_HOME=/opt/oracle/OraHome1
export ORACLE_SID=gp9i01
export LD_LIBRARY_PATH=$ORACLE_HOME/lib
#
# end  Thu Jun 13 12:48:36 PDT 2002
#
reldir=`dirname $0`
INST_HOME=`cd $reldir; pwd`
export INST_HOME
exec /usr/zope/bin/python \
     $INST_HOME/z2.py \
     -D "$@"


The error:
------
2002-07-31T15:27:02 ERROR(200) ZServer uncaptured python exception, closing chan
nel <ZServer.HTTPServer.zhttp_channel connected 15.112.17.245:1059 at 0x9f7eac c
hannel#: 0 requests:> (socket.error:(11, 'Resource temporarily unavailable') [/u
sr/zope/ZServer/medusa/asynchat.py|handle_read|82] [/usr/zope/ZServer/medusa/htt
p_server.py|recv|420] [/usr/zope/ZServer/medusa/asyncore.py|recv|357])
------
2002-07-31T15:27:02 ERROR(200) ZServer uncaptured python exception, closing chan
nel <ZServer.PCGIServer.PCGIServer listening '/usr/zope/var/pcgi.soc' at 0x9f7d9
4> (exceptions.TypeError:unpack non-sequence [/usr/zope/ZServer/medusa/asyncore.
py|poll|94] [/usr/zope/ZServer/medusa/asyncore.py|handle_read_event|385] [/usr/z
ope/ZServer/PCGIServer.py|handle_accept|319])
------
2002-07-31T15:27:02 PROBLEM(100) ZServer warning: server accept() threw EWOULDBL
OCK
------
------

Consequences:

Web goes into an infinite loop with CPU at >90%

Work around:

Bounce the server (what if you are not around???)


Thank you for your timely response to this matter.


Regards,


Alex Ganus.