Re: delay pools and fd_set 's

From: Adrian Chadd <adrian@dont-contact.us>
Date: Fri, 28 Feb 2003 04:03:28 -0700

On Fri, Feb 28, 2003, Henrik Nordstrom wrote:
> Adrian: What was the exact number of filedescriptors you configured
> Squid for using?

2048.

> I am a bit reluctant about doing this change in Squid-2.5 as to me
> this large (but non-intrusive) change does not seem to be needed if
> the FD_SETSIZE override is fixed to ensure the new size gets rounded
> up properly.
>
> Note: Your patch relies on the undocumented "howmany" macro which just
> happens to be found in the glibc headers with a suitable definition..
>
> I do not mind if the fd_set dependency is killed in delay pools and
> comm code for Squid-3 (obviously save for select() processing). In
> fact I would encourage this happening there.

I agree. There was some real whackiness going on here, I coudln't quite
unravel it but when I did the above it seemed to calm the tide.

I can always commit an update with a local version of howmany().

Adrian
Received on Fri Feb 28 2003 - 04:03:32 MST

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