Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Jul 2008 13:40:43 +1000 (EST)
From:      Ian Smith <smithi@nimnet.asn.au>
To:        Kris Kennaway <kris@freebsd.org>
Cc:        freebsd-net@freebsd.org, Thomas Vogt <freebsdlists@bsdunix.ch>
Subject:   Re: too many open file descriptors messages since bind 9.4.2-P1 (port dns94)
Message-ID:  <Pine.BSF.3.96.1080716133258.6304A-100000@gaia.nimnet.asn.au>
In-Reply-To: <487CA29F.6080500@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.1080716133258.6304A-100000>