Re: 2.5 and delay pools

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Thu, 4 Mar 2004 08:11:45 +0100 (CET)

On Wed, 3 Mar 2004, Adrian Chadd wrote:

> I'm still having issues with squid-2.5 and delay pools.
> The FDSET stuff is _very_ broken when you're using >1024 fds.

More likely the way FD_SETSIZE is extended is broken for your libc
headers..

You need to remove far more fd_set references if this is the problem.
There is also seveal delay pool related fd_set usage in comm_poll, and a
few other places I think.

To verify the FD_SETSIZE extension you can use the following

        assert(sizeof(fd_set) >= (SQUID_MAXFD + 7) / 8);

if this triggers you are in deep trouble. We probably SHOULD add this
somewhere to make sure the problem is quickly detected if so should
happen.

Regards
Henrik
Received on Thu Mar 04 2004 - 00:11:48 MST

This archive was generated by hypermail pre-2.1.9 : Thu Apr 01 2004 - 12:00:04 MST