Results 1 to 5 of 5
Hello there guys,
I have a Fedora Core 6 installed. However, i accidentally modified the
/proc/sys/fs/file-max. I set the maximum file descriptors to '10'.
Now i cannot start any of ...
- 03-04-2009 #1Just Joined!
- Join Date
- Mar 2009
- Posts
- 2
[Help] Too many open files error
Hello there guys,
I have a Fedora Core 6 installed. However, i accidentally modified the
/proc/sys/fs/file-max. I set the maximum file descriptors to '10'.
Now i cannot start any of my programs or i can't even log-in as root.
The system now always prompt with "Too many open files".
I cannot modify the /proc/sys/fs/file-max file back to its original value because
it requires root privileges. And now, I cannot login as root.
I think that restarting my system will not fix it. It may even not boot at all.
Do you have any idea on how to fix this??
Thanks in advance.
- 03-04-2009 #2Just Joined!
- Join Date
- Jan 2009
- Posts
- 1
Try edit the file in single user mode (runlevel 1).
- 03-04-2009 #3
to do that, when grub comes up, hit e for edit, and move to the kernel line, and press e again. Then move (arrow keys) over to the area between the kernel stuff, and before the
ro root=----- and insert
1 with a space around it.
then hit enter, and press B
this will boot single user mode.New to the internet, technical forums, or the hacker / open source community??
Read this to learn good posting habits http://www.catb.org/~esr/faqs/smart-questions.html
RHCE for RHEL version 5
RHCT for RHEL version 4
- 03-05-2009 #4Just Joined!
- Join Date
- Mar 2009
- Posts
- 2
thanks for the reply.
However, we tried restarting the machine and after it fails during startup, it went back to a single user mode. Luckily, i don't have to edit the file again, it seemed that fedora reverts this file back to its original value when something bad happens.
- 03-06-2009 #5
if I remember correctly, nothing you do in /proc is permanent. /proc doesn't reside anywhere, it is a virtual representation of processes, and while you CAN use it to change options, it is all volatile, and will revert after a reboot.
New to the internet, technical forums, or the hacker / open source community??
Read this to learn good posting habits http://www.catb.org/~esr/faqs/smart-questions.html
RHCE for RHEL version 5
RHCT for RHEL version 4


Reply With Quote