[Zope] Server crashes on Cobalt RaQ

Michel Pelletier michel@digicool.com
Mon, 14 Jun 1999 09:43:13 -0400


> -----Original Message-----
> From: Doug Goodwin [mailto:dgoodwin@cairn.com]
> Sent: Monday, June 14, 1999 3:22 AM
> To: zope@zope.org
> Subject: [Zope] Server crashes on Cobalt RaQ
> 
> 
> Greetings,
> 
> Here's a problem for you experts. I have installed Zope 
> 1.10.2 on a Cobalt
> RaQ (Python 1.5.2). Everything seems  to run fine until I get a very
> persistent error that shuts down the server. Here's the 
> output from serve.py
> 
> ----------------------------------------
> [root Zope]# python serve.py
> Publishing module Main
> Serving HTTP on port 9673 ...
> [root Zope]# python serve.py
> Publishing module Main
> Serving HTTP on port 9673 ...
> atm9-131.dsl.dimcom.net - - [14/Jun/1999 00:13:50] "GET
> /techno-kats/manage_main HTTP/1.1" 200 -
> 
> ..... SNIP .....
> 
> atm9-131.dsl.dimcom.net - - [14/Jun/1999 00:12:15] "GET /p_/folder
> HTTP/1.1" 200 -
> ----------------------------------------
> Exception happened during processing of request from 
> ('206.124.9.131', 61336)
> Traceback (innermost last):
>   File 
> "/home/src/Zope-1.10.3b1-src/ZopeHTTPServer/ZopeHTTPServer.py", line
> 388, in handle_request
>     self.process_request(request, client_address)
>   File "/usr/local/lib/python1.5/SocketServer.py", line 239, in
> process_request
>     self.finish_request(request, client_address)
>   File "/usr/local/lib/python1.5/SocketServer.py", line 243, 
> in finish_request
>     self.RequestHandlerClass(request, client_address, self)
>   File "/usr/local/lib/python1.5/SocketServer.py", line 366, 
> in __init__
>     self.handle()
>   File "/usr/local/lib/python1.5/BaseHTTPServer.py", line 
> 258, in handle
>     method()
>   File 
> "/home/src/Zope-1.10.3b1-src/ZopeHTTPServer/ZopeHTTPServer.py", line
> 292, in do_GET
>     self.publish_module()
>   File 
> "/home/src/Zope-1.10.3b1-src/ZopeHTTPServer/ZopeHTTPServer.py", line
> 310, in publish_module
>     environ=self.get_environment())
>   File 
> "/home/src/Zope-1.10.3b1-src/lib/python/ZPublisher/Publish.py", line
> 893, in publish_module
>     if response: stdout.write(response)
>   File 
> "/home/src/Zope-1.10.3b1-src/ZopeHTTPServer/ZopeHTTPServer.py", line
> 239, in write
>     self.handler.send_response(string.atoi(code),message)
>   File "/usr/local/lib/python1.5/BaseHTTPServer.py", line 304, in
> send_response
>     self.wfile.write("%s %s %s\r\n" %
> IOError: [Errno 32] Broken pipe
> ----------------------------------------
> 
> Naturally I can't recommend Zope to my clients until I 
> understand what's
> going on here. Any thoughts?
> 
> -Doug Goodwin
> dgoodwin@cairn.com
> 
> PS: No luck installing pcgi (can't even run the sanity 
> script), so I have
> retreated to the python server.

I would suggest running ZServer and not ZopeHTTPServer.  ZopeHTTPServer
was allways just a quick hack, an experiment, a small tidbit with no
real validity checking, and and oft-crashing littler tester type guy.
It came in handy in a lot of situations, but it was never suggested to
be used in any type of production environment.  We have stoped
developing on it long ago (perhaps someone has picked it up?), and it
will be unbundled with Zope 2.0.

-Michel

> _____________________
> 
> Cairn Design / Doug Goodwin
> dgoodwin@cairn.com
> _____________________
> 
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://www.zope.org/mailman/listinfo/zope
> 
> (For developer-specific issues, use the companion list,
> zope-dev@zope.org - http://www.zope.org/mailman/listinfo/zope-dev )
>