Hola --

We're playing with a large OO Perl 5 project under mod_perl.

Apache/2.0.48 (Unix) mod_perl/1.99_13 Perl/v5.8.3 mod_ssl/2.0.48 OpenSSL/0.9.7d
Linux 2.4.21-192-default #1 i686 i686 i386 GNU/Linux
(SuSe) 

The project is a beast: some 150 OO classes are used to perform operations. The memory 
footprint under command-line perl runs up to 30MB per process. We're trying to launch 
all that goo up front with a startup:

   PerlRequire /usr/local/apache2/conf/startup.pl

And it seems to "work" -- the httpd threads immediately jump to 30MB or so on Apache 
launch w/ no client activity.

If we're using mod_perl (and startup.pl) correctly what ballpark memory footprint 
should we expect to see when we run, say, 10 simultaneous clients against the server?

Should we expect a RAM footprint something like
   10 30MB httpd's
   10 30MB perl's
   (600MB total)

? Or should we expect something more like
   10 30MB httpd's
   10 4MB perl's
   (340MB total)

? Or should there be no perl processes running at all because perl is embedded in 
httpd?

Just looking for super-rough ballparks of where we should be setting our expectations. 
Right now we're seeing the first behavior, which makes me think we're doing something 
wrong...?
   
Thanks,

Jay Hannah
Director of Development
Omni Hotels Reservation Center
Tel: (402) 952-6573


--
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html

Reply via email to