Silva Performance isses - Memory Error & Broken Pipe
Hi All, We're running Silva 1.4.1 on the following setup - Zope 2.7.8-final, python 2.3.5 and linux2 but have been experiencing some major performance issues that I'm hoping someone may be able to help me resolve. Having checked the Zope log I noticed it contained a number of concerning entries such as: ------ 2006-01-25T21:08:11 ERROR(200) ZODB Couldn't load state for 0x016b87 Traceback (most recent call last): File "/usr/local/zope-2.7.8/lib/python/ZODB/Connection.py", line 597, in setstate p, serial = self._storage.load(oid, self._version) File "/usr/local/zope-2.7.8/lib/python/ZODB/FileStorage.py", line 697, in load return self._load(oid, version, self._index, self._file) File "/usr/local/zope-2.7.8/lib/python/ZODB/FileStorage.py", line 688, in _load return read(u64(plen)), serial MemoryError ------ 2006-01-25T21:08:19 ERROR(200) ZODB Couldn't load state for 0x028179 Traceback (most recent call last): File "/usr/local/zope-2.7.8/lib/python/ZODB/Connection.py", line 600, in setstate self._set_ghost_state(obj, p) File "/usr/local/zope-2.7.8/lib/python/ZODB/Connection.py", line 639, in _set_ghost_state state = unpickler.load() MemoryError ------ And these: 2006-01-25T20:45:18 ERROR(200) ZServer uncaptured python exception, closing channel <ZServer.HTTPServer.zhttp_channel connected 144.82.100.130:43419 at 0xb0bb9f8c channel#: 1355352 requests:> (exceptions.MemoryError: [/usr/local/lib/python2.3/asyncore.py|write|77] [/usr/local/lib/python2.3/asyncore.py|handle_write_event|397] [/usr/local/lib/python2.3/asynchat.py|handle_write|152] [/usr/local/lib/python2.3/asynchat.py|initiate_send|213] [/usr/local/lib/python2.3/asynchat.py|refill_buffer|202]) ------ 2006-01-25T20:47:12 ERROR(200) ZServer uncaptured python exception, closing channel <ZServer.HTTPServer.zhttp_channel connected 128.40.105.130:59791 at 0xb0b69fec channel#: 1355791 requests:> (exceptions.MemoryError: [/usr/local/lib/python2.3/asyncore.py|write|77] [/usr/local/lib/python2.3/asyncore.py|handle_write_event|397] [/usr/local/lib/python2.3/asynchat.py|handle_write|152] [/usr/local/lib/python2.3/asynchat.py|initiate_send|220]) And this (Although having googled the error I'm pretty sure its nothing to worry about. But I could easily be wrong as I'm fairly new to zope): 2006-01-25T17:06:08 ERROR(200) ZServer uncaptured python exception, closing channel <ZServer.HTTPServer.zhttp_channel connected 128.40.105.130:58015 at 0xae8046ec channel#: 1281272 requests:> (socket.error:(32, 'Broken pipe') [/usr/local/lib/python2.3/asynchat.py|initiate_send|218] [/usr/local/zope-2.7.8/lib/python/ZServer/medusa/http_server.py|send|417] [/usr/local/lib/python2.3/asyncore.py|send|337]) I've attached the log file, although I don't know if this list accepts attachments. Hopefully someone will be able to identify the problem and provide a solution for improving performance or alternatively provide a list of procedures I can carry out to locate the problem myself. Many Thanks. Jon Bowlas University College London.
On 3 Feb 2006, at 13:39, Jonathan Bowlas wrote:
------ 2006-01-25T21:08:11 ERROR(200) ZODB Couldn't load state for 0x016b87 Traceback (most recent call last): File "/usr/local/zope-2.7.8/lib/python/ZODB/Connection.py", line 597, in setstate p, serial = self._storage.load(oid, self._version) File "/usr/local/zope-2.7.8/lib/python/ZODB/FileStorage.py", line 697, in load return self._load(oid, version, self._index, self._file) File "/usr/local/zope-2.7.8/lib/python/ZODB/FileStorage.py", line 688, in _load return read(u64(plen)), serial MemoryError
You're out of RAM. Pretty obvious error message I'd say.
2006-01-25T20:45:18 ERROR(200) ZServer uncaptured python exception, closing channel <ZServer.HTTPServer.zhttp_channel connected 144.82.100.130:43419 at 0xb0bb9f8c channel#: 1355352 requests:> (exceptions.MemoryError: [/usr/local/lib/python2.3/asyncore.py|write|77] [/usr/local/lib/python2.3/asyncore.py|handle_write_event|397] [/usr/local/lib/python2.3/asynchat.py|handle_write|152] [/usr/local/lib/python2.3/asynchat.py|initiate_send|213] [/usr/local/lib/python2.3/asynchat.py|refill_buffer|202])
same thing. Get more RAM.
2006-01-25T17:06:08 ERROR(200) ZServer uncaptured python exception, closing channel <ZServer.HTTPServer.zhttp_channel connected 128.40.105.130:58015 at 0xae8046ec channel#: 1281272 requests:> (socket.error:(32, 'Broken pipe') [/usr/local/lib/python2.3/asynchat.py|initiate_send|218] [/usr/local/zope-2.7.8/lib/python/ZServer/medusa/http_server.py| send|417] [/usr/local/lib/python2.3/asyncore.py|send|337])
Someone pressed the Stop button on the browser. jens
participants (2)
-
Jens Vagelpohl -
Jonathan Bowlas