Leaking Acquisition.ImplicitAcquirerWrapper
Hello, I'm not familiar enough with the acquistion wrappers to know what might be causing this, but it looks like my refcount for Acquisition.ImplicitAcquirerWrapper grows out of control ! Acquisition.ImplicitAcquirerWrapper 7190 120012 +112822 This is over ~27 hours ... Normally if I stare long enough at it it seems to be happy hovering in the 15-20K range ... I walk in this morning and see this. It's not the first time either ... I've noticed on a few occasions this occuring and the refcount topping 200K ... And Zope's memory usage growing and growing, even though the database info shows the same number of objects in cache, and the same number of ghost objects. I'm not sure how "consistent" it is however ... I'm wondering if there's some specific even that triggers this leak ... It seems table in the minutes/hour after restarting. The other thing is I'm quite certain I do nothing "weird" as far as acquisition goes. The only thing I do is use aq_explicit in a few places, either in Python code or in PT's. Other than that, I never mess with it. Can anybody suggest ways to find out where this might be coming from? If they were some of my own classes I'd have an idea ... but in thise case ... Any help would be most appreciated, this is seriously hurting the stability/performance and uptime of our site. I'm using Zope 2.7 w/ python 2.3.3 on RH7.3 with - CMF 1.4.2 - TranslationService - Localizer - mxmRelations - ZPsycopgDA And my custom products Thanks, Jean-François Doyon Internet Service Development and Systems Support / Spécialiste de dèveloppements internet et soutien technique Canada Centre for Remote Sensing / Centre Canadien de télédétection Natural Resources Canada / Ressources naturelles Canada http://atlas.gc.ca Tel./Tél. : (613) 992-4902 Fax: (613) 947-2410
a) Are you also seeing high refcounts for DateTime objects? b) Which user folder do you have? Stefan On Donnerstag, Mai 13, 2004, at 17:02 Europe/Vienna, Jean-Francois.Doyon@CCRS.NRCan.gc.ca wrote:
I'm using Zope 2.7 w/ python 2.3.3 on RH7.3 with - CMF 1.4.2 - TranslationService - Localizer - mxmRelations - ZPsycopgDA
-- The time has come to start talking about whether the emperor is as well dressed as we are supposed to think he is. /Pete McBreen/
Jean-Francois.Doyon@CCRS.NRCan.gc.ca wrote at 2004-5-13 11:02 -0400:
... I'm not familiar enough with the acquistion wrappers to know what might be causing this, but it looks like my refcount for Acquisition.ImplicitAcquirerWrapper grows out of control !
Acquisition.ImplicitAcquirerWrapper 7190 120012 +112822
Almost surely, some part of your application creates cyclic objects. Cyclic objects are dangerous, as they often cannot be garbage collected. While acquisition wrappers appear in high number, they alone are innocent. The high number just indicates that acquition wrappes are somewhat referenced by the cycles (and may be part of them). Look further down the list whether you find prominent (usually rare) objects in high number. Such types can give you a clue towards the problem's cause. -- Dieter
participants (3)
-
Dieter Maurer -
Jean-Francois.Doyon@CCRS.NRCan.gc.ca -
Stefan H. Holek