Re: running out of file descriptors

Glynn Clements <[email protected]>
Newsgroups org.kernel.vger.linux-c-programming
Message-ID <[email protected]>
Bryan Christ wrote:

> I pretty sure you can just echo to /proc/sys/fs/file-nr to set that
> value (which already seems really high at 560178).  I doubt I'm
> exhausting 560178 descriptors.

file-nr is read-only, and reports the number of open descriptors, the
number of free descriptors, and the limit.

file-max is writable, and controls the system-wide limit.

-- 
Glynn Clements <[email protected]>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.