perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stas Bekman <>
Subject Re: mp guide: <Perl> sections -> leaks
Date Tue, 04 May 2004 17:11:12 GMT
Brad Bowman wrote:
> Hello,
> I've had problems with <Perl> sections causing leaks with
> graceful restart, at least with some versions/setups of mod_perl.
> I thought the problem should be noted in the guide.
> A patch is attached for:
> I no longer have my test code, it was a while ago.
> Here's the link and mail exchange that confirmed my tests:

Thanks for the patch, Brad. But are you sure this is still the case with the 
latest mp1? This thread that you've quoted is 4 years old. And it doesn't show 
any code that may cause such a leak.

Or do you refer to this note:

>>it's not a crime, but if you're running Perl code during restart there's a
>>strong chance you'll be growing the server size.  i agree 1M is bizarre

In which case this should probably mention:

> +Also, be aware that <Perl> sections can also cause leaks during
> +graceful restarts.  See the (sub)thread:
> +

"when running some perl code"? as in 'besides using <perl> sections to do 
dynamic configuration'?

Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker     mod_perl Guide --->

Report problems:
Mail list info:
List etiquette:

View raw message