perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Perrin Harkins <>
Subject Re: avoiding child death by size limit
Date Thu, 10 Dec 2009 21:02:20 GMT
On Thu, Dec 10, 2009 at 2:28 PM, E R <> wrote:
> However, the memory allocated will get freed up or re-used by the next
> request

The memory won't get freed unless you undef all the variables
manually.  Perl keeps that memory otherwise, even when they go out of

If you know it will get reused on the next request, then set your size
limit higher.

If it's only being used for the current request and the odds of reuse
on the following requests is low, the best thing is to kill the
process as SizeLimit is doing.

- Perrin

View raw message