Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Devel::NYTProf::Apache nytprof files inaccessable even via /proc/<apachepid>/fd/ #138

Open
imesmits opened this issue Mar 12, 2020 · 0 comments
Labels
apache Problems with Devel::NYTProf::Apache

Comments

@imesmits
Copy link

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?

@jkeenan jkeenan added the apache Problems with Devel::NYTProf::Apache label Apr 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
apache Problems with Devel::NYTProf::Apache
Projects
None yet
Development

No branches or pull requests

2 participants