From: Greg Lindahl <lindahl@cs.virginia.edu>
To: axp-list@redhat.com
Subject: Re: FDS, file-max?
Date: Thu, 30 Jul 1998 09:16:11 -0400 (EDT) [thread overview]
Message-ID: <199807301316.JAA23176@adder.cs.Virginia.EDU> (raw)
> My system needs to have file-max set very high. What is usually a good
> number to set that to? Does the file-max have any relations to other
> things needed by the kernel? I'm just asking this because when I have my
> file-max left at default (1024) the machine crashes after a few days, but
> when I set it to 4096 or higher it will be up for about 5 to 10 days. It
> always crashes with the same error on console "no free inodes, contact
> Linus".
As I think someone's mentioned before, you really need to up the
inode max as well:
cat 4096 > /proc/sys/kernel/inode-max
There may be a kernel restriction that if you have N files open, you
need a minimum of N inodes. If we're seeing a bug where the kernel
doesn't actually properly close open files, then you're getting an
ever-increasing # of open files, and the inode limit is what you're
hitting. Once you've upped the inode limit, you'll go back to running
into the fd limit after being up for a while longer.
-- g
next reply other threads:[~1998-07-30 13:16 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-07-30 13:16 Greg Lindahl [this message]
-- strict thread matches above, loose matches on Subject: below --
1998-07-31 14:32 FDS, file-max? Greg Lindahl
1998-07-31 14:55 ` Barrett G. Lyon
1998-07-31 15:13 ` Paul Tomblin
1998-07-31 15:34 ` Barrett G. Lyon
1998-07-31 12:31 Greg Lindahl
1998-07-31 14:14 ` Barrett G. Lyon
1998-07-29 23:16 Barrett G. Lyon
1998-07-30 16:48 ` Keith Baker
1998-07-30 22:09 ` scorpio
[not found] ` <Pine.BSI.3.95.980730124121.7465A-100000@shell1.cybercom.ne t>
1998-07-31 4:32 ` Barrett G. Lyon
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox