Re: apache style squid?

From: Anthony Baxter <arb@dont-contact.us>
Date: Tue, 07 Oct 1997 19:13:27 +1000

>>> Dean Gaudet wrote
> Does Solaris 2.6 have a 2048 descriptor limit? It does fix the select()
> above 1024 problem, right? I know you guys use poll() for that size, just
> curious. Linux 2.1.x can easily go above 1024 descriptors, 2.0.x tops off
> around 1024 (due to its method of doing select).

2.6 STILL has a 1024 limit on select() - it also appears to still only
go up to 4096 fds (same as 2.5.1). I tried to get a late 2.6beta
running with 8192, and found all sorts of things breaking - whether this
was because things were using select(), I don't know. (I gave up in digust,
and haven't gone back to it yet).

I don't know _why_ Sun still haven't fixed select() - writing it from
scratch to deal with larger numbers of fds was an hours work.

On Solaris and Digital Unix, using poll() is much faster than select(),
anyway.

Anthony
Received on Tue Jul 29 2003 - 13:15:43 MDT

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