Are you sure you are looking into the correct squid.conf on your squid2 &
squid3?
You can only see TIMEOUT_DIRECT in access.log if you have ICP enabled
cache_peer:s defined (cache_peer:s not using the no-query option), and
requests only get forwarded to another peer if there is cache_peer
directives telling so should be done.
Regards
Henrik
[Scott Phalen]
Here are my squid.conf from each server (brief versions):
Squid1
http_port 3128
cache_peer carp1.mydomain.com parent 3128 0 carp-load-factor=0.4
cache_peer carp2.mydomain.com parent 3128 0 carp-load-factor=0.6
Squid2 (carp1)
http_port 3128
icp_port 3130
cache_peer carp2.mydomain.com sibling 3128 3130 proxy-only
cache_peer 127.0.0.1 parent 8080 0 proxy-only (dansguardian hosts)
cache_peer_access 127.0.0.1 allow dansguardian
cache_peer_access 127.0.0.1 deny all
always_direct allow all
Squid3 (carp2)
http_port 3128
icp_port 3130
cache_peer carp1.mydomain.com sibling 3128 3130 proxy-only
cache_peer 127.0.0.1 parent 8080 0 proxy-only (dansguardian hosts)
cache_peer_access 127.0.0.1 allow dansguardian
cache_peer_access 127.0.0.1 deny all
always_direct allow all
On squid2 and squid3 I am seeing the timeout_direct message in the
access.log. On squid1 I am seeing where squid2 and squid3 are sending their
queries back in the access.log. There isn't any references to squid1 in
either config on squid2 or squid3. If you'd like I can copy all 3 configs
in here but they are really long.
In the access.log on squid1 I am not seeing many references to the requests
being sent to CARP/carp1.mydomain.com or CARP/carp2.mydomain.com either.
Looks like they are all being sent "direct". In my test environment I saw
most the requests going to "CARP/host.mydomain.com" except the domains I had
configured to go always_direct.
Snipet from access.log on squid1:
1102825620.299 105 199.86.18.23 TCP_MISS/200 298 GET
http://wisapidata.weatherbug.com/WxAlertIsapi/WxAlertIsapi.dll? -
DIRECT/69.25.38.101 text/plain
1102825620.400 0 carp1.mydomain.com TCP_DENIED/403 1474 GET
http://wisapidata.weatherbug.com/WxAlertIsapi/WxAlertIsapi.dll? - NONE/-
text/html
Thanks for the help!
Scott Phalen
Received on Sat Dec 11 2004 - 22:05:45 MST
This archive was generated by hypermail pre-2.1.9 : Sat Jan 01 2005 - 12:00:02 MST