perl-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Philippe M. Chiasson" <go...@ectoplasm.org>
Subject Re: Startup Slow with DSO mod_perl
Date Fri, 10 Apr 2009 18:38:44 GMT
On 8/4/09 12:47, David E. Wheeler wrote:
> On Apr 7, 2009, at 10:49 PM, Philippe M. Chiasson wrote:
> 
>>>> http://perl.apache.org/docs/1.0/guide/config.html#Apache_Restarts_Twice_On_Start
>>>
>>> Oh, right, I remember that. But it says that the modules loaded via
>>> PerlModule (as Bricolage is loaded) do *not* get compiled twice.
>>
>> Except in the case of DSOs, where the whole .so gets unloaded/ 
>> loaded, so
>> libperl/Perl goes away with it.
>>
>> This is a flaw in the documentation, I suspect. Keep in mind that most
>> mod_perl 1.x users use static compilation, so the DSO case is not very
>> common.
> 
> Yeah, but not so in mod_perl2. And 30 seconds is an awfully long time  
> to wait for a startup…is there nothing I can do to reduce the start  
> time?

Not without more profiling to try and figure out where all this time
is being spent.

-- 
Philippe M. Chiasson     GPG: F9BFE0C2480E7680 1AE53631CB32A107 88C3A5A5
http://gozer.ectoplasm.org/       m/gozer\@(apache|cpan|ectoplasm)\.org/


Mime
View raw message