Re: Apache::DProf problems

2003-08-30 Thread Brian Hirt
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

Re: Apache::DProf problems

2003-08-30 Thread Perrin Harkins
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

Apache::DProf problems

2003-08-29 Thread Brian Hirt
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

Re: Apache::DProf problems

2003-08-29 Thread Perrin Harkins
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

Re: Apache::DProf problems

2003-08-29 Thread Stas Bekman
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

Apache::DProf not working

2002-08-08 Thread Randy Harmon
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

Re: Apache::DProf not working

2002-08-08 Thread Stas Bekman
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

Re: Apache::DProf

2002-07-25 Thread Chris Newman
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

Apache::DProf

2002-07-24 Thread Ruslan V. Sulakov
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

Re: Apache::DProf seg faulting

2002-04-19 Thread Perrin Harkins
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

Re: Apache::DProf seg faulting

2002-04-18 Thread Sam Tregar
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

Re: Apache::DProf seg faulting

2002-04-17 Thread Paul Lindner
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

Apache::DProf seg faulting

2002-04-16 Thread Sam Tregar
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

Re: Apache::DProf seg faulting

2002-04-16 Thread Sam Tregar
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

Re: Apache::DProf seg faulting

2002-04-16 Thread Sam Tregar
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

Re: Apache::DProf seg faulting

2002-04-16 Thread Perrin Harkins
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

Re: Apache::DProf seg faulting

2002-04-16 Thread Sam Tregar
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

Re: Apache::DProf tip

2000-09-26 Thread Doug MacEachern
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

Re: Apache::DProf tip

2000-09-26 Thread Perrin Harkins
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

Re: Apache::DProf tip

2000-09-26 Thread Doug MacEachern
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

Apache::DProf tip

2000-06-10 Thread Perrin Harkins
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

Apache::DProf woes

2000-05-02 Thread Ask Bjoern Hansen
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