Submitted by : simon at: 2004-11-13T07:55:06+00:00 (13 years ago)
Name :
Category : Severity : Status :
Optional subject :  
Optional comment :

This started last night and made the site unusable. Some pages would load ok. There were tracebacks like the below. Freeing up memory on the server didn't help. Restarting the zeo client fixed it. This is a new behaviour on this server. Here's something to consider: http://www.upfrontsystems.co.za/Members/jean/zope-notes/zeo-nat-keepalive

 2004-11-13T07:44:28 ERROR(200) ZODB Couldn't load state for 00000000003965d3
 Traceback (most recent call last):
  File "/usr/local/src/Zope-2.7.2-0/lib/python/ZODB/Connection.py", line 559, in setstate
    p, serial = self._storage.load(oid, self._version)
  File "/usr/local/src/Zope-2.7.2-0/lib/python/ZEO/ClientStorage.py", line 749, in load
    p, s, v, pv, sv = self._server.zeoLoad(oid)
  File "/usr/local/src/Zope-2.7.2-0/lib/python/ZEO/ClientStorage.py", line 75, in __getattr__
    raise ClientDisconnected()
 ClientDisconnected
 ------
 2004-11-13T07:44:28 ERROR(200) SiteError http://zwiki.org/MemoryUsage
 Traceback (most recent call last):
  File "/usr/local/src/Zope-2.7.2-0/lib/python/ZPublisher/Publish.py", line 101, in publish
    request, bind=1)
  File "/usr/local/src/Zope-2.7.2-0/lib/python/ZPublisher/mapply.py", line 88, in mapply
    if debug is not None: return debug(object,args,context)
  File "/usr/local/src/Zope-2.7.2-0/lib/python/ZPublisher/Publish.py", line 39, in call_object
    result=apply(object,args) # Type s<cr> to step into published object.
  File "/zope1/Products/ZWiki/ZWikiPage.py", line 228, in __call__
    rendered = self.render(client,REQUEST,RESPONSE,**kw)
  File "/zope1/Products/ZWiki/ZWikiPage.py", line 241, in render
    r = self.pageType().render(self, REQUEST, RESPONSE, **kw)
  File "/zope2/Products/ZWiki/pagetypes/stx.py", line 92, in render
    t = page.renderMarkedLinksIn(t)
  File "/zope1/Products/ZWiki/ZWikiPage.py", line 459, in renderMarkedLinksIn
    return re.sub(markedwikilinkexpr,self.renderLink,text)
  File "/usr/lib/python2.3/sre.py", line 143, in sub
    return _compile(pattern, 0).sub(repl, string, count)
  File "/zope1/Products/ZWiki/ZWikiPage.py", line 600, in renderLink
    if self.pageWithNameOrId(link):
  File "/zope1/Products/ZWiki/ZWikiPage.py", line 1104, in pageWithNameOrId
    return (self.pageWithId(name,url_quoted) or
  File "/zope1/Products/ZWiki/ZWikiPage.py", line 1075, in pageWithId
    if id in f.objectIds() and self.isZwikiPage(f[id]): # poor caching
  File "/zope1/Products/ZWiki/Utils.py", line 191, in isZwikiPage
    return getattr(object,'meta_type',None) == self.meta_type
  File "/usr/local/src/Zope-2.7.2-0/lib/python/ZODB/Connection.py", line 559, in setstate
    p, serial = self._storage.load(oid, self._version)
  File "/usr/local/src/Zope-2.7.2-0/lib/python/ZEO/ClientStorage.py", line 749, in load
    p, s, v, pv, sv = self._server.zeoLoad(oid)
  File "/usr/local/src/Zope-2.7.2-0/lib/python/ZEO/ClientStorage.py", line 75, in __getattr__
    raise ClientDisconnected()


comments:

solved ? --simon, Sat, 13 Nov 2004 13:31:37 -0800 reply
It happened again soon after. This time I saw Memory Errors in the log, and could not run many shell commands. top seemed to show plenty of memory available. But, I have been doing something different since yesterday: running less in Follow mode on the half-gigabyte access.log. After killing that off, shell commands worked again. Zope remained hung, I restarted it and expect things will be back to normal now.

property change --simon, Sun, 14 Nov 2004 02:30:21 -0800 reply
Status: open => closed