invalid integer value on a directory
The /proc directory has a 'high value'. not sure what it is nor how to change it. When I use WinSCP, I receive an error '4294967205' is not a valid integer value. Here is what a ls -l shows.
drwxr-xr-x 15 root root 4096 2009-04-23 12:02 opt dr-xr-xr-x 4294967205 root root 0 2009-03-05 12:58 proc What does this value represent and how does one change it? Thank you! |
I don't know why that number is so large but here is what it represents:
Quote:
Code:
\ls -ld proc/ Code:
\ls -l | sort -rn --key=2 | head -n5 Code:
\ls -l | sort -rn --key=2 | head -n5 Norm |
invalid integer value on a directory
Here is the result:
>ls -l | sort -rn --key=2 | head -n5 /bin/ls: 0: No such file or directory total 17563666 dr-xr-xr-x 26 root root 0 2009-04-24 12:00 irq dr-xr-xr-x 11 root root 0 2009-04-24 12:00 sys dr-xr-xr-x 10 root root 0 2009-03-05 12:58 acpi dr-xr-xr-x 6 root root 0 2009-03-05 12:58 net Not sure what the 0: No such file or directory is all about. That may be the clue? |
The total number of processes (17,563,666) listed in /proc seems to suggest that you've been running your system for a fairly long time without rebooting. If that's not correct, check for some process (presumably required by the kernel) that's failing and being restarted. (I.e., a process creation loop.)
If that presumption is correct, schedule a reboot so the process count can restart from 0, and reboot periodically. Or, just live with the error message. (I think the the /proc file system is a "virtual" system (metaphorically speaking), not using much actual disk space, but, hey, I'm somewhat vague on real Linux internals.) |
invalid integer value on a directory - followup
I just wanted to thank norobro and PTrenholme for the responses.
I could not find any logical reason for the value so I tried the reboot option. This 'fixed' the issue. Thank you! ;) |
/proc is basically a window into the kernel, its not a real filesystem or dir.
As a result, it may have strange attributes. Best to leave it well alone unless you really know what you're doing. |
All times are GMT -5. The time now is 07:50 PM. |