in reply to finding all modules used from a script

As a followup partially to chromatic's note: the mod_perl guide suggests using Apache::GTopLimit instead of (or in conjunction with) MaxRequestsPerChild. The reason is that it provides even more fine-grained control over when your webserver child exits, and it allows you to set memory/process limits, rather than playing guessing games depending on how many requests a child has received.

Check out the Improving Performance by Prevention section of the guide. Particularly:

  • Comment on Re: finding all modules used from a script