[Tech] (no subject)

Daniel Melnechuk isis at isisdesign.com
Tue Jul 25 00:21:46 EDT 2006


I was contacted about the bridgenews.org site being down. It is back  
up. Please continue to read to find out how you can do it next time.

The bridge web site is a Zope/CMF/Plone site with its instance in the  
folder:

	/usr/local/www/Zope/Zope_Instances/plone2/

In the file:

	/usr/local/www/Zope/Zope_Instances/plone2/var/zope-output

at the end the the log file was this:

Traceback (most recent call last):
   File "/usr/local/www/Zope/Zope2.7/lib/python/Zope/Startup/run.py",  
line 50, in ?
     run()
   File "/usr/local/www/Zope/Zope2.7/lib/python/Zope/Startup/run.py",  
line 19, in run
     start_zope(opts.configroot)
   File "/usr/local/www/Zope/Zope2.7.4/lib/python/Zope/Startup/ 
__init__.py", line 67, in start_zope
     Lifetime.loop()
   File "/usr/local/www/Zope/Zope2.7.4/lib/python/Lifetime.py", line  
43, in loop
     lifetime_loop()
   File "/usr/local/www/Zope/Zope2.7.4/lib/python/Lifetime.py", line  
53, in lifetime_loop
     asyncore.poll(timeout, map)
   File "/usr/local/lib/python2.3/asyncore.py", line 125, in poll
     write(obj)
   File "/usr/local/lib/python2.3/asyncore.py", line 81, in write
     obj.handle_error()
   File "/usr/local/www/Zope/Zope2.7.4/lib/python/ZServer/medusa/ 
http_server.py", line 440, in handle_error
     asynchat.async_chat.handle_error (self)
   File "/usr/local/lib/python2.3/asyncore.py", line 420, in  
handle_error
     self.close()
   File "/usr/local/www/Zope/Zope2.7.4/lib/python/ZServer/ 
HTTPServer.py", line 344, in close
     p.more() # free up resources held by producer
   File "/usr/local/www/Zope/Zope2.7.4/lib/python/ZServer/ 
Producers.py", line 75, in more
     data = file.read(size)
MemoryError

This is the 4th time that this instance has had this error.

To restart it when it is down you need to run just one command:

	/usr/local/www/Zope/Zope_Instances/plone2/bin/runzope_saveout.sh

If someone wants to look around for this kind of error to see what  
can be done to fix it, please do and report back.

Peace,
Dan



More information about the Tech mailing list