Date: Tue, 22 Jul 2008 21:09:20 +0200 From: Ferdinand Goldmann <ferdinand.goldmann@jku.at> To: freebsd-net@freebsd.org Subject: Re: FD_SETSIZE (too many open file descriptors) + BIND Message-ID: <48863060.10909@jku.at> In-Reply-To: <48861525.5060104@jku.at> 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> <48861525.5060104@jku.at>
next in thread | previous in thread | raw e-mail | index | archive | help
Ferdinand Goldmann wrote: > 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 I am following up to my own posting, which was kind of stupid really because I obviously made some mistakes. I have now done the following: # cd /usr/src/lib/bind Edited config.mk: CFLAGS+= -DVERSION='"${BIND_VERSION}"' -DFD_SETSIZE=4096 recompiled bind library and named according to advisory on freebsd-security: # make obj && make depend && make && make install # cd /usr/src/usr.sbin/named # make obj && make depend && make && make install I'm crossing my fingers, but it seems to have done the trick. Monitoring system usage with sockstat, I have seen values of almost up to 1400 being used by named without the 'too many open file descriptors' appearing in the logs. Sorry for my slightly nervous previous posting ... Regards, Ferdinand
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?48863060.10909>