On Sat, Feb 13, 2010 at 04:42:06AM -0500, Weedy wrote:
> Have you heard of anyone profiling with mod_fcgid? I am using the
> following but it does not honour the NYTPROF env variable. The
> outfiles do not have a pid suffix, also using file= does not change
> the save path. Any insights would be welcome.
> 
> FcgidCmdOptions /home/user/public_html/wakaba.pl \
>     InitialEnv NYTPROF="trace=2:start=init:addpid=1" \
>     InitialEnv PERL5OPT="-d:NYTProf" \
>     MaxProcesses 1

Could you take a look at the Devel::NYTProf::Apache module, then write a
new Devel::NYTProf::FGCI module that 'does the right thing' for mod_fcgid?

Then you'd end up with a FcgidCmdOptions definition like this:

  FcgidCmdOptions /home/user/public_html/wakaba.pl \
      InitialEnv PERL5OPT="-d:NYTProf::FGCI" \
      MaxProcesses 1

I'd happily add a Devel::NYTProf::FGCI module to the distribution.

Tim.

-- 
You've received this message because you are subscribed to
the Devel::NYTProf Development User group.

Group hosted at:  http://groups.google.com/group/develnytprof-dev
Project hosted at:  http://perl-devel-nytprof.googlecode.com
CPAN distribution:  http://search.cpan.org/dist/Devel-NYTProf

To post, email:  [email protected]
To unsubscribe, email:  [email protected]

Reply via email to