Date: Tue, 22 Jul 2008 19:13:09 +0200 From: Ferdinand Goldmann <ferdinand.goldmann@jku.at> To: freebsd-net@freebsd.org Subject: FD_SETSIZE (too many open file descriptors) + BIND Message-ID: <48861525.5060104@jku.at> In-Reply-To: <FA21BAC6-8A16-41A7-A7E5-7E4600359702@bsdunix.ch> References: <487C9457.5080609@bsdunix.ch> <m21w1vggnt.wl%Jinmei_Tatuya@isc.org> <2A7CBD67-7532-4B13-82DD-A6EF5DEAA6BD@bsdunix.ch> <m2vdz6g8yt.wl%Jinmei_Tatuya@isc.org> <FA21BAC6-8A16-41A7-A7E5-7E4600359702@bsdunix.ch>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi there, I just upgraded a FreeBSD 6.x machine to FreeBSD 6.3-STABLE, and now I'm seeing this same problem which has already been reported in different postings: named[51769]: socket: too many open file descriptors last message repeated 147 times Obvously it is hitting the 1024 limit: # sockstat |grep -c named 979 I tried recompiling BIND with -DFD_SETSIZE=4096 by adding it to the CFLAGS in /usr/src/usr.sbin/named/Makefile, doing a make cleandepend; make depend; make named; and installing the new named binary in /usr/sbin. So far, the annoying limit still seems to be there. Am I missing something? So, in short: How can one raise the @@#$!## limit of FD_SETSIZE in FreeBSD? Is it still necessary to recompile the kernel, too, as some ancient postings I found suggest? TIA & regards, Ferdinand
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?48861525.5060104>