Issue we are facing with Profinling our Mod Perl App
am 04.05.2011 16:58:58 von Mohammed Shakir--0015176f0ca811e98804a2747f3d
Content-Type: text/plain; charset=ISO-8859-1
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.
--0015176f0ca811e98804a2747f3d
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Hi,
We are using the standard CPAN module, Devel::NYTProf::Apache fo=
r 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 o=
ption -X. Then, Apache 'Segfaults' (Segmentation fault).
As a result I used Core dumping with Apache and checked with 'gdb' =
but=20
nothing useful found(Perhaps there is more to check that I am not aware=20
at the moment).
Note also that,
1) we restarted Apache normal=
ly(with more than one child processes), then it just 'runs' as usua=
l and when I checked the
Exit Status, it was normal(0), but there was no httpd processes runn=
ing.
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=20
asap, if it is 1 it prints some then segfaults and if it is 2 it prints=20
some more then segfaults, etc etc. ( I checked upto level 3 of trace so=20
far.)
Thanks and Regards
Mohammed.
--0015176f0ca811e98804a2747f3d--