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

Thomas Vogt freebsdlists at bsdunix.ch
Tue Jul 15 12:31:50 UTC 2008


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

sysctl:
kern.ipc.somaxconn=4096
kern.ipc.nmbclusters=65536
kern.ipc.maxsockets=204800
net.inet.tcp.sendspace=65535
net.inet.tcp.recvspace=65535
net.inet.udp.recvspace=65535

loder.conf
userconfig_script_load="YES"
kern.maxdsiz="900M"
net.inet.tcp.syncache.hashsize=1024
net.inet.tcp.syncache.bucketlimit=100


System:
FreeBSD intern.lan 6.3-RELEASE-p2 FreeBSD 6.3-RELEASE-p2 #4: Fri May 16 
11:40:24 UTC 2008     root at intern.lan:/usr/obj/usr/src/sys/UP6  i386


netstat -m
517/773/1290 mbufs in use (current/cache/total)
513/261/774/65536 mbuf clusters in use (current/cache/total/max)
513/255 mbuf+clusters out of packet secondary zone in use (current/cache)
0/0/0/0 4k (page size) jumbo clusters in use (current/cache/total/max)
0/0/0/0 9k jumbo clusters in use (current/cache/total/max)
0/0/0/0 16k jumbo clusters in use (current/cache/total/max)
1155K/715K/1870K bytes allocated to network (current/cache/total)
0/0/0 requests for mbufs denied (mbufs/clusters/mbuf+clusters)
0/0/0 requests for jumbo clusters denied (4k/9k/16k)
0/7/6656 sfbufs in use (current/peak/max)
0 requests for sfbufs denied
0 requests for sfbufs delayed
0 requests for I/O initiated by sendfile
105 calls to protocol drain routines


Regards,
Thomas


More information about the freebsd-net mailing list