Re: [squid-users] Problem with Sibling squids

From: Bishal <bishal@dont-contact.us>
Date: 7 Jun 2007 05:16:57 -0000

I have squid 2.6.Stable 13 installed on two transparent proxy servers.
configured as a sibling working fine with this configuration:


>Proxy1:
>icp_port 3130
>icp_hit_stale off
>cache_peer proxy2 sibling 3128 3130 no-netdb-exchange proxy-only no-digest
>no-delay
>log_icp_queries off
>icp_query_timeout 500
>http_access allow Proxy2
>icp_access allow Proxy2
>visible_hostname Proxy1
>
>Proxy2:
>icp_port 3130
>icp_hit_stale off
>cache_peer proxy1 sibling 3128 3130 no-netdb-exchange proxy-only no-digest
>no-delay
>log_icp_queries off
>icp_query_timeout 500
>http_access allow Proxy1
>icp_access allow Proxy1
>visible_hostname Proxy2
>


Best regards


On 6/5/2007, "Juraj Sakala" <juraj.sakala@greenband.sk> wrote:

>> Added that line and didn't help :(.
>>
>> This is what happens:
>>
>> 1) Squids were configured without sibling.
>> 2) Configured sibling on each squid as showed before (4 cache_peer
>> lines per squid, total 5 squids).
>> 3) Reloaded (not restarted) squid. Sibling started working.... After a
>> while (~20 secs). Stopped working.
>> 4) Changed some settings (disable siblings, reloaded, enabled
>> siblings, reloaded) and no ICP requests were sent.
>> 5) Restarted Squid and sibling started working again for ~20 secs again.
>>
>> So every change I make I have to restart squid :(
>>
>> About if I see SIBLING_HITs on my access.log, yes, for those 20 secs
>> sibling works. I see SIBLING_HITs :(
>
>It is strange problem. I use ICP without problems. Which version of squid do
>you use?
>Do you have checked cache.log?
>
>This is part of my working config, perhaps it will be helpful for you:
>
>Proxy1:
>icp_port 3130
>icp_hit_stale off
>cache_peer proxy2 sibling 3128 3130 no-netdb-exchange proxy-only no-digest
>no-delay
>log_icp_queries off
>icp_query_timeout 500
>http_access allow Proxy2
>icp_access allow Proxy2
>visible_hostname Proxy1
>
>Proxy2:
>icp_port 3130
>icp_hit_stale off
>cache_peer proxy1 sibling 3128 3130 no-netdb-exchange proxy-only no-digest
>no-delay
>log_icp_queries off
>icp_query_timeout 500
>http_access allow Proxy1
>icp_access allow Proxy1
>visible_hostname Proxy2
>
>
Received on Wed Jun 06 2007 - 23:30:42 MDT

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