Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Jul 2008 14:18:41 -0700
From:      JINMEI Tatuya / =?ISO-2022-JP?B?GyRCP0BMQEMjOkgbKEI=?= <Jinmei_Tatuya@isc.org>
To:        Kris Kennaway <kris@FreeBSD.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:  <m2tzeqg826.wl%Jinmei_Tatuya@isc.org>
In-Reply-To: <487D120A.6010001@FreeBSD.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>

next in thread | previous in thread | raw e-mail | index | archive | help
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.

---
JINMEI, Tatuya
Internet Systems Consortium, Inc.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?m2tzeqg826.wl%Jinmei_Tatuya>