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.


Reply via email to