We're facing performance issues in our CMS and we can't find a reason for it. We're using a CMS which is written in Perl and running on our Apache using mod_perl. So my take was to profile and see what's going on.

I got the Apache running and Devel::NYTProf::Apache logging, the issue here is: the profiling does not profile the CMS itself. Since the CMS is using mod_perl I need to profile all Perl modules used by the CMS.

Our Apache is configured with a httpd.conf and two virtual hosts. Both used for the CMS.
First take was: Setting Devel::NYTProf::Apache up in my VHost.
Second take was: Setting Devel::NYTProf::Apache up in my httpd.conf.
Third take was: Setting Devel::NYTProf::Apache up in my httpd.conf while only having my httpd.conf (disabled all vhosts).

No difference in the results. This screenshot may helps to understand what I'm looking for: https://ibb.co/0rkgrGL

On the left side are the results I'm always getting. On the right side you see completely different modules. And all those modules on the right side are missing in the profiling on Apache. The right side of the screenshot is done while profiling on a different webserver. The CMS provides an own perl-based webserver which can be uses for debugging.

Does anyone around here know how to proper use Devel::NYTProf::Apache and can help me out?

If you need me to share any configurations, just let me know.

In reply to Devel::NYTProf::Apache does not profile our CMS by feumw

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.