perlquestion
alain_desilets
<P>A year ago, we migrated from mod_cgi to mod_perl, and this has helped greatly to increase performance.
</P>
<P>But one downside of mod_perl is that processes that serve the requests stay up for a long time, and may gradually accumulate a lot of crud. You know, things like objects whose memory cannot be released until the end of the process.
</P>
<P>So, I was wondering if it's possible to configure mod_perl so that the worker processes automatically close down once they have served N requests (say, N=50).
</P>
<P>I just spent 30 mins looking for something like this on the web, and I didn't find anything that remotely resembles that. Does anyone know of something like that?
</P>
Thx.