<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<br>
-----BEGIN PGP SIGNED MESSAGE----- <br>
Hash: SHA256 <br>
<br>
<br>
<br>
13.01.16 23:16, Hardik Dangar пишет:<br>
<span style="white-space: pre;">> Hi all,<br>
><br>
> I handle small network and we have 40 systems ( most having
Ubuntu 14.04<br>
> and couple of system have windows ). We use squid to cache.
Due to the<br>
> country where i live there is huge data charges so i am using
squid to<br>
> cache things like Ubuntu updates and certain applications.<br>
><br>
> Issue i have is, My squid configuration is either failing to
cache Ubuntu<br>
> updates mostly Debian packages. I see following status codes
frequently in<br>
> my squid log file.<br>
> TCP_REFRESH_UNMODIFIED/304<br>
> TCP_REFRESH_UNMODIFIED/200</span><br>
This is hit also.<br>
<span style="white-space: pre;">><br>
> TCP_REFRESH_MODIFIED/200<br>
><br>
> which confuses me. as i know only few options like<br>
> TCP_HIT/TCP_MEM_HIT/TCP_MISS. and searching about them
explains that i<br>
> might have my squid_patterns wrong or data might be changing
but the<br>
> problem is i have setup schedule so two system update on
tuesday and then<br>
> on wednesday all system updates. yet i see lots of data with
status<br>
> TCP_REFRESH_UNMODIFIED/200 or TCP_REFRESH_UNMODIFIED/304.
Most clients<br>
> get about 40% to 50% cache. I could totally understand the
updates are<br>
> there but i get stumped when TCP_REFRESH_UNMODIFIED/200
happens.<br>
><br>
> I also noticed TCP_REFRESH_UNMODIFIED/200 happens for google
chrome debian<br>
> package reguarly even though same file is downloaded previous
day by some<br>
> clients. i see entries of TCP_REFRESH_UNMODIFIED/200 or
TCP_MISS/200 or<br>
> TCP_REFRESH_MODIFIED/200. i have the entry in my
configuration file for<br>
> deb.google url like "refresh_pattern dl.google.com/.*\.(deb)<br>
> <a class="moz-txt-link-rfc2396E" href="http://dl.google.com/.*%5C.(deb)"><http://dl.google.com/.*%5C.(deb)></a> 129600 100%
129600 reload-into-ims<br>
> ignore-reload override-expire override-lastmod
ignore-no-store<br>
> ignore-private ignore-must-revalidate ".<br>
><br>
> Can any one help me with this issue? is this normal? Or there
is an issue<br>
> in my squid config? I have attached my squid config and some
sample log<br>
> which confuses me.</span><br>
Issue in your head ;) This is not an issue - just normal cache
behaviour.<br>
<span style="white-space: pre;">><br>
><br>
> My squid version is : 3.3.8 for detail options and squid
config file i have<br>
> pasted the content of both at, ( Operating system is Ubuntu
14.04.3 LTS<br>
> "trusty" )<br>
> <a class="moz-txt-link-freetext" href="http://pastebin.com/raw/mEjZ24KT">http://pastebin.com/raw/mEjZ24KT</a></span><br>
Squid so antique. Updrade it.<br>
<span style="white-space: pre;">><br>
><br>
><br>
> My squid access.log file sample is available at,<br>
> <a class="moz-txt-link-freetext" href="http://pastebin.com/raw/A6kyksY8">http://pastebin.com/raw/A6kyksY8</a><br>
><br>
><br>
> Thanks.<br>
><br>
><br>
><br>
> _______________________________________________<br>
> squid-users mailing list<br>
> <a class="moz-txt-link-abbreviated" href="mailto:squid-users@lists.squid-cache.org">squid-users@lists.squid-cache.org</a><br>
> <a class="moz-txt-link-freetext" href="http://lists.squid-cache.org/listinfo/squid-users">http://lists.squid-cache.org/listinfo/squid-users</a></span><br>
<br>
-----BEGIN PGP SIGNATURE-----
<br>
Version: GnuPG v2
<br>
<br>
iQEcBAEBCAAGBQJWlpWcAAoJENNXIZxhPexG+DIH/iwk4cVSgVRmmFJQhnyQILIe
<br>
7FBIxEnCWuB+t7qwknUtKG7G73CSaXgBp8FKtnGJVvH95fHCdzzSb8ZzzVyWwScO
<br>
1zdMkm66AH6sWTKGJJxcS5iRj0T3FUTHfUhsq3sOjNqWHZSrfWRt0quBuSecuAqZ
<br>
+2wx6dDNV2fqMAtxS85c14DvBbkyGO8cOSLC4ZqnrqgWjxy5XVvBsy/3tTzrNvuQ
<br>
X8noTKeWEtpPP0kcb0uOZUz02FULjwOKqqZwUqJycovWlSuJZP3cn3aQWuHgeDyf
<br>
+V9aI2JYBAD3ILKUKL7yPw0UVcY6Z1eK0U8BJT/xByYZtzP0Wam11zr1SyxM6Jw=
<br>
=4V0Q
<br>
-----END PGP SIGNATURE-----
<br>
<br>
</body>
</html>