Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Dec 1999 20:47:10 +0000
From:      Ben Smithurst <ben@scientia.demon.co.uk>
To:        admin <admin@wtbwts.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: /kernel: file table is full
Message-ID:  <19991206204710.A2279@strontium.scientia.demon.co.uk>
In-Reply-To: <Pine.BSF.4.10.9912061317150.60912-100000@server.b0x.com>
References:  <Pine.BSF.4.10.9912061317150.60912-100000@server.b0x.com>

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




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