Hirt wrote:
I've installed Apache::DProf, but it seems hardly any of the calls
are profiled. dprofpp shouws MOF::Dispatcher::handler as taking up
100% of the time, but there is no information recorded in for calls
within that function. MOF::Dispatcher::handler is calling thousands
of other
On Sat, 2003-08-30 at 15:34, Brian Hirt wrote:
i'll double check, but i'm fairly certain it's loaded first.
If you post your conf, we could probably help you more.
what if a module is loaded after the fact, but like this: eval { use
$module };
Doesn't matter. You just have to initialize
I've installed Apache::DProf, but it seems hardly any of the calls are
profiled. dprofpp shouws MOF::Dispatcher::handler as taking up 100%
of the time, but there is no information recorded in for calls within
that function. MOF::Dispatcher::handler is calling thousands of other
functions
On Fri, 2003-08-29 at 17:11, Brian Hirt wrote:
I've installed Apache::DProf, but it seems hardly any of the calls are
profiled.
You probably compiled that code before you initialized the debugger.
Add a call to Apache::DB-init before you load your modules, as
described in the Apache::DB docs
Brian Hirt wrote:
I've installed Apache::DProf, but it seems hardly any of the calls are
profiled. dprofpp shouws MOF::Dispatcher::handler as taking up 100% of
the time, but there is no information recorded in for calls within that
function. MOF::Dispatcher::handler is calling thousands
I'm having trouble making Apache::DProf work.
I've installed the module with CPAN, and I've added PerlModule Apache::DProf
at the top of my httpd.conf. I've verified with 'httpd -l' that
PerlChildInitHandler is OK - therefore, pushing a child-init handler should
be OK, right?
I've started
Randy Harmon wrote:
I'm having trouble making Apache::DProf work.
I've installed the module with CPAN, and I've added PerlModule Apache::DProf
at the top of my httpd.conf. I've verified with 'httpd -l' that
PerlChildInitHandler is OK - therefore, pushing a child-init handler should
be OK
PerlFreshRestarton
PerlSetVar StatusOptionsAll On
PerlSetVar StatusTerse On
PerlSetVar StatusTerseSize On
PerlSetVar StatusTerseSizeMainSummary On
Alias /perl-bin/ /usr/local/apache/mod_perl/
PerlModule Apache::DProf
PerlModule
I have troubles using Apache::DProf
I try to use it as described at:
http://perl.apache.org/docs/1.0/guide/performance.html#Code_Profiling_Techni
ques
But when my httpd.conf has a line:
PerlModule Apache::DProf
apache reply with error 500 (Internal Server Error) when I request a perl
script
Paul Lindner wrote:
But while I have your attention, why are you using Apache::DB at all? The
Apache::DProf docs just have:
PerlModule Apache::DProf
Legacy knowledge :)
I think it may have been required in the past, or perhaps I had some
problems with my INC paths long-long ago
On Wed, 17 Apr 2002, Paul Lindner wrote:
I think that this may be a problem with the use of Perl sections.
I believe your original post had something like this:
Perl
use Apache::DProf
use Apache::DB
Apache::DB-init();
/Perl
Nope. That was Perrin Harkins, but I tried it too
On Tue, Apr 16, 2002 at 06:05:11PM -0400, Sam Tregar wrote:
On Tue, 16 Apr 2002, Sam Tregar wrote:
On 16 Apr 2002, Garth Winter Webb wrote:
Sam, try getting rid of the 'PerlModule Apache::DB' line. I've used
Apache::DProf w/o any problems by including only the one PerlModule
Hello all. I'm trying to use Apache::DProf but all I get is seg faults.
I put these lines in my httpd.conf:
PerlModule Apache::DB
PerlModule Apache::DProf
Then I start the server, and it looks ok:
[Tue Apr 16 17:22:12 2002] [notice] Apache/1.3.20 (Unix) mod_perl/1.25
mod_ssl/2.8.4
On 16 Apr 2002, Garth Winter Webb wrote:
Sam, try getting rid of the 'PerlModule Apache::DB' line. I've used
Apache::DProf w/o any problems by including only the one PerlModule
line. Since they both want to use perl debugging hooks, I'm guessing
that Apache::DProf is getting crashed up
On Tue, 16 Apr 2002, Sam Tregar wrote:
On 16 Apr 2002, Garth Winter Webb wrote:
Sam, try getting rid of the 'PerlModule Apache::DB' line. I've used
Apache::DProf w/o any problems by including only the one PerlModule
line. Since they both want to use perl debugging hooks, I'm guessing
Sam Tregar wrote:
On Tue, 16 Apr 2002, Sam Tregar wrote:
On 16 Apr 2002, Garth Winter Webb wrote:
Sam, try getting rid of the 'PerlModule Apache::DB' line. I've used
Apache::DProf w/o any problems by including only the one PerlModule
line. Since they both want to use perl debugging hooks
On Tue, 16 Apr 2002, Perrin Harkins wrote:
Strange, that works for me. I do it like this:
Perl
use Apache::DProf;
use Apache::DB;
Apache::DB-init;
/Perl
That works, but this doesn't:
Perl
use Apache::DB;
use Apache::DProf;
Apache::DB-init;
/Perl
startup.pl, you can accomplish this by putting a block like
this in your httpd.conf before the "PerlRequire startup.pl" statement:
Perl
use Apache::DProf;
use Apache::DB;
Apache::DB-init;
/Perl
The "PerlModule Apache::DProf" directove suggested in the Apache::DP
On Tue, 26 Sep 2000, Doug MacEachern wrote:
the Apache::DB docs explain this:
The connection between Apache::DProf and calling something in Apache::DB
was not obvious to me until I thought about how DProf works.
it should probably be made more clear though, maybe a comment in the
config
On Tue, 26 Sep 2000, Perrin Harkins wrote:
On Tue, 26 Sep 2000, Doug MacEachern wrote:
the Apache::DB docs explain this:
The connection between Apache::DProf and calling something in Apache::DB
was not obvious to me until I thought about how DProf works.
yeah, i was actually surprised
this in your httpd.conf before the "PerlRequire startup.pl" statement:
Perl
use Apache::DProf;
use Apache::DB;
Apache::DB-init;
/Perl
The "PerlModule Apache::DProf" directove suggested in the Apache::DProf
docs also seems to work, but be careful because load order
I have some problems with Devel::DProf ... after running a few requests I
get either when it boots:
Program received signal SIGSEGV, Segmentation fault.
0x40113eec in chunk_free (ar_ptr=0x401a8040, p=0x81d3668) at malloc.c:3047
3047malloc.c: No such file or directory.
(gdb) bt
#0
22 matches
Mail list logo