Re: Has anyone successfully used Devel::Profiler::Apache under modperl?
[prev]
[thread]
[next]
[Date index for 2005/02/18]
Hi Geoff,
I downloaded the csv dir for Devel-Profiler and
installed it. Without doing anything else and used it
just like the old one. The result is much worse.
The page just hangs and after 2 minutes, I checked
the tmon.out file and found it to be 75Mb in size
and is still increasing at crazy speed. I have to
kill the modperl server to stop it.
Have you seen this kind of problem before?
I will try some hacks suggested by Sam later.
But so far, it does not look very promising.
Thanks
Richard
--- Geoffrey Young <geoff@xxxxxxxxxxxxxxx.xxx> wrote:
>
>
> Richard Chen wrote:
> > Hi,
> > I have used Apache::DProf but find
> that it leads to bus errors on many requests.
> > I found this Devel::Profiler::Apache which is
> supposed to be a drop-in replacement
> > for Apache::DProf in such bus error cases.
> However, it does not seem to work right.
> >
> > First of all, specifying
> >
> > PerlModule Devel::Profiler::Apache
> >
> > inside httpd.conf simply will not work. One has to
> do a 'use' inside startup.pl
>
> yes. in the Apache-Test setup below I made the
> following comments in
> t/conf/extra.conf.in
>
> # PerlModule Devel::Profiler::Apache
> # will not work, since the profiler is intialized
> # in Devel::Profiler::Apache::import(), which is
> # left uncalled when loaded via PerlModule
>
> >
> > Most importantly, after the server
> process is shutdown and dprofpp
> > is applied to the tmon.out file, it always
> complains about garbled profile.
> > The -F option for dprofpp does not help. So
> basically I cannot use any data
> > inside the tmon.out file.
>
> I don't see that with the below version, which is
> all I have.
>
> >
> > Has anyone successfully used
> Devel::Profiler::Apache?
> >
> > I am using Perl 5.8.3 and Modperl 1.29
> on a solaris 9 server.
>
> try the latest profiler version from sourceforge cvs
>
> http://sourceforge.net/projects/devel-profiler
>
> you can get anonymous cvs access following these
> instructions
>
> http://sourceforge.net/cvs/?group_id=53745
>
> the Apache-Test based test suite currently has one
> failure for me, but I
> haven't touched that code in a while and CGI.pm has
> changed a bit since I
> wrote it. but in any case you can examine the stuff
> in t/conf to see how I
> set it up so that it works properly.
>
> HTH
>
> --Geoff
>
>
__________________________________
Do you Yahoo!?
Yahoo! Mail - now with 250MB free storage. Learn more.
http://info.mail.yahoo.com/mail_250
 |
(message missing)
|