perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carl Johnstone" <modp...@fadetoblack.me.uk>
Subject Re: mod_perl, worker mpm and memory use optimisation
Date Mon, 05 Nov 2007 16:10:57 GMT
> I now want to bring down the process size and/or increased shared memory, 
> and I wondered if anyone knows if it's possible to write perl in a way 
> that maximises shared memory - eg. can I somehow ensure my data structures 
> are all together and not sharing memory pages with compiled code?

General advice for mod_perl is to simply load as much as you can before 
apache forks. Beyond that you're getting into the realm of poking into 
perl's guts which is probably a bad idea if you want to maintain your code 
base in the longer term.

Carl


Mime
View raw message