You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Jonathan Swartz <sw...@pobox.com> on 2009/07/22 00:53:54 UTC
Linux::Smaps on RHEL
I'm running into the problem using Linux::Smaps on RHEL with an Apache
server on port 80. Namely, that the httpd child doesn't have
permissions to look at the smaps file.
Linux::Smaps: Cannot open /proc/20074/smaps: Permission denied
or
Linux::Smaps: Cannot open /proc/self/smaps: Permission denied
I believe it is this bug:
https://bugzilla.redhat.com/show_bug.cgi?id=322881
Since the redhat folks don't seem to be in a hurry to fix this, I'm
wondering if anyone has discovered a workaround. (Other than, "don't
use RHEL" - beyond my control. :))
Thanks
Jon
Re: Linux::Smaps on RHEL
Posted by Torsten Foertsch <to...@gmx.net>.
On Wed 22 Jul 2009, Jonathan Swartz wrote:
> I'm running into the problem using Linux::Smaps on RHEL with an
> Apache server on port 80. Namely, that the httpd child doesn't have
> permissions to look at the smaps file.
>
> Linux::Smaps: Cannot open /proc/20074/smaps: Permission denied
> or
> Linux::Smaps: Cannot open /proc/self/smaps: Permission denied
>
> I believe it is this bug:
>
> https://bugzilla.redhat.com/show_bug.cgi?id=322881
>
> Since the redhat folks don't seem to be in a hurry to fix this, I'm
> wondering if anyone has discovered a workaround. (Other than, "don't
> use RHEL" - beyond my control. :))
If access is denied by the kernel there is only one solution, fix the
kernel.
Torsten
--
Need professional mod_perl support?
Just hire me: torsten.foertsch@gmx.net