On Wed, 2008-07-30 at 16:12 +0000, Evan Hunt wrote:
> > We checked the FD_SETSIZE-Param, its about 1024.
> > ulimit -n is set to 16384.
> > Has anybody an idea how to increase the FD_SETSIZE on debian
> > or how to handle more than 1024 sockets for bind?

> I'm given to understand that Linux doesn't support increasing
> FD_SETSIZE on the fly; you have to rebuild the system to do that.

Actually that's not what I get from skimming through
the kernel and bind sources. It's bind that using the
predefined FD_SETSIZE as a hard limit, not Linux.

> The -P2 versions of the patches, which are in internal testing now and
> (barring catastrophe) should be released in two more days, have a
> workaround for this. If you set ISC_SOCKET_FDSETSIZE to a value
> larger than the existing FD_SETSIZE, it'll use that value instead.
> So, for example:

Which probably means that I am right, since recompiling your
systems probably isn't a requirement for -P2...