RE: Leaking HTTP requests (was: RE: [Zope] Leaking Acquisition.Im plic itAcquirerWrapper)
I do indeed use Localizer. I have a second instance of the Zope/Product configuration on a seperate machine, and so far I've been unable to replicate the problem. One thing I wanted to do was look at my REQUEST.set to see if that could cause problems. As for this global request patch, I'm not sure what you mean ... The test instance also uses Localizer and doesn't seem to suffer from the problem. The main thing here is that I'm not testing under load, just manually, trying to track down which actions might trigger refcounts. What's this patch exactly ? I do some monkey patching (Quite a bit actually, more than I should!) but nothing that messes with the request/response system. I have one place that uses REQUEST.set with wrapped objects ... based on what I've seen in some mailing list archives and from Dieter, this could very well be the cause ... (Not sure though, I used to have this on my previous site also, and never noticed it leaking ...) Thanks again for the assistance, it's proving very helpful :) J.F. -----Original Message----- From: Stefan H. Holek [mailto:stefan@epy.co.at] Sent: May 13, 2004 3:37 PM To: Jean-Francois.Doyon@CCRS.NRCan.gc.ca Cc: zope@zope.org Subject: Re: Leaking HTTP requests (was: RE: [Zope] Leaking Acquisition.Implic itAcquirerWrapper) This confirms my suspicion somewhat that the global request patch is to blame. IIRC Localizer uses this, doesn't it? Do you have the possibility to test without the (monkey?) patch, or without Localizer entirely? Huima has just recently reported pretty much the same bug and he is using PTS, which again utilizes the global request patch (I think). Stefan On Donnerstag, Mai 13, 2004, at 21:31 Europe/Vienna, Jean-Francois.Doyon@CCRS.NRCan.gc.ca wrote:
Oh, wait a minute ...
Looks like I'm actually leaking HTTP requests!
Class May 12, 2004 5:08 pm May 13, 2004 3:26 pm Delta Acquisition.ImplicitAcquirerWrapper 7190 138920 +131730 ZPublisher.HTTPRequest.HTTPRequest 352 18123 +17771 ZPublisher.BaseRequest.RequestContainer 329 18095 +17766 ZServer.HTTPResponse.ZServerHTTPResponse 338 18103 +17765
I saw some traffic on this same topic about archetypes & plone ...
Hopefully I'll be able to track this down more easily than wrapper problems.
Still any input will be appreciated, tracking down memory leaks always seems like black magic to me :P
Thanks, J.F.
-- 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/
participants (1)
-
Jean-Francois.Doyon@CCRS.NRCan.gc.ca