[Zope] Zserver shutting down - Broken Pipe

Laurie Nason laurien@tiger.bcm.tmc.edu
Fri, 11 May 2001 11:28:29 -0500


Just over the last couple of days I have been having the same problem with
one of our Zope development servers. It starts up fine, then after a while
(undetermined as of the moment)the ZServer will just hang (error messages
etc. below).
I have created/am still creating my own ZClass on this server if that has
anything to do with it. I haven't installed any external products (yet).

Here are the stats on the server:
	Athlon 1200 512MB Linux Mandrake 7.2
	Zope Version : 	Zope 2.3.2 (binary release, python 1.5.2, linux2-x86)
	Python Version: 	1.5.2 (#10, Dec 6 1999, 12:16:27) [GCC 2.7.2.3]
	System Platform:	linux2

Here is the STUPID_LOG_FILE output that occurred before the crash:
	2001-05-11T16:12:59 ERROR(200) ZServer uncaptured python exception,
	closing channel <select-trigger (pipe) at 81a8178>
	(exceptions.OSError:[Errno 11] Resource temporarily unavailable
	[/var/zope/Zope-2.3.2-linux2-x86/ZServer/medusa/asyncore.py|poll|83]

[/var/zope/Zope-2.3.2-linux2-x86/ZServer/medusa/asyncore.py|handle_read_even
t|335]

[/var/zope/Zope-2.3.2-linux2-x86/ZServer/medusa/select_trigger.py|handle_rea
d|77]
	[/var/zope/Zope-2.3.2-linux2-x86/ZServer/medusa/asyncore.py|recv|287]
	[/var/zope/Zope-2.3.2-linux2-x86/ZServer/medusa/asyncore.py|recv|475])

The output in the shell that started zope reads (this is repeated a few
times before the final crash):
	Unhandled exception in thread:
	Traceback (innermost last):
	  File
	"/var/zope/Zope-2.3.2-linux2-x86/ZServer/PubCore/ZServerPublisher.py",
	line 97, in __init__
	    response._finish()
	  File "/var/zope/Zope-2.3.2-linux2-x86/ZServer/HTTPResponse.py", line
	281, in _finish
	    stdout.close()
	  File "/var/zope/Zope-2.3.2-linux2-x86/ZServer/HTTPResponse.py", line
	338, in close
	    Wakeup()
	  File
	"/var/zope/Zope-2.3.2-linux2-x86/ZServer/medusa/select_trigger.py", line
	74, in pull_trigger
	    os.write (self.trigger, 'x')
	OSError: [Errno 32] Broken pipe

Anybody come across this before???
Laurie



Laurie Nason
Dept. of Biochemistry - N420
Baylor College of Medicine
Houston. TX77030