Issue we are facing with Profinling our Mod Perl App

Mohammed Shakir <[email protected]>
Newsgroups gmane.comp.apache.mod-perl
Message-ID <[email protected]>
Hi,

We are using the standard CPAN module, 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).

As a result I used Core dumping with Apache and checked with 'gdb' but
nothing useful found(Perhaps there is more to check that I am not aware at
the moment).

Note also that,

1) we restarted Apache normally(with more than one child processes), then it
just 'runs' as usual and when I checked the
   Exit Status, it was normal(0), but there was no httpd processes running.

2) I checked with both NYTPROF variable set and without setting it(in which
case it will default to /tmp/nytprof.$$.out).

3) 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.)

Thanks and Regards
Mohammed.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.