zope spins when try to update workflow
Hi all, Not sure if this is the right list or not, please let me know if I should redirect my question. When I try to run "Update security settings" in the portal_workflow tool, my zope process gradually swallows up all the cpu, seems to still be running fine, but then after a couple of hours, swallows up all the memory, the load on the server exceeds 4 and makes it pretty well unresponsive. I have about 35,000 objects in the ZODB. Has anybody had any similar experience or know of any hints as to how I should debug this? I tried following the guidelines on this website: http://www.zope.org/Members/4am/debugspinningzope but couldn't see anything that was actually stuck. Zope 2.9.5, Python 2.4.4, Plone 2.5.1 Thanks for any advice, Edmund
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Edmund Moseley wrote:
Hi all,
Not sure if this is the right list or not, please let me know if I should redirect my question. When I try to run "Update security settings" in the portal_workflow tool, my zope process gradually swallows up all the cpu, seems to still be running fine, but then after a couple of hours, swallows up all the memory, the load on the server exceeds 4 and makes it pretty well unresponsive. I have about 35,000 objects in the ZODB.
Has anybody had any similar experience or know of any hints as to how I should debug this?
I tried following the guidelines on this website: http://www.zope.org/Members/4am/debugspinningzope but couldn't see anything that was actually stuck.
The correct list for this question is either the Zope CMF list (zope-cmf@lists.zope.org) or one of the Plone lists (if the tool is not a stock CMF tool). I would look at adding some logging to the workflow tool's '_recursiveUpdateRoleMappings' method, in order to get a handle on what is happening in your case. You might need to write an ExternalMethod which emulated the "re-apply security" button for separate parts of your site. Tres. - -- =================================================================== Tres Seaver +1 540-429-0999 tseaver@palladion.com Palladion Software "Excellence by Design" http://palladion.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFlAWg+gerLs4ltQ4RAreYAJ9oX8X6U4uktC6Es09h24aMflN7owCgp2Ay P+fDS/vV9Sbf8xTXqAi5hnM= =3AW0 -----END PGP SIGNATURE-----
Edmund Moseley wrote at 2006-12-28 09:53 -0500:
... Has anybody had any similar experience or know of any hints as to how I should debug this?
Florent's "DeadlockDebugger" can help to analyse such situations. -- Dieter
participants (3)
-
Dieter Maurer -
Edmund Moseley -
Tres Seaver