Hi,

Need your help...I am try to profile mod_perl application using
Devel::NYTProf::Apache.

I have edit the lines in httpd.conf explained in documentation.

<IfDefine NYTPROF> MaxClients 1 PerlPassEnv NYTPROF PerlModule
Devel::NYTProf::Apache </IfDefine>

And Following in /etc/profile

NYTPROF=addpid=1:trace=2:log=/home/amit/nytlog:start=init:file=/home/a
+mit/nytprof.out:compress=1 export NYTProf

And Start the server using "httpd -D NYRPROF"

I run my application on browser and make some request and stop the
server using "service httpd stop"

When I run "nytprofhtml" alone it says "/usr/bin/nytprofhtml: Unable
to access nytprof.out"

But when I run "nytprofhtml -f /home/amitnytprof.out.3851"
# trace=2
Generating report...
Reading /home/amit/nytprof.out.3851
Error reading file: inflate failed, error -5 ((null)) at end of input
file, perhaps the process didn't exit cleanly or the file has been
truncated at /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/
Devel/NYTProf/Data.pm line 82.

It gives the aforementioned error.

Can anybody help me?
Thanks
Shanu

-- 
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]

To unsubscribe, reply using "remove me" as the subject.

Reply via email to