From owner-freebsd-questions@FreeBSD.ORG Mon Dec 5 16:35:35 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 9D5D616A41F for ; Mon, 5 Dec 2005 16:35:35 +0000 (GMT) (envelope-from robert@webtent.com) Received: from columbus.webtent.org (static-70-110-70-42.tampfl.fios.verizon.net [70.110.70.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id 301CE43D60 for ; Mon, 5 Dec 2005 16:35:31 +0000 (GMT) (envelope-from robert@webtent.com) Received: from localhost (localhost [127.0.0.1]) by columbus.webtent.org (Postfix) with ESMTP id 86515CFAC0; Mon, 5 Dec 2005 11:35:26 -0500 (EST) From: Robert Fitzpatrick To: Norberto Meijome In-Reply-To: <4393CD2C.2020803@meijome.net> References: <43937915.7020300@webtent.net> <4393906D.5060105@meijome.net> <439398D5.8000401@webtent.net> <43939AE2.90107@meijome.net> <4393CD2C.2020803@meijome.net> Content-Type: text/plain Organization: WebTent Networking, Inc. Date: Mon, 05 Dec 2005 11:35:24 -0500 Message-Id: <1133800524.3177.34.camel@columbus.webtent.org> Mime-Version: 1.0 X-Mailer: Evolution 2.2.1 Content-Transfer-Encoding: 7bit Cc: FreeBSD Subject: Re: Too many files crashing services X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Dec 2005 16:35:35 -0000 On Mon, 2005-12-05 at 16:16 +1100, Norberto Meijome wrote: > Norberto Meijome wrote: > > > > No, you are running out of maxfiles, as per "kern.maxfiles limit > > exceeded by uid ..." . > > errr... of course, i meant to say, you have more open files than allowed > by kern.maxfiles. Yeah, still struggling with this issue since upgrading lots of packages. Unless I stop and start Postfix every 10 minutes, the problem starts to build until too many files are open. Messages from lots of different UID's with too many files open, I am not sure how to pinpoint what services is causing the problem. I only assume Postfix since the problem only goes away when stopping and starting. With Weitse help on the Postfix list, I tracked down some errors in the maillog related to too many open files as well, which also points to Postfix. But Weitse had said it may not be Postfix doing it, waiting on his opinion now after sending him some more log info. If I am exceeding the kern.maxfiles, why now? This server has always performed the same mainly mail filtering and other light web and db tasks for over a couple of years. The mail traffic is has not changed. The upgrades were many including Perl, Postfix, amavisd-new, SpamAssassin, ClamAV, but all from recent versions with portupgrade and no errors. The biggest jump was amavisd-new from 2.2.x to 2.3.3. I ran 'perl-after-upgrade -f' and 'pkgdb -F' all good. Ideas? -- Robert