[illumos-Discuss] value of FD_SETSIZE
Joerg Schilling
Joerg.Schilling at fokus.fraunhofer.de
Mon May 30 06:37:43 PDT 2011
Apostolos Syropoulos <asyropoulos at yahoo.com> wrote:
> Alan Coopersmith has posted the following in his blog:
>
>
>
> http://blogs.oracle.com/alanc/entry/there_i_fixed_it
>
>
> The question is why FD_SETSIZE takes the value 65536 in the 64bit model?
> I have already posted the same to the OpenIndiana discussion list and
> a participant agreed that 2048 or, I would even say. 4096 would be reasonable values.
Mmmm, is there a problem with having a fdset array size of 8 kB?
Note that select() will not work for more FD's than FD_SETSIZE.
Jörg
--
EMail:joerg at schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin
js at cs.tu-berlin.de (uni)
joerg.schilling at fokus.fraunhofer.de (work) Blog: http://schily.blogspot.com/
URL: http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily
More information about the Discuss
mailing list