[Zope] Re: zope spins when try to update workflow

Tres Seaver tseaver at palladion.com
Thu Dec 28 12:57:52 EST 2006


-----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 at 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 at 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-----



More information about the Zope mailing list