avoiding child death by size limit

2009-12-10 Thread E R
Hi, I have a problem where a mod_perl handler will allocate a lot of memory when processing a request, and this causes Apache to kill the child due to exceeding the configure child size limit. However, the memory allocated will get freed up or re-used by the next request - I think the memory is j

Re: avoiding child death by size limit

2009-12-10 Thread Perrin Harkins
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 scope. If you know it will get reused

Re: avoiding child death by size limit

2009-12-10 Thread André Warnier
E R wrote: Hi, I have a problem where a mod_perl handler will allocate a lot of memory when processing a request, and this causes Apache to kill the child due to exceeding the configure child size limit. However, the memory allocated will get freed up or re-used by the next request - I think th

Re: Detecting graceful restart/stop in child processes

2009-12-10 Thread Bill Moseley
On Mon, Dec 7, 2009 at 7:01 AM, Bill Moseley \ > > > So, it would be more convenient if a graceful restart could be done on just > Apache and that would trigger closing the connections on the next response > freeing up the process to exit. That's the part I'm trying to get working. > This was pre