in reply to Re: Apache::DProf works under mod_perl, but only show one method called (APR::Pool)
in thread Apache::DProf works under mod_perl, but only show one method called (APR::Pool)

This did not help in any way. My files was just as empty.

As I mentioned to Clint the worker (threaded) MPM was the culprit.

On a sidenote: Should this be filed as a bug on Apache::DProf, the fact that it doesn't work in a threaded environment?

  • Comment on Re^2: Apache::DProf works under mod_perl, but only show one method called (APR::Pool)

Replies are listed 'Best First'.
Re^3: Apache::DProf works under mod_perl, but only show one method called (APR::Pool)
by perrin (Chancellor) on Jun 26, 2007 at 13:47 UTC
    Sorry, it didn't occur to me that you might be using threads on a non-Windows platform. You may want to reconsider that. The prefork model has better performance and uses a lot less memory on Linux than the threaded one.
Re^3: Apache::DProf works under mod_perl, but only show one method called (APR::Pool)
by clinton (Priest) on Jun 25, 2007 at 08:43 UTC
    Should this be filed as a bug on Apache::DProf
    I would say yes. There is nothing in the docs or open bugs for either Apache::DProf or Devel::DProf which indicates that it shouldn't work with threads.

    Clint