United States (change)
Shortcuts: Downloads Fedora Red Hat Network
Account Links: Cart Your Account Logout
If there are to many open files, or error messages such as WARNING! Your cache is running out of filedescriptors in cache.log, then Squid is running out of file descriptors and cannot handle the extra requests.
Some versions of squid have a compile-time limitation of 1024 maximum that cannot be increased by using ulimit at run-time.
A new configuruation option max_filedesc has been added to the following versions of Squid:
Red Hat Enterprise Linux 3: squid-2.5.STABLE3-6.3E.18
Red Hat Enterprise Linux 4: squid-2.5.STABLE14-1.4E
(This option is included in Squid for Red Hat Enterprise Linux 5 by default.)
Squid needs to be updated to the specified versions or above in order to use the new configuration option.
For example, to increase the maximum file descriptors to 4096, please do the following:
* - nofile 4096
# ulimit -a
open files (-n) 4096
max_filedesc 4096
(Notice: the value of max_filedesc should be the same as the value of nofile in /etc/security/limits.conf)
# service squid restart
# squidclient mgr:info
File descriptor usage for squid:
Maximum number of file descriptors: 4096