On Wed, 8 Nov 2000, Wahid Belhaouane wrote:
> Hello every body
> i was in version 6.2 , but when i installed 7.0
> sometimes i have a problem of "to many files open"
> and so , nobody can use the system.
> can someone tell me what to do , to correct this.
> Thanks a lot
> Wahid.
>
It seems to me that you're running out of inodes. If you're running the
2.2.x kernel (which you should if you're running Red Hat 6.2), you can
change those parameters dynamically.
First, check out what the current settings are:
cat /proc/sys/fs/file-max
I believe the default is something like 4096, which is not enough for
a busy server, especially if you're using the server as an X server. Now
you can change the parameters to something that fits you better:
echo 32768 > /proc/sys/fs/file-max
...or...
echo 65536 > /proc/sys/fs/inode-max
The best choice, of course, is to look for the appropriate parameter in
the kernel configuration file, change it permanently, recompile the
kernel and reboot. That should do it.
------------------------------------------------------
Nitebirdz
------------------------------------------------------
Thus spake the master programmer:
"You can demonstrate a program for a corporate
executive, but you can't make him computer literate."
_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list