Dear fellow Maypole users:

Our Maypole-powered application has finally reached maturation and we're beginning to put it through some trials in our workplace.

Our app is running under Linux 2.6, Apache 1.3.33, mod_perl 1.29

One thing we've discovered is that the Apache children appear to be sharing almost no memory. In fact, out of an average process size of 34MB, 26 of those megabytes are marked as writeable/private and only 72K appears to be shared between these processes.

Needless to say, this is becoming a bit of a memory hog and we're currently looking into ways to make the memory footprint smaller by sharing memory across processes. The eight articles on perl.com titled "Improving mod_perl Sites' Performance" (http://www.perl.com/pub/a/2002/05/29/mod_perl-opt.html) have been very interesting but I am curious to find out how others have gone about this and particularly users of Maypole.

I have utilized the startup.pl file and included most of the modules we are using in the mod_perl web app but all that has appeared to do is cause the Apache children to inherit those modules at time of forking and thus cause the Apache children to start at 34MB instead of the 7 or so MB that they were starting at prior to the use of startup.pl. None of those modules included in startup.pl appear to affect the size of the processes' shared memory.

Anyway. I'd be interested in hearing what others have done about this and if you have and ideas about what I'm doing and why it's not working I'd be more than happy to hear about them.

My startup.pl looks something like this
=======================================
use Apache ();
use Apache::MVC ();
use CGI::Untaint ();
...
...
...

My Apache configuration for the web app looks something like this
=================================================================
<Directory /home/madams/www/client>
  SetHandler perl-script
  PerlHandler MaypoleMyApp
</Directory>


Thanks in advance,

Matt


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Maypole-users mailing list
Maypole-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/maypole-users

Reply via email to