List:MySQL and Perl« Previous MessageNext Message »
From:Jochen Wiedmann Date:August 16 1999 12:45pm
Subject:Re: Pre-loading modules into Apache registry...
View as plain text  
"Richard K. Moore" wrote:

>     use DBI;

Change this to

	use Apache::DBI;


> This does make a difference.  <ps aux> shows a larger parent process...

The process size is increased, for obvious reasons: The modules are
loaded before spawning the child processes. However, according to
Vivek Khera's page on mod_perl tuning, that doesn't matter: The
processes share a common memory segment, thanks to Copy-On-Write.
See

	perldoc mod_perl_tuning.pod

in the top level directory of the mod_perl sources.


Bye,

Jochen Wiedmann


-- 
Jochen Wiedmann						joe@stripped
Life has brown and green eyes. :-)			+49 7123 14887

Thread
Pre-loading modules into Apache registry...Richard K. Moore16 Aug
  • Re: Pre-loading modules into Apache registry...Jochen Wiedmann16 Aug