Info on Crash of ZopeHTTPserver
Hi All, I am using web applications in production with 1.10.2+ZHTTPserver under RH Linux 5.2 What can I do to have Zope s own server work continuously, without manual re-starts every day? At the begining I did not broke this server but now the delais before crash is growing :( Is the zope db corrupt? Hope your help, FR. PS : I am testing 2.0a but not in production .... Error === 204.140.91.89 - - [02/Jun/1999 14:31:49] "GET /Formation/index_html HTTP/1.1" 200 - 204.140.91.89 - - [02/Jun/1999 14:31:49] "GET /Formation/default.css HTTP/1.1" 200 - 204.140.91.89 - - [02/Jun/1999 14:31:49] "GET /Formation/bgrose HTTP/1.1" 200 - 204.140.91.89 - - [02/Jun/1999 14:31:49] "GET /Formation/Images/fleched HTTP/1.1" 200 - 204.140.91.89 - - [02/Jun/1999 14:31:49] "GET /Formation/Images/blank HTTP/1.1" 200 - 204.140.91.89 - - [02/Jun/1999 14:31:50] "GET /Formation/sblogo HTTP/1.1" 200 - 204.140.91.89 - - [02/Jun/1999 14:31:56] "GET /Formation/publier/index_html HTTP/1.1" 200 - 204.140.91.89 - - [02/Jun/1999 14:31:56] "GET /Formation/default.css HTTP/1.1" 200 - 204.140.91.89 - - [02/Jun/1999 14:31:56] "GET /Formation/bgrose HTTP/1.1" 200 - Traceback (innermost last): File "ZopeHTTPServer/ZopeHTTPServer.py", line 388, in handle_request self.process_request(request, client_address) File "/var/tmp/python-root/usr/lib/python1.5/SocketServer.py", line 239, in process_request self.finish_request(request, client_address) File "/var/tmp/python-root/usr/lib/python1.5/SocketServer.py", line 243, in finish_request self.RequestHandlerClass(request, client_address, self) File "/var/tmp/python-root/usr/lib/python1.5/SocketServer.py", line 362, in __init__ self.handle() File "/var/tmp/python-root/usr/lib/python1.5/BaseHTTPServer.py", line 258, in handle method() File "ZopeHTTPServer/ZopeHTTPServer.py", line 292, in do_GET self.publish_module() File "ZopeHTTPServer/ZopeHTTPServer.py", line 305, in publish_module publish_module( File "/opt/digicool/zope/Zope-1.10.2-src/lib/python/ZPublisher/Publish.py", line 893, in publish_module if response: stdout.write(response) File "ZopeHTTPServer/ZopeHTTPServer.py", line 239, in write self.handler.send_response(string.atoi(code),message) File "/var/tmp/python-root/usr/lib/python1.5/BaseHTTPServer.py", line 304, in send_response self.wfile.write("%s %s %s\r\n" % IOError: (32, 'Broken pipe') 204.140.91.89 - - [02/Jun/1999 14:31:56] "GET /Formation/Images/blank HTTP/1.1" 200 - 204.140.91.89 - - [02/Jun/1999 14:31:57] "GET /Formation/Images/fleched HTTP/1.1" 200 - 204.140.91.89 - - [02/Jun/1999 14:31:57] "GET /Formation/sblogo HTTP/1.1" 200 - 204.140.91.89 - - [02/Jun/1999 14:32:00] "GET /Formation/publier/outils/ HTTP/1.1" 200 - 204.140.91.89 - - [02/Jun/1999 14:32:00] "GET /Formation/default.css HTTP/1.1" 200 - 204.140.91.89 - - [02/Jun/1999 14:32:00] "GET /Formation/bgrose HTTP/1.1" 200 - Traceback (innermost last): File "ZopeHTTPServer/ZopeHTTPServer.py", line 388, in handle_request self.process_request(request, client_address) File "/var/tmp/python-root/usr/lib/python1.5/SocketServer.py", line 239, in process_request self.finish_request(request, client_address) File "/var/tmp/python-root/usr/lib/python1.5/SocketServer.py", line 243, in finish_request self.RequestHandlerClass(request, client_address, self) File "/var/tmp/python-root/usr/lib/python1.5/SocketServer.py", line 362, in __init__ self.handle() File "/var/tmp/python-root/usr/lib/python1.5/BaseHTTPServer.py", line 258, in handle method() File "ZopeHTTPServer/ZopeHTTPServer.py", line 292, in do_GET self.publish_module() File "ZopeHTTPServer/ZopeHTTPServer.py", line 305, in publish_module publish_module( File "/opt/digicool/zope/Zope-1.10.2-src/lib/python/ZPublisher/Publish.py", line 893, in publish_module if response: stdout.write(response) File "ZopeHTTPServer/ZopeHTTPServer.py", line 239, in write self.handler.send_response(string.atoi(code),message) File "/var/tmp/python-root/usr/lib/python1.5/BaseHTTPServer.py", line 304, in send_response self.wfile.write("%s %s %s\r\n" % IOError: (32, 'Broken pipe') 204.140.91.89 - - [02/Jun/1999 14:32:00] "GET /Formation/Images/blank HTTP/1.1" 200 - 204.140.91.89 - - [02/Jun/1999 14:32:00] "GET /Formation/sblogo HTTP/1.1" 200 - 204.140.91.89 - - [02/Jun/1999 14:32:02] "GET /Formation/publier/outils/frontpage HTTP/1.1" 200 - 204.140.91.89 - - [02/Jun/1999 14:32:02] "GET /Formation/default.css HTTP/1.1" 200 - 204.140.91.89 - - [02/Jun/1999 14:32:02] "GET /Formation/bgrose HTTP/1.1" 200 - 204.140.91.89 - - [02/Jun/1999 14:32:02] "GET /Formation/Images/blank HTTP/1.1" 200 - 204.140.91.89 - - [02/Jun/1999 14:32:02] "GET /Formation/sblogo HTTP/1.1" 200 - 204.140.91.89 - - [02/Jun/1999 14:32:06] "GET /Formation/publier/outils/ HTTP/1.1" 200 - 204.140.91.89 - - [02/Jun/1999 14:32:06] "GET /Formation/default.css HTTP/1.1" 200 - 204.140.91.89 - - [02/Jun/1999 14:32:07] "GET /Formation/bgrose HTTP/1.1" 200 - Traceback (innermost last): File "ZopeHTTPServer/ZopeHTTPServer.py", line 388, in handle_request self.process_request(request, client_address) File "/var/tmp/python-root/usr/lib/python1.5/SocketServer.py", line 239, in process_request self.finish_request(request, client_address) File "/var/tmp/python-root/usr/lib/python1.5/SocketServer.py", line 243, in finish_request self.RequestHandlerClass(request, client_address, self) File "/var/tmp/python-root/usr/lib/python1.5/SocketServer.py", line 362, in __init__ self.handle() File "/var/tmp/python-root/usr/lib/python1.5/BaseHTTPServer.py", line 258, in handle method() File "ZopeHTTPServer/ZopeHTTPServer.py", line 292, in do_GET self.publish_module() File "ZopeHTTPServer/ZopeHTTPServer.py", line 305, in publish_module publish_module( File "/opt/digicool/zope/Zope-1.10.2-src/lib/python/ZPublisher/Publish.py", line 893, in publish_module if response: stdout.write(response) File "ZopeHTTPServer/ZopeHTTPServer.py", line 239, in write self.handler.send_response(string.atoi(code),message) File "/var/tmp/python-root/usr/lib/python1.5/BaseHTTPServer.py", line 304, in send_response self.wfile.write("%s %s %s\r\n" % IOError: (32, 'Broken pipe') 204.140.91.89 - - [02/Jun/1999 14:32:07] "GET /Formation/Images/blank HTTP/1.1" 200 - 204.140.91.89 - - [02/Jun/1999 14:32:07] "GET /Formation/sblogo HTTP/1.1" 200 - 204.140.91.89 - - [02/Jun/1999 14:32:07] "GET /Formation/publier/index_html HTTP/1.1" 200 - 204.140.91.89 - - [02/Jun/1999 14:32:07] "GET /Formation/default.css HTTP/1.1" 200 - 204.140.91.89 - - [02/Jun/1999 14:32:08] "GET /Formation/bgrose HTTP/1.1" 200 - Traceback (innermost last): File "ZopeHTTPServer/ZopeHTTPServer.py", line 388, in handle_request self.process_request(request, client_address) File "/var/tmp/python-root/usr/lib/python1.5/SocketServer.py", line 239, in process_request self.finish_request(request, client_address) File "/var/tmp/python-root/usr/lib/python1.5/SocketServer.py", line 243, in finish_request self.RequestHandlerClass(request, client_address, self) File "/var/tmp/python-root/usr/lib/python1.5/SocketServer.py", line 362, in __init__ self.handle() File "/var/tmp/python-root/usr/lib/python1.5/BaseHTTPServer.py", line 258, in handle method() File "ZopeHTTPServer/ZopeHTTPServer.py", line 292, in do_GET self.publish_module() File "ZopeHTTPServer/ZopeHTTPServer.py", line 305, in publish_module publish_module( File "/opt/digicool/zope/Zope-1.10.2-src/lib/python/ZPublisher/Publish.py", line 893, in publish_module if response: stdout.write(response) File "ZopeHTTPServer/ZopeHTTPServer.py", line 239, in write self.handler.send_response(string.atoi(code),message) File "/var/tmp/python-root/usr/lib/python1.5/BaseHTTPServer.py", line 304, in send_response self.wfile.write("%s %s %s\r\n" % IOError: (32, 'Broken pipe') 204.140.91.89 - - [02/Jun/1999 14:32:08] "GET /Formation/Images/blank HTTP/1.1" 200 - 204.140.91.89 - - [02/Jun/1999 14:32:08] "GET /Formation/Images/fleched HTTP/1.1" 200 - Traceback (innermost last): File "ZopeHTTPServer/ZopeHTTPServer.py", line 388, in handle_request self.process_request(request, client_address) File "/var/tmp/python-root/usr/lib/python1.5/SocketServer.py", line 239, in process_request self.finish_request(request, client_address) File "/var/tmp/python-root/usr/lib/python1.5/SocketServer.py", line 243, in finish_request self.RequestHandlerClass(request, client_address, self) File "/var/tmp/python-root/usr/lib/python1.5/SocketServer.py", line 362, in __init__ self.handle() File "/var/tmp/python-root/usr/lib/python1.5/BaseHTTPServer.py", line 258, in handle method() File "ZopeHTTPServer/ZopeHTTPServer.py", line 292, in do_GET self.publish_module() File "ZopeHTTPServer/ZopeHTTPServer.py", line 305, in publish_module publish_module( File "/opt/digicool/zope/Zope-1.10.2-src/lib/python/ZPublisher/Publish.py", line 893, in publish_module if response: stdout.write(response) File "ZopeHTTPServer/ZopeHTTPServer.py", line 239, in write self.handler.send_response(string.atoi(code),message) File "/var/tmp/python-root/usr/lib/python1.5/BaseHTTPServer.py", line 304, in send_response self.wfile.write("%s %s %s\r\n" % IOError: (32, 'Broken pipe')
"Francois-Regis CHALAOUX" wrote
Hi All,
I am using web applications in production with 1.10.2+ZHTTPserver under RH Linux 5.2
What can I do to have Zope s own server work continuously, without manual re-starts every day?
Switch to ZServer. Really. ZopeHTTPServer is, um, a tad flaky. ZServer is very very nice, and has been rock solid for me for a few weeks of solid(ish) use now.
participants (2)
-
Anthony Baxter -
Francois-Regis CHALAOUX