Traduisez - Übersetzen - Traduzca - Traduza - Tradurre - Translate

VanLUG Email Archive

VanLUG Mailing List
Re: Too many open files in system

New Message Reply About this list Date view Thread view Subject view Author view

Alan Hodgson (ahodgson@simkin.com)
Thu, 4 Mar 1999 17:41:16 -0800


On Thu, Mar 04, 1999 at 03:58:47PM -0800, Richard Pitt wrote:
> I do know of one individual that had so many terminal sessions open to
> various systems that he worked on and administered, that he ran out of file
> descriptors. I believe the magic number is 1024 which generally means
> something around 300 terminal sessions (STDIN, STDOUT, STDERR for each one).
>
> I think there is a kernel tuning parameter that will allow more.
>

Try:

echo 12000 > /proc/sys/kernel/file-max
echo 36000 > /proc/sys/kernel/inode-max

Works under 2.0.x to give you more descriptors than you will ever
likely require.

2.2 appears to dynamically assign new descriptors as required.

-- 
Linux: because a PC is a terrible thing to waste


New Message Reply About this list Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b3 on Fri 05 Mar 1999 - 22:35:03 PST