Date: Tue, 15 Jul 2008 23:28:23 +0200 From: Kris Kennaway <kris@FreeBSD.org> To: =?UTF-8?B?SklOTUVJIFRhdHV5YSAvIOelnuaYjumBlOWTiQ==?= <Jinmei_Tatuya@isc.org> Cc: freebsd-net@freebsd.org, Thomas Vogt <freebsdlists@bsdunix.ch> Subject: Re: too many open file descriptors messages since bind 9.4.2-P1 (port dns94) Message-ID: <487D1677.8010900@FreeBSD.org> In-Reply-To: <m2tzeqg826.wl%Jinmei_Tatuya@isc.org> References: <487C9457.5080609@bsdunix.ch> <m21w1vggnt.wl%Jinmei_Tatuya@isc.org> <2A7CBD67-7532-4B13-82DD-A6EF5DEAA6BD@bsdunix.ch> <m2vdz6g8yt.wl%Jinmei_Tatuya@isc.org> <487D120A.6010001@FreeBSD.org> <m2tzeqg826.wl%Jinmei_Tatuya@isc.org>
next in thread | previous in thread | raw e-mail | index | archive | help
JINMEI Tatuya / 神明達哉 wrote: > At Tue, 15 Jul 2008 23:09:30 +0200, > Kris Kennaway <kris@FreeBSD.org> wrote: > >>> If that's regularly happening, I'm afraid recent P1 versions don't >>> handle that well, and recommend you try 9.4.3b2 ore 9.5.1b1. >> Or increase the number of file descriptors as a workaround, per my email :) > > Does FreeBSD allow an application to increase FD_SETSIZE (at its > compilation time)? I thought FD_SETSIZE defaults to 1024. Any > 9.x.y-P1 versions can only open FD_SETSIZE sockets, regardless of the > # FDs limit. > > Besides, I guess that the P1 versions severely suffer from heavy > overhead of select(2) when it regularly opens more than 1000 sockets. > Even if 'too many open file' messages are gone, many users won't > accept the increased load due to the overhead. Beta versions use > kqueue, eliminating the fundamental overhead as well as the (too low) > limitation of # of descriptors. Ah yes, I hadnt thought about select limitations. Kris
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?487D1677.8010900>