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
