How can I setup FreeBSD 2.2.x to allow a single process to call
select() with more than 256 fd? This is for a chat server and I need
to keep constant connections and select() for descriptors ready to
read/write. In the past I have run Linux systems and have had to hack
the kernel to accomplish this.
This is my first FreeBSD system to setup and I find the performance as
a server to be somewhat better than Linux so far especially in the
area of disk access. I looked through the FreeBSD kernel source
briefly but nothing jumped out and bit me.
Is there an easy way (or pre-existing way) to get select() to work
with more than 256 fd?
Also, are there any known drawbacks to running a server in this
manner? Each connection is generally only transferring about 70 bytes
per second so the connections are pretty "light". I guess I'm asking
if there are any lower level TCP/IP stack issues I should be concerned
with or keeping in mind.