Hello,
I'm having problems getting modules loaded at Apache start to be shared across the children. Here's the output I get from Apache::VMonitor (I've editted down to just 2 children):
Size Share VSize RSS M Elapsed LastReq Srvd ----- ----- ----- ---- -- ------ ------ ---- 12: 89.5M 4.2M 89.5M 70.9M _ 0.000s 0.000s 0 8: 89.5M 4.2M 89.5M 70.9M _ 0.000s 0.000s 0
Total: 1501392K (1432M) size, 1435471K (1369M) approx real size (-shared)
Both the totals and the individual numbers imply very little memory is being shared. As I understand the output from VMonitor, only 4.2M out of 89.5M are being shared. (Yes, Apache is awfully big, that's my next step in optimization.)
I'm loading the vast majority of my modules in a startup.pl file, so I don't understand why they aren't being shared. Obviously, I am missing something. Any pointers on where I should look next would be very helpful. Here is the information about my system:
Fedora Core 2 perl 5.8.5 (threaded) Apache 2.0.52 (pre-fork -- config params below) mp2 2.0.0-RC4 (DSO -- config params below) apreq2 (2/10/05 version)
Relevant parts of httpd.conf (CWApache::Apache2Handler is use'd in startup.pl):
LoadModule perl_module modules/mod_perl.so LoadModule apreq_module modules/mod_apreq.so ... PerlRequire /usr/local/apache2/mp/conf/startup.pl ... <Location / > SetHandler perl-script PerlResponseHandler CWApache::Apache2Handler </Location>
Config params for apache and mod_perl:
./configure --prefix=/usr/local/apache2/mp --with-mpm=prefork --disable-cgi --disable-userdir --enable-auth-dbm --enable-speling
perl Makefile.PL MP_APXS=/usr/local/apache2/mp/bin/apxs MP_INST_APACHE2=1
Thank you for any guidance!
Take care,
Kurt Hansen [EMAIL PROTECTED]