RedHat Linux 6.0, Kernel 2.2.12, Squid-2.2.STABLE4
Thanks for the responses to my previous post on this, I got a pointer to
Henrik's web page documenting how to get more file descriptors for
squid. What I did was:
1) get a fresh copy of linux-2.2.12, configure required drivers etc,
compile & install
2) echo 16384 > /proc/sys/fs/file-max (ulimit wouldn't work without
this)
3) ulimit -SHn 4096
4) make distclean ; ./configure --enable-snmp
...
Default FD_SETSIZE value... 1024,
Maximum number of filedescriptors we can open... 4096
...
5) make install
Then, from the same shell (ie ulimit -n = 4096) I started squid and
looked in cache.log, where it claims: 'With 1024 file descriptors
available'. Not what I'd expected (on some Digital UNIX boxes here squid
reports 4096 file descriptors, I thought that's what I had in Linux now
too).
So it looks like I've stuffed up somewhere, anyone care to enlighten me?
Thanks,
Simon
-- Simon Greaves voice: (+679) 212114 Computer Centre fax: (+679) 304089 The University of the South Pacific email: Simon.Greaves@usp.ac.fj Suva, FijiReceived on Tue Sep 07 1999 - 16:10:41 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:48:21 MST