[Zope] Zope hangs

Nico Grubert nicogrubert at gmail.com
Tue Sep 30 05:49:06 EDT 2008


Hi there

in the last days my Zope server seems to hang and the CPU is almost 
every time at 100 %.

I installed DeadlockDebugger and see a lot of these entries:
-----------------------------------------------------------------------------
   File "/usr/local/Zope-2.10.5/lib/python/OFS/Traversable.py", line 
288, in unrestrictedTraverse
     return obj
   File "/usr/local/Zope-2.10.5/lib/python/ZODB/Connection.py", line 
767, in setstate
     raise
   File "/usr/local/Zope-2.10.5/lib/python/ZODB/Connection.py", line 
820, in _setstate
     obj._p_serial = serial
   File "/usr/local/Zope-2.10.5/lib/python/ZODB/serialize.py", line 605, 
in setGhostState
     obj.__setstate__(state)
   File "/usr/local/Zope-2.10.5/lib/python/ZODB/serialize.py", line 597, 
in getState
     return unpickler.load()
   File "/usr/local/Zope-2.10.5/lib/python/ZODB/serialize.py", line 471, 
in _persistent_load
     return self.load_oid(reference)
   File "/usr/local/Zope-2.10.5/lib/python/ZODB/serialize.py", line 537, 
in load_oid
     return self._conn.get(oid)
   File "/usr/local/Zope-2.10.5/lib/python/ZODB/Connection.py", line 
225, in get
     return obj
   File 
"/usr/local/Zope-2.10.5/lib/python/ZODB/FileStorage/FileStorage.py", 
line 562, in load
     self._lock_release()
   File "/usr/local/lib/python2.4/threading.py", line 109, in acquire
     return rc
-----------------------------------------------------------------------------

I am wondering what the last line
   File "/usr/local/lib/python2.4/threading.py", line 109, in acquire
     return rc
does exactly mean. Are the threads blocked?


My configuration:
-Zope 2.10.5 running with 8 threads on a 2-CPU machine with 8 GB of RAM
-Python 2.4.4
-LDAPUserfolder
-Silva CMS 2.0.8
-ZODB size: ~6 Gbyte
-Only 6-10 people work in the CMS and no public access  (spy bots,
  crawlers) access the Zope server


Regards
Nico


More information about the Zope mailing list