[squid-users] Re: Max-File Descriptors

From: Ow Mun Heng <Ow.Mun.Heng@dont-contact.us>
Date: Sun, 21 Nov 2004 02:33:49 +0800

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.
Received on Sat Nov 20 2004 - 11:35:44 MST

This archive was generated by hypermail pre-2.1.9 : Wed Dec 01 2004 - 12:00:01 MST