Re: Peers don't work ?

From: Miquel van Smoorenburg <list-squid@dont-contact.us>
Date: 29 Nov 1999 19:32:20 GMT

In article <cistron.3841BB59.7398B9F@hem.passagen.se>,
Henrik Nordstrom <hno@hem.passagen.se> wrote:
>Miquel van Smoorenburg wrote:
>
>> If I restart squid, the "peer cache statistics" seem to work OK for
>> some time, and then LAST QUERY and LAST REPLY jump to a very big
>> number and the other output doesn't make sense anymore either.
>
>Are you sure it works in the beginning? From the status shown it looks
>like your sibling never got queried (or used).

Yes, it does work. When I restart squid it looks like:

Sibling : toutatis.xs4all.nl/8080/3130
Flags : no-digest
Address[0] : 194.109.6.96
Address[1] : 194.109.6.90
Status : Up
AVG RTT : 372 msec
LAST QUERY : 84 seconds ago
LAST REPLY : 83 seconds ago
PINGS SENT : 3
PINGS ACKED: 3 100%
FETCHES : 0 0%
IGNORED : 1 33%
Histogram of PINGS ACKED:
        ICP_MISS : 3 100%
keep-alive ratio: 0%

Then LAST QUERY and LAST REPLY grow bigger and bigger. Of all my peers
they are the _exact_ same value.

It looks like the peers are only queried once, at startup, and never
again after that. Configuration looks like this:

cache_peer toutatis.xs4all.nl sibling 8080 3130 no-digest

And they are most definitely talking:

20:29:19.756474 holodeck.cistron.nl.icpv2 > twasnix.xs4all.nl.icpv2: udp 66
20:29:19.976710 twasnix.xs4all.nl.icpv2 > holodeck.cistron.nl.icpv2: udp 74
20:29:19.978395 holodeck.cistron.nl.icpv2 > twasnix.xs4all.nl.icpv2: udp 70
20:29:20.602411 twasnix.xs4all.nl.icpv2 > holodeck.cistron.nl.icpv2: udp 71
[lots and lots of this]

And it now looks like:

Sibling : toutatis.xs4all.nl/8080/3130
Flags : no-digest
Address[0] : 194.109.6.96
Address[1] : 194.109.6.90
Status : Up
AVG RTT : 372 msec
LAST QUERY : 693 seconds ago
LAST REPLY : 692 seconds ago
PINGS SENT : 3
PINGS ACKED: 3 100%
FETCHES : 0 0%
IGNORED : 1 33%
Histogram of PINGS ACKED:
        ICP_MISS : 3 100%
keep-alive ratio: 0%

Mike.

-- 
First things first, but not necessarily in that order.
-- 
The From: and Reply-To: addresses are internal news2mail gateway addresses.
Reply to the list or to miquels@cistron.nl (Miquel van Smoorenburg)
Received on Mon Nov 29 1999 - 12:46:00 MST

This archive was generated by hypermail pre-2.1.9 : Wed Apr 09 2008 - 11:57:32 MDT