[Zope] Re: Squid headaches

Wankyu Choi wankyu@neoqst.com
Sat, 31 May 2003 01:20:24 +0900


> Can you post a before and after of "Peer Cache Statistics"  page in =
squid=20
> cachemanager CGI

About 10 minutes ago, I caught Squid getting restarted. Every night at 1 =
AM,
the same thing happens: the packing script starts running; Squid =
declares
peers dead; my cron job restarts Squid; the packing script keeps =
running;
everything's back to normal, just a couple of minutes of a service =
blackout
(the squid watch script runs every 10 minutes).

Here goes 'Peer Cache Statistics' before and after the fact. Any ideas?

( Squid runs on 127.0.0.1 which also works as the first parent. )

Before Squid delcares peers dead:

-----------------------------
Parent     : 127.0.0.1/8080/3130
Flags      : no-digest default round-robin no-netdb-exchange
Address[0] : 127.0.0.1
Status     : Up
AVG RTT    : 19 msec
LAST QUERY :        5 seconds ago
LAST REPLY :        5 seconds ago
PINGS SENT :      104
PINGS ACKED:      104 100%
FETCHES    :        5   5%
IGNORED    :        2   2%
Histogram of PINGS ACKED:
         ICP_HIT :        3   3%
        ICP_MISS :      101  97%
keep-alive ratio: 100%

Parent     : 192.168.250.4/8080/3130
Flags      : no-digest round-robin no-netdb-exchange
Address[0] : 192.168.250.4
Status     : Up
AVG RTT    : 1 msec
LAST QUERY :        5 seconds ago
LAST REPLY :        5 seconds ago
PINGS SENT :      104
PINGS ACKED:      104 100%
FETCHES    :       87  84%
IGNORED    :       10  10%
Histogram of PINGS ACKED:
        ICP_MISS :      104 100%
keep-alive ratio: 100%

Parent     : 192.168.250.3/8080/3130
Flags      : no-digest round-robin no-netdb-exchange
Address[0] : 192.168.250.3
Status     : Up
AVG RTT    : 13 msec
LAST QUERY :        5 seconds ago
LAST REPLY :        5 seconds ago
PINGS SENT :      104
PINGS ACKED:      104 100%
FETCHES    :       12  12%
IGNORED    :        5   5%
Histogram of PINGS ACKED:
        ICP_MISS :      104 100%
keep-alive ratio: 100%
------------------------------------------------------

After a restart:

-----------------------------------
Parent     : 127.0.0.1/8080/3130
Flags      : no-digest default round-robin no-netdb-exchange
Address[0] : 127.0.0.1
Status     : Up
AVG RTT    : 20 msec
LAST QUERY :        5 seconds ago
LAST REPLY :        5 seconds ago
PINGS SENT :       68
PINGS ACKED:       68 100%
FETCHES    :        3   4%
IGNORED    :        2   3%
Histogram of PINGS ACKED:
         ICP_HIT :        1   1%
        ICP_MISS :       67  99%
keep-alive ratio: 100%

Parent     : 192.168.250.4/8080/3130
Flags      : no-digest round-robin no-netdb-exchange
Address[0] : 192.168.250.4
Status     : Up
AVG RTT    : 6 msec
LAST QUERY :        5 seconds ago
LAST REPLY :        5 seconds ago
PINGS SENT :       68
PINGS ACKED:       68 100%
FETCHES    :       57  84%
IGNORED    :        5   7%
Histogram of PINGS ACKED:
        ICP_MISS :       68 100%
keep-alive ratio: 100%

Parent     : 192.168.250.3/8080/3130
Flags      : no-digest round-robin no-netdb-exchange
Address[0] : 192.168.250.3
Status     : Up
AVG RTT    : 16 msec
LAST QUERY :        5 seconds ago
LAST REPLY :        5 seconds ago
PINGS SENT :       68
PINGS ACKED:       68 100%
FETCHES    :        8  12%
IGNORED    :        3   4%
Histogram of PINGS ACKED:
        ICP_MISS :       68 100%
keep-alive ratio: 100%
---------------------------------