Re: [squid-users] Cache corruption

From: <david@dont-contact.us>
Date: Thu, 15 Jul 2004 17:17:16 +0800

Wiping the cache directories works, but is only a temporary solution. I have tried
changing the drive and ide cable but no change. With squid off, this machine is stable.
This is my squid.conf:

Two lines look a bit odd, cache_store_log none
and visible host name streamyx.

shutdown_lifetime 5 seconds
icp_port 0
http_port 10.12.10.2:800
acl QUERY urlpath_regex cgi-bin \?
no_cache deny QUERY
cache_effective_user squid
cache_effective_group squid
pid_filename /var/run/squid.pid
cache_access_log /var/log/squid/access.log
cache_log /var/log/squid/cache.log
cache_store_log none
log_mime_hdrs off
forwarded_for off
acl all src 0.0.0.0/0.0.0.0
acl localhost src 127.0.0.1/255.255.255.255
acl localnet src 10.12.0.0/255.255.0.0
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 Safe_ports port 800 # Squids port (for icons)
acl IPCop_http port 81
acl IPCop_https port 445
acl IPCop_ip dst 10.12.10.2
acl CONNECT method CONNECT
acl banlist dstdomain "/etc/banlist"

http_access allow localhost
http_access allow IPCop_ip localnet IPCop_http
http_access allow CONNECT IPCop_ip localnet IPCop_https
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access deny banlist
http_access allow localnet
http_access deny all

maximum_object_size 16384 KB
minimum_object_size 4 KB
cache_mem 10240 KB
cache_dir aufs /var/log/cache 256 16 256
request_body_max_size 0 KB
reply_body_max_size 0 allow all
visible_hostname streamyx.

httpd_accel_host virtual
httpd_accel_port 80
httpd_accel_with_proxy on
httpd_accel_uses_host_header on
Received on Thu Jul 15 2004 - 03:24:35 MDT

This archive was generated by hypermail pre-2.1.9 : Sun Aug 01 2004 - 12:00:02 MDT