From owner-freebsd-questions@FreeBSD.ORG Tue Apr 14 12:56:54 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6645E1065687 for ; Tue, 14 Apr 2009 12:56:54 +0000 (UTC) (envelope-from frederique@isafeelin.org) Received: from srv0006.pine.nl (srv0006.pine.nl [213.156.9.2]) by mx1.freebsd.org (Postfix) with ESMTP id 204A78FC25 for ; Tue, 14 Apr 2009 12:56:54 +0000 (UTC) (envelope-from frederique@isafeelin.org) Received: from localhost (localhost [127.0.0.1]) by srv0006.pine.nl (Postfix) with ESMTP id E1B9A4D0C5; Tue, 14 Apr 2009 14:56:52 +0200 (CEST) X-Virus-Scanned: amavisd-new at pine.nl Received: from srv0006.pine.nl ([127.0.0.1]) by localhost (srv0006.pine.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id Xc17y1SlJ5YU; Tue, 14 Apr 2009 14:56:48 +0200 (CEST) Received: from fileserver.pine.nl (a83-161-224-82.adsl.xs4all.nl [83.161.224.82]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by srv0006.pine.nl (Postfix) with ESMTPS id 3C1E94D07D; Tue, 14 Apr 2009 14:56:48 +0200 (CEST) Received: from [172.16.0.46] (unknown [172.16.0.46]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by fileserver.pine.nl (Postfix) with ESMTPS id 01877130EA4; Tue, 14 Apr 2009 14:56:47 +0200 (CEST) Message-ID: <49E4880F.2060601@isafeelin.org> Date: Tue, 14 Apr 2009 14:56:47 +0200 From: Frederique Rijsdijk User-Agent: Thunderbird 2.0.0.21 (X11/20090321) MIME-Version: 1.0 To: VeeJay References: <2cd0a0da0904140511y53fe5da6tc1aaea76bc712d30@mail.gmail.com> In-Reply-To: <2cd0a0da0904140511y53fe5da6tc1aaea76bc712d30@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: FreeBSD-Questions Subject: Re: kern.maxfiles limit exceeded by uid 1003? what to do? 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: Tue, 14 Apr 2009 12:56:55 -0000 VeeJay wrote: > Hi there > > I am keep getting this error on the screen. I have tried to solve this > problem by myself but still no luck. Could anyone guide what to do to > increase the limit and avoid this error? > > kern.maxfiles limit exceeded by uid 1003, please see tuning(7) > kern.maxfiles limit exceeded by uid 1003, please see tuning(7) > kern.maxfiles limit exceeded by uid 1003, please see tuning(7) > kern.maxfiles limit exceeded by uid 1003, please see tuning(7) > Apr 14 11:08:08 server2 postfix/pickup[25022] : fatal : kqueue : Too many > files open in the system > Apr 14 11:08:08 server2 postfix/pickup[25023] : fatal : kqueue : Too many > files open in the system > kern.maxfiles limit exceeded by uid 1003, please see tuning(7) > kern.maxfiles limit exceeded by uid 1003, please see tuning(7) > kern.maxfiles limit exceeded by uid 1003, please see tuning(7) > kern.maxfiles limit exceeded by uid 1003, please see tuning(7) > > When this happens, I am unable to login on the server by consol or ssh. what > to do? And I have to restart the server manually.... by on/off switch... If it's not a very busy machine, something must be wrong with postfix to cause this error. If it is a busy machine, you can increase the kern.maxfiles. sysctl kern.maxfiles= You can set it in /etc/sysctl.conf to set it at boot time. -- Frederique