Stas Bekman wrote:
Pringle, Chris (HP-PSG) wrote:

Hi,

Apologies for it not being in the correct format.


I wasn't after format but the information ;)

Below is a small section of code that I'm having problems with.


Thanks for the code sample. It allowed me to single out the guilty element, which was $f->ctx (I think), which leaks as you have observed. I'll keep you posted once I've fixed it.

Chris, please try with the current cvs, the f->ctx leak is now gone. http://perl.apache.org/download/source.html#Development_mod_perl_2_0_Source_Distribution

I see that mp2 slowly consumes more memory on each request, but I didn't have a chance to investigate whether it's due to another leak or just the normal unsharing. I suppose there can be another small leak or two somewhere, but unrelated to the leak you've detected. If someone can track them down it'd be a great help.

__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com


-- Reporting bugs: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html



Reply via email to