Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Feb 2003 14:52:08 +0100
From:      Ruben de Groot <fbsd-q@bzerk.org>
To:        aSe <aSe@SysFail.com>
Cc:        FreeBSD-Questions <freebsd-questions@FreeBSD.ORG>
Subject:   Re: Too many files open / file: table is full
Message-ID:  <20030203135208.GA78364@ei.bzerk.org>
In-Reply-To: <KCECKLBMJCEIIOLIPBPEIECGCGAA.aSe@SysFail.com>
References:  <KCECKLBMJCEIIOLIPBPEIECGCGAA.aSe@SysFail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

Hi Gordon,

On Sun, Feb 02, 2003 at 06:16:26PM -0500, aSe typed:
> Recently, one of the machines I help to admin ran into problems and had to be rebooted.
> The machine uptime was about 40days and one of the techs told me it became unresponsive and any command he typed into term it responded "Too many files open". Checking the logs now i see the below at the very same time. It is 4.7-Release, I will be more then happy to post more information if requested. Right now I'm just trying to figure out what happen and how to fix. I know for a fact the 13gb drive had over 7gb free, so is there a setting where I can adjust the number of open files?

This is not a matter of diskspace. The kernel holds a fixed length table
in memory with all open files. If this table gets full it usually means 
one of two things:

1) You have a runaway application, opening way too many files. Identify 
the application and fix or disable it.

2) You're running a kernel with a too low value for maxusers (which, 
among other things, determines the maximum amount of open files). The 
default in 4.7-RELEASE is 0, which means: optimize according to amount 
of memory installed. The default is usually O.K. If not, one option is
to simply install more memory.

cheers,
Ruben


> 
> 
> Jan 22 21:22:18 Fail /kernel: le: table is full
> Jan 22 21:22:18 Fail /kernel: file: table is full
> Jan 22 21:22:18 Fail last message repeated 1450 times
> Jan 22 21:22:18 Fail /kernel: le: table is full
> Jan 22 21:22:18 Fail /kernel: file: table is full
> 
> Thank you,
> Gordon Keesler [aSe@SysFail.com]
> 
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
> 

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030203135208.GA78364>