[squid-users] cache_peer problenms in accelerator mode

From: Edward Rosinzonsky <erosin@dont-contact.us>
Date: Tue, 26 Sep 2006 17:23:03 -0700

Hi,

I'm running squid in accelerator mode, and can't get a sibling cache
working. The cache.log file doesn't say anything about siblings or
ICP messages. It's almost as if the cache_peer line isn't being seen.
 I'm running 2.5.STABLE14. My config is included below. The sibling
is configured exactly the same, with the exception of the cache_peer
line pointing to this server. Has anyone seen this?

http_port 80
httpd_accel_host 127.0.0.1
acl acceleratedHost dst 127.0.0.1/255.255.255.255
httpd_accel_port 82
acl acceleratedPort port 82
acl valid_domains dstdomain "/usr/local/squid/etc/valid_domains"
acl myNet src 192.168.1.0/255.255.255.255
http_access allow acceleratedHost acceleratedPort
http_access allow myNet
http_access allow valid_domains
cache_effective_user squid
cache_effective_group squid
httpd_accel_single_host on
httpd_accel_with_proxy off
httpd_accel_uses_host_header on
redirect_rewrites_host_header off
strip_query_terms off
acl QUERY urlpath_regex cgi-bin
no_cache deny QUERY
cache_mem 2560 MB
redirect_program /usr/local/squirm/bin/squirm
redirect_children 100
max_open_disk_fds 5000
refresh_pattern ^http:.+/checkstatus/ 0 0% 0
refresh_pattern ^http:.+/statuscheck/ 0 0% 0
refresh_pattern ^http:.+/proximity[^/]*/ 0 0% 0
refresh_pattern ^http:.+/broadmatch[^/]*/ 0 0% 0
refresh_pattern . 34 100% 34
cache_peer 192.168.1.104 sibling 80 3130
hierarchy_stoplist cgi-bin ?
minimum_object_size 1 Bytes
cache_dir aufs /usr/local/squid/var/cache 10240 256 256
cache_store_log none
auth_param basic children 5
auth_param basic realm Squid proxy-caching web server
auth_param basic credentialsttl 2 hours
auth_param basic casesensitive off
negative_ttl 10 seconds
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
http_access allow manager localhost
http_access deny manager
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access deny all
http_reply_access allow all
icp_access allow all
logfile_rotate 0
coredump_dir /usr/local/squid/var/cache
Received on Tue Sep 26 2006 - 18:23:06 MDT

This archive was generated by hypermail pre-2.1.9 : Sun Oct 01 2006 - 12:00:04 MDT