note
liz
<I>...(though it will reuse that memory for other things). This is particularly a problem for mod_perl, where the process...</I>
<P>
One approach that I always use when a request is going to be quite resource consuming, is to let the child process die after the request is served. You can do this with [http://perl.apache.org/docs/1.0/guide/snippets.html#Terminating_a_Child_Process_on_Request_Completion|$r->child_terminate]. The extra CPU for forking a new child process is a lot less than the CPU you would lose when the server starts swapping.
<P>
Liz
308947
309000