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

Kris Kennaway kris at FreeBSD.org
Tue Jul 15 13:14:25 UTC 2008


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



More information about the freebsd-net mailing list