Chris, We could be suffering form the same bug, but different causes, I have a nagging feeling this one is burried deep :) Yeah, our Postgres connection gets used quite a bit actually. But I very much doubt that'd be it, there'd be a whole lot of people screaming! Nope, no ZEO for me, though it's an option for the future. Now that I'm graphing my memory usage though I hope to get some clues. I'm thinking I may be using something in my standard_html_header that could be the cause (it's used on the entire site). Do you use UserSniffer.py? I do have dtml-var's with Dates in them in there too (DublinCore dates), maybe there's a problem with some of the methods or objects? I'm not sure what IOBuckets are FOR, I mean Input/Output, but not sure where they're used ... Maybe figuring that out could help? I'm also recalling having problems with CMF, for instance, one CMF (The most used one) would stop responding, while the other kept going. Alllways thought that strange ... hasn't done it in a while, but maybe a useful symptom to look into. Stay in touch! thanks, J.F. -----Original Message----- From: Chris Muldrow [mailto:cmuldrow@fredericksburg.com] Sent: Friday, January 17, 2003 11:27 AM To: Jean-Francois.Doyon@ccrs.nrcan.gc.ca; zope@zope.org Subject: Re: Zope memory leak I'm in a similar boat, but I think we might be seeing a different problem. Our leak didn't appear until we switched to 2.6, so I'm pretty sure it's not the AccessControl problem--it was supposed to be fixed in 2.6. And we have a PostGres connection, but it's not really doing anything right now. Are you using ZEO?
-----Original Message----- From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Jean-Francois.Doyon@CCRS.NRCan.gc.ca Sent: Friday, January 17, 2003 8:47 AM To: cmuldrow@fredericksburg.com; zope@zope.org Subject: [Zope] RE: Zope memory leak
Chris,
We could be suffering form the same bug, but different causes, I have a nagging feeling this one is burried deep :)
Yeah, our Postgres connection gets used quite a bit actually. But I very much doubt that'd be it, there'd be a whole lot of people screaming!
I wouldn't make that assumption. Lots of people used Zope 2.5.1 but only a few of us ran into certain leaks. Popularity only indicates reliability along the common pathways. You might be pushing Postgres into some poorly tested area that leaks. In fact, I'd look there first. Zope's object counter is only going to catch Python objects, so anything that has C code, as most DB accessors do, is suspect.
Jean-Francois.Doyon@CCRS.NRCan.gc.ca wrote at 2003-1-17 11:47 -0500:
I do have dtml-var's with Dates in them in there too (DublinCore dates), maybe there's a problem with some of the methods or objects? You should use Shane's "LeakFinder" to find leaks caused by Zope objects.
I'm not sure what IOBuckets are FOR, I mean Input/Output, but not sure where they're used ... Maybe figuring that out could help? There are an elementary structure to implement BTrees. They are use in the catalog, among others.
Dieter
participants (3)
-
Charlie Reiman -
Dieter Maurer -
Jean-Francois.Doyon@CCRS.NRCan.gc.ca