Re: running out of file descriptors

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

Well according to these values I'm only using about 1500 file
descriptors out of the 560178.


On Mon, Feb 16, 2009 at 3:43 PM, Glynn Clements
<[email protected]> wrote:
>
> 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]>
>



-- 
Bryan
<><
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.