in reply to Re^3: Profiling under mod_perl
in thread Profiling under mod_perl

Hmm - it seems like a good suggestion, since that's how you initialise running apache through the perl debugger (plus you add PerlFixupHandler Apache::DB of course...) and the profiling code uses the same debugger hooks.

But when I do that combined with PerlModule Apache::DProf Apache actually exits (with no error) on the first request...

Replies are listed 'Best First'.
Re^5: Profiling under mod_perl
by perrin (Chancellor) on Feb 22, 2005 at 00:29 UTC
    You are probably getting segfaults. Devel::DProf is notorious for that.

    You would probably get better help if you post the problem, including details of your setup as described in the "reporting bugs" section of the website, to the mod_perl mailing list.

      Good idea about the mod_perl mailing list. I would have figured a segfault (I am all to familiar with the frailty of DProf), but Devel::Profiler::Apache is doing the same thing, and not a core file to be found anywhere.

      I genuinely think it is doing nothing... but I will head out from the monastry (hopefully with some nice beverage that monastries were famous for in the old days) and trek over to the mod_perl mailing list...

        One more thing: make sure that the user your server runs as is able to write to the directory that the file should end up in.