From owner-freebsd-questions Mon Dec 6 13:50:17 1999 Delivered-To: freebsd-questions@freebsd.org Received: from scientia.demon.co.uk (scientia.demon.co.uk [212.228.14.13]) by hub.freebsd.org (Postfix) with ESMTP id 8D63414D37 for ; Mon, 6 Dec 1999 13:49:55 -0800 (PST) (envelope-from ben@scientia.demon.co.uk) Received: from strontium.scientia.demon.co.uk ([192.168.0.4] ident=ben) by scientia.demon.co.uk with smtp (Exim 3.092 #1) id 11v52M-00028P-00; Mon, 06 Dec 1999 20:47:10 +0000 Date: Mon, 6 Dec 1999 20:47:10 +0000 From: Ben Smithurst To: admin Cc: freebsd-questions@freebsd.org Subject: Re: /kernel: file table is full Message-ID: <19991206204710.A2279@strontium.scientia.demon.co.uk> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG admin wrote: > I'm seeing "/kernel: file table is full" far too many times in my > /var/log/messages file. There is definately something wrong, but I can't > figure out what. > > I am running FreeBSD 3.3-CURRENT with the following daemons: Do you mean 3.3-STABLE? > apache+php+mod_ssl > cucipop > postfix > postgresql > ssh > > How can I find out how many files are actually open? How can I find out > which program is using so many files? How can I get anywhere with this > problem? lsof in the ports collection may be helpful to find the app with a lot of open files. I think fstat in the case system will do that too. To increase the limit, bump maxusers in the kernel config. -- Ben Smithurst | PGP: 0x99392F7D ben@scientia.demon.co.uk | key available from keyservers and | ben+pgp@scientia.demon.co.uk To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message