[squid-users] 8232 filedescriptors too few!

From: Prakash Khemani <khemani@dont-contact.us>
Date: Mon, 29 Jul 2002 08:01:11 -0700

I am running squid 2.4STABLE4 on FreeBSD 4.4. I feel I have enough
filedescriptors configured, yet squid complains.

sysctl -a |grep maxfiles shows
kern.maxfiles: 8232
kern.maxfilesperproc: 8232

The Squid Unix user account is 'squid'.
As root the limit command shows "descriptors 8232"
As squid the ulimit -a command shows "open files (-n) 8232"

While running the Squid cache and with load
pstat -T shows
325/8232 files
0M/499M swap space

fstat -u squid | wc shows
287

So, it appears that out of 8232 available file descriptors the squid
cache is using only 287. Still it complains. It gives the following
warnings

commResetFD: socket: (24) Too many open files
WARNING! Your cache is running out of filedescriptors

Thanks,
Prakash
Received on Mon Jul 29 2002 - 09:01:12 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:09:23 MST