Re: fix(?) for Solaris 2.5, running out of filedescriptors.

From: Anthony Baxter <>
Date: Fri, 29 Nov 1996 00:19:41 +1100

>>> Jason Lee wrote
> Ah ha. The problem with select is mentioned in the solaris faq re:
> increasing file descriptors, which I did include in my reply to Stewart
> on squid-users some time ago.

> Presumably, you tried setting FD_SETSIZE before including <sys/types.h>
> as documented in the select man page? Or is this the big 'doesn't work
> as documented' bug in solaris?

This won't work. The library call is hardcoded to only allow a maximum
of 1024 fds. You have to supply your own version of select().

Or use poll().

Received on Thu Nov 28 1996 - 05:27:22 MST

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