>>> Bertold Kolics wrote
> To another question:
> >I understand that the fds limit on Solaris 2.5 is 1024. Any idea
> >what's the fds limit on 2.6 ?
> You can set the max fd on Solaris 2.5 as well. The default fd limit on
> Solaris 2.6 is also 1024.
No, the limit on 2.5 and 2.6 is 4096. You just _must_ use poll(), not
select(), if you go above 1024. You should use poll() on solaris anyway,
it's faster. select is just a wrapper around poll().
add the following to /etc/system and reboot, and max fds will be 4096.
-----------8<------------
set rlim_fd_max=0x1000
set rlim_fd_cur=0x1000
-----------8<------------
Disclaimer: Sun probably don't support anything over 1024, but hell, stdio
breaks at anything over 256, so it's not like this is suprising.
Anthony
Received on Thu Jan 22 1998 - 00:14:20 MST
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:38:28 MST