Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Mar 1999 18:55:53 -0500 (EST)
From:      "Crist J. Clark" <cjc@cc942873-a.ewndsr1.nj.home.com>
To:        grog@lemis.com (Greg Lehey)
Cc:        dave@dreksys.com, freebsd-questions@FreeBSD.ORG
Subject:   Re: Too many open files (was: freebsd won't go multi-user)
Message-ID:  <199903212355.SAA05680@cc942873-a.ewndsr1.nj.home.com>
In-Reply-To: <19990322100617.Z429@lemis.com> from Greg Lehey at "Mar 22, 99 10:06:17 am"

next in thread | previous in thread | raw e-mail | index | archive | help
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




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