Re: [squid-users] getting contents from sibblings

From: Ard van Breemen <ard@dont-contact.us>
Date: Fri, 21 Feb 2003 16:51:36 +0100

On Wed, Feb 19, 2003 at 04:42:16PM +0100, Ard van Breemen wrote:
> We use icp to keep the caches in sync. But lately we noticed the
> caches do not co-operate anymore. A test setup of (almost) the
> same configuration still works.
It seems that the neighborsCount is bouncing up and down:
2003/02/21 15:42:51| whichPeer: from 0.0.0.0 port 0
2003/02/21 15:42:51| peerSelectFoo: direct = DIRECT_MAYBE
2003/02/21 15:42:51| peerSelectIcpPing: http://www.telegraaf.nl/
2003/02/21 15:42:51| neighborsCount: 12
2003/02/21 15:42:51| peerSelectIcpPing: counted 12 neighbors
2003/02/21 15:42:51| peerSelect: Doing ICP pings
<snip>
2003/02/21 16:11:04| peerCheckNetdbDirect: minimum_direct_hops = 4
2003/02/21 16:11:04| whichPeer: from 0.0.0.0 port 0
2003/02/21 16:11:04| peerSelectFoo: direct = DIRECT_MAYBE
2003/02/21 16:11:04| peerSelectIcpPing: xyz://xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/21022003MIDK.gif
2003/02/21 16:11:04| neighborsCount: 0
2003/02/21 16:11:04| peerSelectIcpPing: counted 0 neighbors
2003/02/21 16:11:04| peerGetSomeParent: GET images.ads.telegraaf.nl
2003/02/21 16:11:04| getDefaultParent: returning NULL
2003/02/21 16:11:04| getRoundRobinParent: returning NULL
<snip>
2003/02/21 16:10:40| peerSelectFoo: direct = DIRECT_MAYBE
2003/02/21 16:10:40| peerSelectIcpPing: xyz://xxxxxxxxxxxxxxxxxxxxxxxxx/demo.gif
2003/02/21 16:10:40| neighborsCount: 12
2003/02/21 16:10:40| peerSelectIcpPing: counted 12 neighbors

Or better:
# grep neighborsCount cache.log
2003/02/21 16:10:55| neighborsCount: 0
2003/02/21 16:10:55| neighborsCount: 0
2003/02/21 16:10:55| neighborsCount: 0
2003/02/21 16:10:56| neighborsCount: 0
2003/02/21 16:10:59| neighborsCount: 12
2003/02/21 16:11:00| neighborsCount: 0
2003/02/21 16:11:00| neighborsCount: 0
2003/02/21 16:11:00| neighborsCount: 0
2003/02/21 16:11:00| neighborsCount: 0
2003/02/21 16:11:00| neighborsCount: 0
2003/02/21 16:11:00| neighborsCount: 12
2003/02/21 16:11:00| neighborsCount: 0
2003/02/21 16:11:00| neighborsCount: 0
2003/02/21 16:11:00| neighborsCount: 0
2003/02/21 16:11:00| neighborsCount: 0
2003/02/21 16:11:00| neighborsCount: 0
2003/02/21 16:11:01| neighborsCount: 12
2003/02/21 16:11:01| neighborsCount: 0
2003/02/21 16:11:01| neighborsCount: 0
2003/02/21 16:11:01| neighborsCount: 0

(Obfuscated some urls)

-- 
program signature;
begin  { telegraaf.com
} writeln("<ard@telegraafnet.nl> SMA-IS | Geeks don't get viruses");
end
.
Received on Fri Feb 21 2003 - 08:51:44 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:13:32 MST