Are you saying you are exceeding the number of open files? If so, is this intentional? The limits are enforced to protect your system. You may need to asses the software that's opening the file and get it to start closing some. If you really need to alter the setting:
You can increase the maximum number of open files by setting a new value in kernel variable /proc/sys/fs/file-max as follows (login as the root):
Code:
# sysctl -w fs.file-max=100000
Above command forces the limit to 100000 files. You need to edit /etc/sysctl.conf file and put (or edit) the following line so that after reboot the setting will remain as it is:
Code:
# vi /etc/sysctl.conf
Append a config directive as follows:
Code:
fs.file-max = 100000
Save and close the file. Users need to log out and log back in again to changes take effect or just type command:
Verify your settings with command:
Code:
# cat /proc/sys/fs/file-max
OR
# sysctl fs.file-max