From owner-freebsd-questions Sun Mar 21 15:56:22 1999 Delivered-To: freebsd-questions@freebsd.org Received: from cc942873-a.ewndsr1.nj.home.com (cc942873-a.ewndsr1.nj.home.com [24.2.89.207]) by hub.freebsd.org (Postfix) with ESMTP id 8404F14D7F for ; Sun, 21 Mar 1999 15:56:20 -0800 (PST) (envelope-from cjc@cc942873-a.ewndsr1.nj.home.com) Received: (from cjc@localhost) by cc942873-a.ewndsr1.nj.home.com (8.9.3/8.8.8) id SAA05680; Sun, 21 Mar 1999 18:55:53 -0500 (EST) (envelope-from cjc) From: "Crist J. Clark" Message-Id: <199903212355.SAA05680@cc942873-a.ewndsr1.nj.home.com> Subject: Re: Too many open files (was: freebsd won't go multi-user) In-Reply-To: <19990322100617.Z429@lemis.com> from Greg Lehey at "Mar 22, 99 10:06:17 am" To: grog@lemis.com (Greg Lehey) Date: Sun, 21 Mar 1999 18:55:53 -0500 (EST) Cc: dave@dreksys.com, freebsd-questions@FreeBSD.ORG Reply-To: cjclark@home.com X-Mailer: ELM [version 2.4ME+ PL40 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Greg Lehey wrote, > On Sunday, 21 March 1999 at 3:04:56 -0800, Dave Rossow wrote: > > Hi, can anyone help point me in the right direction? I'm having a problem > > using FreeBSD 3.1. I installed from the latest CDRom using the 'impatient' > > method. I've setup two systems, one as a database server, the other as a > > webserver. Neither are as yet in active production use yet. The install > > worked fine and everything seemed fine. However, sometime shortly after I > > started installing various software packages I started getting syslog > > message like the following: > > > > Mar 21 02:00:24 data syslogd: /var/run/utmp: Too many open files in system > > Mar 21 02:00:24 data last message repeated 3 times > > Mar 21 02:00:24 data /kernel: file: table is full > > Mar 21 02:00:24 data syslogd: /var/run/utmp: Too many open files in system > > Mar 21 02:00:24 data last message repeated 3 times > > Mar 21 02:00:24 data /kernel: file: table is full > > Mar 21 02:00:24 data syslogd: /var/run/utmp: Too many open files in system > > Mar 21 02:00:24 data last message repeated 3 times > > Mar 21 02:00:24 data /kernel: file: table is full > > Mar 21 02:00:24 data last message repeated 12 times > > This message should be self-explanatory. It doesn't answer the > question "which files are open?", of course. You could use lsof > (Ports Collection) for that. fstat(1) should tell you what files are open. It comes with the standard FreeBSD distribution. -- Crist J. Clark cjclark@home.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message