Re: max filedescriptor on linux

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Tue, 15 Feb 2000 21:15:04 +0100

Pedro Ribeiro wrote:
>
> Be carefull even with that change select() is still limited to 1024FD's
> (unless you tweak some #defines in the kernel and recompile them), so be
> shure you'r using poll() that doesn't have this limitation.

select() is not limited in Linux-2.2.12 and later (at least not by the
kernel), and Squid by default selects to use poll() when you build Squid
on Linux-2.2 or higher. There are still problems with some glibc
functions, and system headers, but none of these should affect Squid.

See http://squid.sourceforge.net/hno/ for a note describing in detail
the procedure I recommend for enabling more than 1024 filedescriptors.

--
Henrik Nordstrom
Squid Hacker
Received on Tue Feb 15 2000 - 15:26:22 MST

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