[squid-users] WARNING! Your cache is running out of filedescriptors

From: MrErr <samirlapati_at_gmail.com>
Date: Sun, 15 Jun 2014 15:51:21 -0700 (PDT)

Hi Everyone,

I know this has been addressed before, but i am getting this error with just
making one change to the squid.conf file. The system filelimit is set at
16384 and squid at 4096.

Here is my squid.conf

acl localnet src
acl localnet src
acl SSL_ports port 443
acl Safe_ports port 80 # http
acl Safe_ports port 8080 # http
acl Safe_ports port 21 # ftp
acl Safe_ports port 443 # https
acl Safe_ports port 70 # gopher
acl Safe_ports port 210 # wais
acl Safe_ports port 1025-65535 # unregistered ports
acl Safe_ports port 280 # http-mgmt
acl Safe_ports port 488 # gss-http
acl Safe_ports port 591 # filemaker
acl Safe_ports port 777 # multiling http
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access allow localhost manager
http_access deny manager
http_access deny to_localhost
http_access allow localnet
http_access allow localhost
http_access deny all
http_port intercept
https_port intercept ssl-bump
generate-host-certificates=on cert=/etc/squid/myCA.pem
acl ip_https_targets dst "/etc/squid/ip_https_targets.conf"
ssl_bump server-first ip_https_targets
sslproxy_cert_error allow all
sslcrtd_children 5
cache_dir ufs /var/spool/squid 100 16 256
coredump_dir /var/spool/squid
refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern -i (/cgi-bin/|\?) 0 0% 0
refresh_pattern . 0 20% 4320
icap_enable on
icap_preview_enable on
icap_preview_size 4096
icap_persistent_connections on
icap_send_client_ip on
icap_send_client_username on
icap_client_username_header X-Client-Username
icap_service qlproxy1 reqmod_precache 0 icap://
icap_service qlproxy2 respmod_precache 0 icap://
acl icap_exclusions dstdomain "/etc/squid/icap_exclusion_domains.conf"
adaptation_access qlproxy1 deny icap_exclusions
adaptation_access qlproxy1 allow all
adaptation_access qlproxy2 allow all
max_filedesc 4096
cache deny all
debug_options ALL,1 33,2

The small change i have to make to cause squid to reach the file limit is

ssl_bump server-first all

Does anyone know why this would happen?

View this message in context: http://squid-web-proxy-cache.1019090.n4.nabble.com/WARNING-Your-cache-is-running-out-of-filedescriptors-tp4666357.html
Sent from the Squid - Users mailing list archive at Nabble.com.
Received on Sun Jun 15 2014 - 22:52:09 MDT

This archive was generated by hypermail 2.2.0 : Mon Jun 16 2014 - 12:00:04 MDT