On Fri, Oct 24, 2008 at 8:57 AM, Carl Johnstone
<[EMAIL PROTECTED]> wrote:
> If you're really concerned and would rather the child process quits and
> frees additional memory to the OS, then call $r->child_terminate in any of
> your handlers, and the child process will automatically quit at the end of
> the request (same as if it had hit it's MaxRequests limit)

That's a good way to deal with it.  This kind of thing can be useful
if you only run these large requests rarely.  It will use about the
same amount of memory as doing it through CGI, but the mod_perl
version will not have the startup costs (at request time) so it will
finish and exit sooner than a CGI could.

- Perrin

Reply via email to