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 Mon, 06 Apr 2009 19:13:32 GMT


On 6/4/09 14:58, David E. Wheeler wrote:
> On Apr 3, 2009, at 6:36 PM, Philippe M. Chiasson wrote:
> 
>>> Where do I find something to tell me how to use strace with Apache on
>>> Mac OS X? Pointers appreciated.
>>
>> Assuming you are running 10.5, try dtruss
>>
>> $> sudo dtruss /path/to/my/httpd -X [...]
>>
> [...]
> 
> It sure seems to be loading a shitload more Perl modules; they all  
> load with static mod_perl, too, though, and that's good and fast.  
> There are also a ton of calls to munmap(). Other than obvious  
> flushing, I don't see it getting hung up on any one thing. :-(

It would be more interesting to compare the differences in dtruss output
between static and dynamic, looking for some glaring differences.

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


Mime
View raw message