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