From owner-freebsd-net@FreeBSD.ORG Wed Jul 16 03:40:48 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 CD78F1065672 for ; Wed, 16 Jul 2008 03:40:48 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from gaia.nimnet.asn.au (nimbin.lnk.telstra.net [139.130.45.143]) by mx1.freebsd.org (Postfix) with ESMTP id D21018FC13 for ; Wed, 16 Jul 2008 03:40:46 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from localhost (smithi@localhost) by gaia.nimnet.asn.au (8.8.8/8.8.8R1.5) with SMTP id NAA07865; Wed, 16 Jul 2008 13:40:44 +1000 (EST) (envelope-from smithi@nimnet.asn.au) Date: Wed, 16 Jul 2008 13:40:43 +1000 (EST) From: Ian Smith To: Kris Kennaway In-Reply-To: <487CA29F.6080500@FreeBSD.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: freebsd-net@freebsd.org, Thomas Vogt 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: Wed, 16 Jul 2008 03:40:48 -0000 On Tue, 15 Jul 2008, Kris Kennaway wrote: > 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 Can you disclose the magic incantation for those particular numbers? cheers, Ian