Hmm of course it doesnt mean ZPT expressions are causing the leak, but are a
side effect. Of course my DTML ZopeZen is watertight and isnt leaking at all
----- Original Message -----
From: "Stefan H. Holek" <[EMAIL PROTECTED]>
To: "Andy McKay" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Tuesday, July 23, 2002 3:37 AM
Subject: Re: [Zope-dev] Memory Leaks
> I do also see the ZPT expression stuff leaking. In my case in this order:
> This one does *not* go away when setting ZOPE_SECURITY_POLICY=PYTHON. I am
> also leaking refs to persistent User objects; may be a side effect
> like your DateTimes.
> The site in question serves large ZSQL result sets via ZPT to
> users. No CMF/Plone involved.
> --On Montag, 22. Juli 2002 13:45 -0700 Andy McKay <[EMAIL PROTECTED]> wrote:
> > Hey all,
> > A client of mine seems to be plagued with memory leaks. I have a CMF /
> > Plone site on We fixed some security issues that caused a major leak
> > is the same I believe as http://collector.zope.org/Zope/421, by jiggling
> > settings this no longer an issue. Anyway we are still getting some minor
> > leaks that severly limit the amount of the traffic the box is going to
> > able take. Lots of different objects are being leaked, including good
> > DateTime, however I dont believe its this, DateTime just happens to be
> > there.
> > Possible culprits are (trimmed down debug page) ZPT:
> > Products.PageTemplates.Expressions.PathExpr,
> > Products.PageTemplates.Expressions.SubPathExpr,
> > Products.PageTemplates.TALES.TALESError etc...
> > or AccessControl AccessControl.unauthorized.Unauthorized,
> > AccessControl.SecurityManager.SecurityManager etc...
> > A quick rummage through LeakFinder hasn't helped too much so Im not sure
> > what too recommend. Good old install ZEO and restart Zope every few
> > Is anyone else having issues?
> > Configuration:
> > Plone 0.99 "Almost There"
> > CMF Beta 1.3 beta 1
> > Zope 2.5.1
> > Python 2.1.3
> > RedHat Linux 7.1
> > Using Apache and pcgi to serve...
> > --
> > Andy McKay
> > _______________________________________________
> > Zope-Dev maillist - [EMAIL PROTECTED]
> > http://lists.zope.org/mailman/listinfo/zope-dev
> > ** No cross posts or HTML encoding! **
> > (Related lists -
> > http://lists.zope.org/mailman/listinfo/zope-announce
> > http://lists.zope.org/mailman/listinfo/zope )
> Those who write software only for pay should go hurt some other field.
> /Erik Naggum/
Zope-Dev maillist - [EMAIL PROTECTED]
** No cross posts or HTML encoding! **
(Related lists -