feumw has asked for the wisdom of the Perl Monks concerning the following question:
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Devel::NYTProf::Apache does not profile our CMS
by Corion (Patriarch) on Mar 01, 2021 at 08:36 UTC | |
by feumw (Sexton) on Mar 01, 2021 at 09:59 UTC |