You still need to insert __FD_SETSIZE in kernel 2.6. i guess. Open up the /usr/include/bits/types.h with any editor and insert __FD_SETSIZE 8192 at the top of the file.
then run the command, ulimit -HSn 8192 and lastly, recompile the squid 2.5. remember that u need to run the ulimit -HSn 8192 command at the squid's binary directory everytime u want to start the squid daemon.cheers! -m4- --- Ow Mun Heng <[EMAIL PROTECTED]> wrote: > On Sun, 2004-11-21 at 02:12, Ow Mun Heng wrote: > > Need some advice, I can't seem to be able to > locate resources which will > > help me here. > > > > I'm building a squid server which will serve a > _lot_ of clients. I want > > to increase it's max-file-descriptors, much like > the Tsunami > > (http://www.swelltech.com/). > > > > I've tried looking for the _FD_SETSIZE_ but am > unable to locate it. > > > > I've tried setting ulimit -HSn 8192 but upon squid > startup, I keep > > seeing the > > > > 1024 Max File Descriptors > > > > My /proc entries > > cat /proc/sys/fs/file-max > > 50956 > > cat /proc/sys/fs/inode-nr > > 6346 219 > > cat /proc/sys/fs/file-nr > > 645 0 50956 > > > > They seem to be right. > > > > I've not resorted to re-compiling yet because > based on my googling, I > > need to change FD_SETSIZE. > > After reading > (http://www.squid-cache.org/Doc/FAQ/FAQ-11.html#filedescriptors) > I think > my kernel 2.6 and this being squid 2.5, I don't need > the FD_SETSIZE > option. > > And I think I will try compiling on my own based on > those instructions. > > > __________________________________ Do you Yahoo!? The all-new My Yahoo! - Get yours free! http://my.yahoo.com
