[squid-users] ICP is not working as expected

From: Atef Alqashqish <atef_at_ihorizons.com>
Date: Sun, 18 Jan 2009 10:37:17 +0200

Hi,

I have two servers Windows 2003 with SQUID 2.7 stable 3, one of them act as origin for the two squid instances, hence one squid installation co-exist on the same box with IIS application and web site, the two squid works as expected as long as ICP and cache hierarchy is not used, only one cache_peer as parent and origin.

To enhance the site performance we decide to use ICP and make one server use the second server squid as its sibling with proxy-only option, we always get ICP_MISS in the cache log even though we are sure the URL is cached in the first SQUID cache!, the below are the configuration:

Server1 (Origin with IIS site and SQUID cache), IP 10.10.0.191:
cache_peer 10.11.0.197 parent 80 0 no-query originserver
acl usasite dstdomain 10.10.0.191
cache_peer_access 10.11.0.197 allow usasite
cache_peer_access 10.11.0.197 deny all
http_access allow usasite

icp_port 3130
icp_access allow all

Server2(IP 10.10.10.16):
http_port 10.10.10.16:80 accel defaultsite=10.10.10.16
cache_peer 10.10.0.191 sibling 80 3130 proxy-only
cache_peer 10.11.0.197 parent 80 0 no-query originserver
acl usasite dstdomain 10.10.10.16
cache_peer_access 10.11.0.197 allow usasite
cache_peer_access 10.11.0.197 deny all
cache_peer_access 10.10.0.191 allow usasite
cache_peer_access 10.10.0.191 deny all
http_access allow usasite

icp_port 3130
icp_access allow all

Please help

Atef A. M. AlQashqish
Operation Manager / MCSE, MCT, ITIL Certified Service Manager
iHorizons
Tel : -         +962 6 534 1640 ext 61
Mobile:-     +962 777 530053
Fax:-         +962 6 534 1927
P.O. BOX 1610 Jubaiha 11941 Amman - Jordan
http://www.iHorizons.com
Received on Sun Jan 18 2009 - 08:32:25 MST

This archive was generated by hypermail 2.2.0 : Sun Jan 18 2009 - 12:00:02 MST