From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 7916 invoked from network); 30 Jul 1998 13:16:15 -0000 Received: from mail.virginia.edu (128.143.2.9) by mail2.redhat.com with SMTP; 30 Jul 1998 13:16:15 -0000 Received: from mail.cs.virginia.edu by mail.virginia.edu id aa26412; 30 Jul 98 9:16 EDT Received: from adder.cs.Virginia.EDU (adder.cs.Virginia.EDU [128.143.137.18]) by ares.cs.Virginia.EDU (8.8.5/8.8.5) with ESMTP id JAA07176 for ; Thu, 30 Jul 1998 09:16:12 -0400 (EDT) From: Greg Lindahl Received: (from lindahl@localhost) by adder.cs.Virginia.EDU (8.7.5/8.7.3) id JAA23176 for axp-list@redhat.com; Thu, 30 Jul 1998 09:16:11 -0400 (EDT) Date: Thu, 30 Jul 1998 09:16:11 -0400 (EDT) Message-Id: <199807301316.JAA23176@adder.cs.Virginia.EDU> X-Mailer: Mail User's Shell (7.2.5 10/14/92) To: axp-list@redhat.com Subject: Re: FDS, file-max? > 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