> There's a bit in main() in src/main.c of Squid 2.[12] which says: > > if (FD_SETSIZE < Squid_MaxFD) > Squid_MaxFD = FD_SETSIZE; > > You can either comment this out (which is what I did) or hack at the > definition for FD_SETSIZE in your header files. If you don't, Squid > will report 1024 file descriptors. Ugh! What a horrible suggestion (that you could just comment it out), unless you're not using an fd_set anywhere (eg, using poll(), not using delay_pools, etc - I don't know all the places it might be used), this would cause a random memory scribble. FD_SETSIZE is the number of bits in the fd_set. If you let file descriptors grow beyond it, then when bits are toggled with FD_SET et al, this will cause random problems. David.
- file descriptors for squid using linux 2.2.1 Marlon Anthony Abao
- Re: file descriptors for squid using linux 2.2.1 Martin Hamilton
- Re: file descriptors for squid using linux 2.... Jaeho Yang
- Re: file descriptors for squid using linux 2.... David Luyer
- Re: file descriptors for squid using linu... Martin Hamilton
- Re: file descriptors for squid using linux 2.2.1 Dancer
- Re: file descriptors for squid using linux 2.2.1 Jordan Mendelson
- Re: file descriptors for squid using linux 2.2.1 Irfan Akber
- Re: file descriptors for squid using linux 2.... Marlon Anthony Abao
- Re: file descriptors for squid using linux 2.2.1 Irfan Akber
- Re: file descriptors for squid using linux 2.2.1 Ted_Rule
- Re: file descriptors for squid using linux 2.2.1 Kapre .....
- Re: file descriptors for squid using linux 2.2.1 Sherwin de Claro
