/proc/pid/maps files empty for all processes
Hello,
I have three machines with Debian 5. I had to reinstall one of them recently and I don't know why /proc/pid/maps files are all empty on that machine. Do you have a clue for a possible reason? All three machines are up to date. They are running kernel 2.6.26-2-686. I am accessing them by ssh. /etc/sshd/sshd_config are identical on all machines. Regards |
Probably permissions - try sudo or somesuch. You should be able to view /proc/self/maps from any user.
|
Quote:
ls -l shows that file sizes are 0, or no output when you try cat them ? If first - it's normal. You still should get output. |
I tried with root access, same problem.
By empty I mean that there is nothing in it. "cat" command returns nothing. I suspect a Debian kernel update, because the problem also appears on the two other machines after having them updated and rebooted. They probably have changed a kernel option because it works on Ubuntu with a more recent kernel (2.6.31). |
I have the same problem with 2.6.26-2-686, also it is debian.
|
Found the problem:
Code:
--- linux-2.6-2.6.26/fs/proc/base.c 2008-07-13 16:51:29.000000000 -0500 |
Thanks!
|
All times are GMT -5. The time now is 02:26 AM. |