[squid-users] More cache peer confusion

Alex Samad alex at samad.com.au
Tue Jan 5 01:01:56 UTC 2016


from the logs

# these 2 are from my laptop to alcdmz which then talks to gsdmz1,
which responds with a 504

Jan 05 11:55:53 2016.808      0 alcdmz1.abc.com TCP_HIT/504 4800 GET
http://wiki.squid-cache.org/wiki/squidtheme/js/niftyCorners.css -
HIER_NONE/- text/html
Jan 05 11:55:55 2016.332      0 alcdmz1.abc.com
TCP_CLIENT_REFRESH_MISS/504 4642 GET
http://wiki.squid-cache.org/wiki/squidtheme/js/niftyCorners.css -
HIER_NONE/- text/html


# this is from the gsdmz1 box with an export http://gsdmz1:3128 - seems to work
Jan 05 11:56:34 2016.282      4 gsdmz1.abc.com TCP_MEM_HIT/200 1556
GET http://wiki.squid-cache.org/wiki/squidtheme/js/niftyCorners.css -
HIER_NONE/- text/css

# straight afterwards again from laptop via alcdmz1
Jan 05 11:56:43 2016.596      1 alcdmz1.abc.com
TCP_CLIENT_REFRESH_MISS/504 4642 GET
http://wiki.squid-cache.org/wiki/squidtheme/js/niftyCorners.css -
HIER_NONE/- text/html



from alcdmz1
wget -d -O /dev/null
http://wiki.squid-cache.org/wiki/squidtheme/js/niftyCorners.css
Setting --output-document (outputdocument) to /dev/null
DEBUG output created by Wget 1.12 on linux-gnu.

--2016-01-05 11:59:53--
http://wiki.squid-cache.org/wiki/squidtheme/js/niftyCorners.css
Resolving alcdmz1... 10.32.20.111
Caching alcdmz1 => 10.32.20.111
Connecting to alcdmz1|10.32.20.111|:3128... connected.
Created socket 4.
Releasing 0x0000000000c37880 (new refcount 1).

---request begin---
GET http://wiki.squid-cache.org/wiki/squidtheme/js/niftyCorners.css HTTP/1.0
User-Agent: Wget/1.12 (linux-gnu)
Accept: */*
Host: wiki.squid-cache.org

---request end---
Proxy request sent, awaiting response...
---response begin---
HTTP/1.1 200 OK
Date: Tue, 05 Jan 2016 00:55:13 GMT
Server: Apache/2.4.10 (Debian)
Last-Modified: Mon, 04 Feb 2008 14:13:52 GMT
ETag: "453-44555bbcaa800"
Accept-Ranges: bytes
Content-Length: 1107
Vary: Accept-Encoding
Cache-Control: max-age=604800, public
Expires: Tue, 12 Jan 2016 00:55:13 GMT
Content-Type: text/css
Age: 280
X-Cache: HIT from alcdmz1
X-Cache-Lookup: HIT from alcdmz1:3128
Via: 1.1 alcdmz1 (squid)
Connection: close

---response end---
200 OK
Length: 1107 (1.1K) [text/css]
Saving to: `/dev/null'

100%[======================================================================================================================================================================================================================================================>]
1,107       --.-K/s   in 0s

Closed fd 4
2016-01-05 11:59:53 (193 MB/s) - `/dev/null' saved [1107/1107]

looks okay but look at the logs

Jan 05 11:59:53 2016.380      0 alcdmz1.abc.com TCP_MEM_HIT/200 1559
GET http://wiki.squid-cache.org/wiki/squidtheme/js/niftyCorners.css -
HIER_NONE/- text/css
Jan 05 12:00:59 2016.434      5 alexs-xps.abc.com TCP_MISS/504 4889
GET http://wiki.squid-cache.org/wiki/squidtheme/js/niftyCorners.css
alex.samad STANDBY_POOL/10.32.20.110 text/html

I tried a refresh from my browser ..


More information about the squid-users mailing list