Hi Tim,
We are using Devel::NYTProf::Apache for profiling our mod_perl App. We have set it up as follows :
1) Inserted "PerlModule Devel::NYTProf::Apache" in httpd.conf file.
2) Restarted Apache with a Single Process with the command line option -X. Then, Apache 'Segfaults' (Segmentation fault).
My OS is : Linux/CentOS Kernel - 2.6.18-194.17.1.el5, Perl Version - 5.8.8
Apache : Apache/2.2.16 (Unix) mod_ssl/2.2.16 OpenSSL/0.9.8e-fips-rhel5 mod_perl/2.0.4 Perl/v5.8.8
So please advise how we can prevent Apache from Segfaulting and use the module properly for profiling.
Note also that,
1) we restarted Apache normally(with more than one child processes), then it just 'ran' as usual and when I checked the
Exit Status, it was normal(0), but there was no httpd processes running.
2) When we start in single process mode, with -X, the program exits with Segmentation fault.
3) I checked with both NYTPROF variable set and without setting it(in which case it will default to /tmp/nytprof.$$.out).
4) checked with various trace levels, when it is zero it segfaults
asap, if it is 1 it prints some then segfaults and if it is 2 it prints
some more then segfaults, etc etc. ( I checked upto level 3 of trace so
far.)
5) I have latest version (1.11) of Class::XSAccessor.
Thank you,
Regards
Mohammed.