Devel::NYTProf is a powerful feature-rich source code profiler for Perl. (Mostly in maintenance mode, so PRs are much more likely to be acted upon than Issues.)
Reading /proc/13155/fd/10
Profile data incomplete, inflate error -5 ((null)) at end of input file, perhaps the process didn't exit cleanly or the file has been truncated (refer to TROUBLESHOOTING in the documentation)
Devel::NYTProf::Apache is operational as in /proc/fd// it shows the nytprof output files:
lr-x------ 1 root root 64 Mar 12 11:43 0 -> /dev/null l-wx------ 1 root root 64 Mar 12 11:43 1 -> /dev/null l-wx------ 1 root root 64 Mar 12 11:43 10 -> /tmp/nytprof.13142.out.13155 l-wx------ 1 root root 64 Mar 12 11:43 11 -> /var/log/apache2/access.log l-wx------ 1 root root 64 Mar 12 11:43 2 -> /var/log/apache2/error.log lrwx------ 1 root root 64 Mar 12 11:43 3 -> 'socket:[133547]' lrwx------ 1 root root 64 Mar 12 11:43 4 -> 'socket:[133548]' lrwx------ 1 root root 64 Mar 12 11:43 5 -> 'socket:[133551]' lrwx------ 1 root root 64 Mar 12 11:43 6 -> 'socket:[133552]' lr-x------ 1 root root 64 Mar 12 11:43 7 -> 'pipe:[131867]' l-wx------ 1 root root 64 Mar 12 11:43 8 -> 'pipe:[131867]'
However the file /tmp/nytprof.13142.out.13155 is non-existent. When trying to nytprofhtml /proc/13155/fd/10 tool reports "file truncated":
nytprofhtml -f /proc/13155/fd/10 -o ./wwwroot.d/nytprof/apache2/20200312T114454
Reading /proc/13155/fd/10 Profile data incomplete, inflate error -5 ((null)) at end of input file, perhaps the process didn't exit cleanly or the file has been truncated (refer to TROUBLESHOOTING in the documentation)
Any suggestions?