From owner-freebsd-net@FreeBSD.ORG Tue Jul 15 13:14:25 2008 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 143531065677 for ; Tue, 15 Jul 2008 13:14:25 +0000 (UTC) (envelope-from kris@FreeBSD.org) Received: from weak.local (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id AE6748FC1F; Tue, 15 Jul 2008 13:14:14 +0000 (UTC) (envelope-from kris@FreeBSD.org) Message-ID: <487CA29F.6080500@FreeBSD.org> Date: Tue, 15 Jul 2008 15:14:07 +0200 From: Kris Kennaway User-Agent: Thunderbird 2.0.0.14 (Macintosh/20080421) MIME-Version: 1.0 To: Thomas Vogt References: <487C9457.5080609@bsdunix.ch> In-Reply-To: <487C9457.5080609@bsdunix.ch> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-net@freebsd.org Subject: Re: too many open file descriptors messages since bind 9.4.2-P1 (port dns94) X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Jul 2008 13:14:25 -0000 Thomas Vogt wrote: > Hello > > Since i updated my FreeBSD 6.3 dns server with the latest bind version > in the ports (dns/bind94) my system is flooding my log with "too many > open file descriptors" messages. > > Is there something i can do? > > Example: > Jul 15 12:08:38 intern named[50840]: socket: too many open file descriptors > Jul 15 12:09:05 intern last message repeated 68 times Is this a busy name server handling thousands of queries per second? If so, the solution, perhaps not surprisingly, is to increase the number of file descriptors :) kern.maxfiles: 12328 kern.maxfilesperproc: 11095 Kris