Just an observation that I have not heard of yet. I have a filesystem product that until recently relied on some TTW Script(Python)s to do interfacing with some ZSQL Methods. What happened in that configuration was refcounts of those python scripts and their associated containers (in cache extreme detail) incrementing and never going away, a substantial memory leak that necessitated restarting the server regularly. They showed up on the main Debug page in the Top Refcounts listbox as lots of Acquisition.ImplicitAcquirerWrapper-s. So, just to see if it was the Script(Python)s or the code itself, I put identically the same code as methods in the filesystem product. Result: No more runaway memory usage. :) YMMV. -- Jim Washington
can you make a small reproducible testcase of it ? -kapil On Sun, 2004-03-07 at 16:01, Jim Washington wrote:
Just an observation that I have not heard of yet.
I have a filesystem product that until recently relied on some TTW Script(Python)s to do interfacing with some ZSQL Methods.
What happened in that configuration was refcounts of those python scripts and their associated containers (in cache extreme detail) incrementing and never going away, a substantial memory leak that necessitated restarting the server regularly. They showed up on the main Debug page in the Top Refcounts listbox as lots of Acquisition.ImplicitAcquirerWrapper-s.
So, just to see if it was the Script(Python)s or the code itself, I put identically the same code as methods in the filesystem product.
Result: No more runaway memory usage. :)
YMMV.
-- Jim Washington
_______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
On Mon, 2004-03-08 at 15:34, Jim Washington wrote:
Kapil Thangavelu wrote:
can you make a small reproducible testcase of it ?
I'll see what I can do. Yes, what I found seemed weird to me, too. Who would I send a testcase product to?
i would put in the collector as an issue so its not forgetten, although if you do so pls send me a copy (or issue id) as i'd also like to take a look. cheers, -kapil
participants (2)
-
Jim Washington -
Kapil Thangavelu