[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: is a vfs limit?



2009/2/11 iarly selbir <iarlyy 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 cc-6910p ~]$ sysctl fs.file-max
fs.file-max = 202566

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

[sjs298 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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]