From owner-freebsd-questions Mon Feb 3 5:50:35 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 08F8037B405 for ; Mon, 3 Feb 2003 05:50:31 -0800 (PST) Received: from ei.bzerk.org (ei.xs4all.nl [213.84.67.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id A36C543F79 for ; Mon, 3 Feb 2003 05:50:25 -0800 (PST) (envelope-from fbsd-q@bzerk.org) Received: from ei.bzerk.org (BOFH@localhost [127.0.0.1]) by ei.bzerk.org (8.12.6/8.12.6) with ESMTP id h13Dq8Ji078433; Mon, 3 Feb 2003 14:52:09 +0100 (CET) (envelope-from stable@ei.bzerk.org) Received: (from stable@localhost) by ei.bzerk.org (8.12.6/8.12.6/Submit) id h13Dq8QF078432; Mon, 3 Feb 2003 14:52:08 +0100 (CET) Date: Mon, 3 Feb 2003 14:52:08 +0100 From: Ruben de Groot To: aSe Cc: FreeBSD-Questions Subject: Re: Too many files open / file: table is full Message-ID: <20030203135208.GA78364@ei.bzerk.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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