in reply to (shared) memory and preloading modules using Mod-perl
While this might kill your performance in other ways, you could choose to not preload the larger modules and then instruct the Apache child to exit. This would increase your forking of Apache children, but keep your memory use under control. You'd want to make sure and use CORE::exit() and not just exit() as mod_perl redefines the function to do exactly the opposite of what you want in this case.
Frank Wiles <frank@wiles.org>
http://www.wiles.org
|
|---|