Hi, we've recently seen a the Data.fs in a few of our Zope systems grow rather fat (from stable sizes around the 100-300MB level to >3GB in the most extreme cases). On further investigation it appears that regular user page requests are being recorded in the Zope undo log - these are not object modifications that have changed the objects themselves (the modification date against all these objects is unchanged), but normal HTTP GET requests. Systems are all 2.11.0 Zope clients with Data.fs served by matching versions of Zeo. Not all of our 2.11.0 apps that are showing this behaviour, only a couple, so I doubt it's something wrong with Zope or ZEO. I'm not a Zope developer, but can anyone shed any light on the possible issues that would cause regular requests to be logged in this way? Regards John
On 06.05.09 12:36, John Snowdon wrote:
but can anyone shed any light on the possible issues that would cause regular requests to be logged in this way? This is nothing but a wild guess.
There are utilities under utilities/ZODBTools within the Zope source tree for performing low-level analysis on the ZODB. Or: you debug yourself using the pdb debugger somewhere in the ZODB (perhaps serializer.py) in order to track write operations. Both approaches require some solid Zope/Python know-how. -aj
On Wed, May 6, 2009 at 12:36, John Snowdon <J.P.Snowdon@newcastle.ac.uk> wrote:
Systems are all 2.11.0 Zope clients with Data.fs served by matching versions of Zeo. Not all of our 2.11.0 apps that are showing this behaviour, only a couple, so I doubt it's something wrong with Zope or ZEO.
Yeah, that happens easily. Someone has, probably by mistake, been setting an attribute on objects in methods that should be read-only, or by mistake called a method that modifies something from a page template or similar. You need to get the developers to dig into what those accidental changes are. -- Lennart Regebro: Python, Zope, Plone, Grok http://regebro.wordpress.com/ +33 661 58 14 64
participants (3)
-
Andreas Jung -
John Snowdon -
Lennart Regebro