You could set NR_OPEN to 1024 and set the rlim[RLIMIT_NOFILE] to
256 for compatibility.. Programs that want to use the larger fd_set
can then increase the rlimit themselves.
I want to experiment with this myself in the near future; we
have a machine with a dedicated squid wwwcache running and very
soon 256 fds will not be enough.
Mike.
-- + Miquel van Smoorenburg + Cistron Internet Services + Living is a | | miquels@cistron.nl (SP6) | Independent Dutch ISP | horizontal | + miquels@drinkel.ow.org + http://www.cistron.nl/ + fall +