On Tue, 19 Sep 2000, Yu-Fei Shen wrote:

> Matt,
> 
>      Thanks for the information.  You will have to be patient with me 
> since some of my questions (or problems) would very well be the ignorance 
> on my part.  
> 
>      I am not sure whether the win32 binary version I am using supports -X 
> (single user mode) option or not.  I can invoke apache with -X option, but 
> the -h option does not list -X as one of the valid options.  (??)  What 
> does this mean?  
> 
>      How can I enable perl-status?  I tried to check out the 
> Devel::Dprof module first and it seems to work (i.e., tmon.out file was 
> created.)  I used the following command to generate the tmon.out file.
> 
> perl -d:DProf test.pl
> 
> However when I tried to use Apache::Dprof, I ran into problems.  I added 
> the line (PerlModule Apache::DProf) in the httpd.conf and recieved the error 
> message when I invoked the apache (apache -k restart).
> 
> Error message:
> DProf: run perl with -d to use DProf.
> Compilation failed in require at (eval 5) line 3.

I'm not sure about the win32 but check this out
http://perl.apache.org/guide/performance.html#Code_Profiling_Techniques

> 
> thanks,
> 
> Peggy
>   
> 
> On Tue, 19 Sep 2000, Matt Sergeant wrote:
> 
> > On Tue, 19 Sep 2000, Yu-Fei Shen wrote:
> > 
> > > Hi!
> > > 
> > >      I am new to mod_perl and would like to use Apache::Dprof to generate 
> > > the profile information.  Here are the problems I ran into.  Could 
> > > anybody help me?
> > > 
> > >      The system configuration I have is listed below.  I modified 
> > > httpd.conf file to add "PerlModule Apache::Dprof" line, but no tmon.out 
> > > file generated.  I am running the binary built by Randy Kobes.
> > > 
> > > os - Windows NT 4.0 (Service Packe 5)
> > > Apache - 1.3.12
> > > Perl - 5.6.0
> > > mod_perl - 1.23
> > 
> > First of all, make sure that DProf is actually being loaded (use
> > /perl-status if you have it enabled). Then make sure you're running the
> > server in single user mode - apache.exe -X
> > 
> > -- 
> > <Matt/>
> > 
> > Fastnet Software Ltd. High Performance Web Specialists
> > Providing mod_perl, XML, Sybase and Oracle solutions
> > Email for training and consultancy availability.
> > http://sergeant.org | AxKit: http://axkit.org
> > 
> > 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 



_____________________________________________________________________
Stas Bekman              JAm_pH     --   Just Another mod_perl Hacker
http://stason.org/       mod_perl Guide  http://perl.apache.org/guide 
mailto:[EMAIL PROTECTED]   http://apachetoday.com http://jazzvalley.com
http://singlesheaven.com http://perlmonth.com   perl.org   apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to