I had a look at the memory usage of my apache/mod_perl 1 processes, and was alarmed to find that only 3Mb of 25Mb processes was being shared (and that's straight after startup)

I have gone to great lengths to
(1) Preload modules in my startup file
(2) Load shared config data during server startup so that that info can also be shared

The only module I load during child init is a wrapper to handle database connections so that database handles don't get shared between children.

I've read the memory optimization bit on the mod_perl web site and am complying with all of those suggestions.

My next step is to remove all of the modules and start adding them in again to see which has such poor memory usage.

What numbers should I be expecting to achieve on a reasonably large web site (http://ww.traveljury.com - still a test site at the moment) and are there any gotchas that you know about that aren't mentioned on the mod_perl site?

thanks

Clint

Reply via email to