knightsg has asked for the wisdom of the Perl Monks concerning the following question:

I'm trying to get Devel::Profiler::Apache working with some perl-based software (Eprints, for those who've heard of it), and it's not giving me any output files.

I've added the PerlModule Devel::Profiler::Apache directive as specified on the module's cpan doco, run apache in debug (single process) mode, and have shutdown the process before checking for logs. I've also created the $ServerRoot/logs/dprof directory and chown'd it to the apache user and group.

Unfortunately, I get no output at all when I run apache and use the application. As a test, I created a basic perl script and used Devel::Profiler to make sure that it was working, which it was. I got the output and was able to use dprofpp to interpret it.

Has anyone had this issue before? I've done a fairly extensive search and haven't had any luck finding references to this problem.

I also tried Apache::DProf, with exactly the same result.

Any help I can get with this would be greatly appreciated.

Thanks, Guy

Replies are listed 'Best First'.
Re: No output from Devel::Profiler::Apache
by perrin (Chancellor) on Apr 01, 2009 at 00:52 UTC
    use Devel::NYTProf instead. I'm sure we could find the problem, but NYTProf is better in every way, so change that first.