From owner-freebsd-questions@FreeBSD.ORG Tue Jul 1 06:45:04 2003 Return-Path: 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 9B4E937B401 for ; Tue, 1 Jul 2003 06:45:04 -0700 (PDT) Received: from gwdu60.gwdg.de (gwdu60.gwdg.de [134.76.98.60]) by mx1.FreeBSD.org (Postfix) with ESMTP id 838F643FE0 for ; Tue, 1 Jul 2003 06:45:01 -0700 (PDT) (envelope-from kheuer2@gwdg.de) Received: from gwdu60.gwdg.de (localhost [127.0.0.1]) by gwdu60.gwdg.de (8.12.8p1/8.12.4) with ESMTP id h61DiwTQ040949; Tue, 1 Jul 2003 15:44:58 +0200 (CEST) (envelope-from kheuer2@gwdg.de) Received: from localhost (kheuer2@localhost)h61DivIt040946; Tue, 1 Jul 2003 15:44:58 +0200 (CEST) X-Authentication-Warning: gwdu60.gwdg.de: kheuer2 owned process doing -bs Date: Tue, 1 Jul 2003 15:44:57 +0200 (CEST) From: Konrad Heuer To: Mike Doyle In-Reply-To: <5.2.0.9.0.20030701143132.02821cd0@199.107.2.1> Message-ID: <20030701153922.G24709-100000@gwdu60.gwdg.de> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-questions@freebsd.org Subject: Re: Error messages in dmesg X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Jul 2003 13:45:04 -0000 On Tue, 1 Jul 2003, Mike Doyle wrote: > I have some messages appearing in my dmesg output and in the security log > that concerns me: > > > liffey.cooperationireland.org kernel log messages: > > > ile: table is full > > > file: table is full > > > file: table is full > > > file: table is full > > Any clues as to what might cause this ? Does it mean I've run out of inodes or > of file descriptors ? How do I pin down the offending application. > > The server in question has only two roles - it acts as our mail server and > also as a Squid web proxy. The errors mostly seem to have occurred late at > night so it was most likely mail related rather than web-proxy related. You're probably out of descriptors; check the max number with: sysctl kern.maxfiles The number can be enlarged by entering: sysctl -w kern.maxfiles=somelargernumber To make this change permanent, insert kern.maxfiles=somelargernumber in /etc/sysctl.conf. rmonitor from /usr/ports/sysutils/rmonitor is able to log utilization of file descriptors and may help to analyze what happens. Regards Konrad Heuer (kheuer2@gwdg.de) ____ ___ _______ GWDG / __/______ ___ / _ )/ __/ _ \ Am Fassberg / _// __/ -_) -_) _ |\ \/ // / 37077 Goettingen /_/ /_/ \__/\__/____/___/____/ Germany