Re: Patch for > 1024 fds on Linux

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Mon, 22 Apr 2002 09:06:53 +0200

We already have another patch for this in Squid-2.5...

Regards
Henrik

On Monday 22 April 2002 04:33, Grahame Bowland wrote:
> Hi all,
>
> The attached patch is working ok for me, allows > 1024 fds on Linux
> using polled I/O. This is achieved by removing all references to
> fd_set in the code if polled I/O is on.
>
> For example, delay_pools.c uses fd_set as a convenience and this
> has been replaced with an array of chars.
>
> Has been running for quite some time under load. Remember to do
> ulimit -n 2048 (or similar) before running configure :-)
>
> Cheers,
> Grahame
Received on Mon Apr 22 2002 - 01:57:44 MDT

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