FreeBSD 2.1.7.1 and FD_SETSIZE

From: Nikolai Schupbach <[email protected]>
Date: Wed, 9 Jul 1997 18:36:31 +0000 ()

We want to increase file descriptors available to squid so we recompiled
the kernel to allow for 1020 FD per process.

We re-run ./configure.....

Checking Default FD_SETSIZE value... 256
Checking Maximum filedescriptors we can open... 1020

We recompiled squid, but when it runs it reports only 256 FD available in
cache.log. When looked in the source in squid to see why this was happening
and found this in squid.h

/* Cannot increase FD_SETSIZE on FreeBSD before 2.2.0, causes select(2)
 * to return EINVAL. */

Does this mean squid can't use more than 256 FD on a FreeBSD 2.1.7.1 system?

Any ideas?

Nikolai.
Received on Tue Jul 08 1997 - 23:39:06 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:35:42 MST