is a vfs limit?

Sharpe, Sam J sam.sharpe+lists.redhat at gmail.com
Wed Feb 11 18:14:57 UTC 2009


2009/2/11 iarly selbir <iarlyy at gmail.com>:
> can anyone tell me what mean this messages?
>
> Feb 11 14:08:02 ski0s kernel: VFS: file-max limit 204674 reached

You've probably hit the maximum number of open files.

[sjs298 at cc-6910p ~]$ sysctl fs.file-max
fs.file-max = 202566

[sjs298 at cc-6910p ~]$ sudo sysctl -w fs.file-max=1000000
fs.file-max = 1000000

[sjs298 at cc-6910p ~]$ sysctl fs.file-max
fs.file-max = 1000000

To make the changes permanent, you need to add a line to /etc/sysctl.conf:
fs.file-max = <a number>

Shells also have a maximum number of open files which may need to be
adjusted in /etc/security/limits.conf, but I don't think you are
hitting that because the message wouldn't come from the kernel.

-- 
Sam




More information about the fedora-list mailing list