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

So any help in this regard would be really appreciated.

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


In reply to Issue we are facing with Profiling our Mod Perl App by shak380

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.