Hello,
I've also seen this issue. I'm on a FreeeBSD6 box with squid 2.5 on it.
My config is below. Generally when this happens the disk goes nuts, as if
it's trying to clean files out of the disk cache, i use a
du -sh
command and check the cache directories and they're full. My solution is to
add another cache dir, but i'd like to know why this is occurring. I'm not
getting any output indicating a problem in syslog or the squid logs.
Thanks.
Dave.
/usr/local/etc/squid/squid.conf
http_port 127.0.0.1:8080
httpd_accel_host virtual
httpd_accel_port 80 443
httpd_accel_with_proxy on
httpd_accel_uses_host_header on
hierarchy_stoplist cgi-bin ?
acl QUERY urlpath_regex cgi-bin \?
no_cache deny QUERY
cache_mem 128 MB
maximum_object_size_in_memory 128 KB
cache_replacement_policy heap LFUDA
memory_replacement_policy heap GDSF
cache_dir aufs /usr/local/squid/cache 500 16 256
cache_dir aufs /usr/local/squid/cache1 500 16 256
cache_access_log /usr/local/squid/logs/access.log
cache_log /usr/local/squid/logs/cache.log
cache_store_log none
cache_swap_log /usr/local/squid/logs/swap.state
pid_filename /usr/local/squid/logs/squid.pid
ftp_user [EMAIL PROTECTED]
half_closed_clients off
acl all src 0.0.0.0/0.0.0.0
acl manager proto cache_object
acl localhost src 127.0.0.1/255.255.255.255
acl to_localhost dst 127.0.0.0/8
acl SSL_ports port 443 563
acl Safe_ports port 80 # http
acl Safe_ports port 21 # ftp
acl Safe_ports port 443 563 # https, snews
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
acl CONNECT method CONNECT
acl POST method POST
http_access allow manager localhost
http_access deny manager
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access deny to_localhost
acl our_networks src 192.168.0.0/24
acl porn url_regex "/usr/local/etc/squid/porn"
acl spyware dstdomain "/usr/local/etc/squid/spyware.acl"
http_access allow our_networks !porn !spyware
http_access deny all
http_reply_access allow all
cache_mgr [EMAIL PROTECTED]
cache_effective_user squid
cache_effective_group squid
visible_hostname galaxy.example.com
coredump_dir /usr/local/squid/cache
follow_x_forwarded_for allow localhost
follow_x_forwarded_for allow our_networks
follow_x_forwarded_for deny all