too many open file descriptors messages since bind 9.4.2-P1 (port dns94)

Ian Smith smithi at nimnet.asn.au
Wed Jul 16 03:40:48 UTC 2008


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



More information about the freebsd-net mailing list