[squid-users] Max-File Descriptors

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

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.

PS : This is Fedora Core 2, running with squid-2.5.STABLE5-4 (rpm)

Appreciate any and all help

-- 
Ow Mun Heng
Gentoo/Linux on D600 1.4Ghz 
CPU kernel 2.6.9-gentoo-r1 
Neuromancer 02:12:31 up 5:16, 5 users, load average: 0.10, 0.46, 0.60 
Received on Sat Nov 20 2004 - 11:14:39 MST

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