[squid-users] Squid not caching - strange problem

From: Mark Lodge <mlodgesa_at_gmail.com>
Date: Sun, 2 Aug 2009 21:00:04 +0200

have set up Squid 2.7 on Debian, I used Synaptic package manager to
install it, I did the entire config, followd the guide here:
http://doxfer.com/Webmin/SquidProxyServer, everthing went well and
seemed to be working.

But, in reality it was not caching.

I copied thsi pice from the access.log
------------------------------------------
1249226939.929 1584 10.0.0.33 TCP_MISS/200 1574 POST
http://safebrowsing.clients.google.com/safebrowsing/downloads?client=navclient-auto-ffox&appver=3.0.10&pver=2.2&wrkey=AKEgNiutvIdJ_O9O7l05zhAWh6b9VtG0Niy4QavIF9Wko3FUNQvtPTTB0LvUeb5jYUAUKIMAeDKxSXx1_fOSGPjrSUO08Ubgow==
- DIRECT/209.85.229.102 application/vnd.google.safebrowsing-update
1249226940.327 398 10.0.0.33 TCP_MISS/200 111766 GET
http://safebrowsing-cache.google.com/safebrowsing/rd/goog-malware-shavar_s_14121-14160.14121-14160.:
- DIRECT/74.125.11.102 application/vnd.google.safebrowsing-chunk
1249227317.328 15833 10.0.0.33 TCP_MISS/206 677142 GET
http://www.almeshkat.net/books/archive/books/fath%20alkader.rar -
DIRECT/75.126.243.180 application/x-rar-compressed
1249227318.078 13845 10.0.0.33 TCP_MISS/206 666738 GET
http://www.almeshkat.net/books/archive/books/fath%20alkader.rar -
DIRECT/75.126.243.180 application/x-rar-compressed
1249227318.209 13910 10.0.0.33 TCP_MISS/206 667670 GET
http://www.almeshkat.net/books/archive/books/fath%20alkader.rar -
DIRECT/75.126.243.180 application/x-rar-compressed
1249227318.322 14043 10.0.0.33 TCP_MISS/206 667002 GET
http://www.almeshkat.net/books/archive/books/fath%20alkader.rar -
DIRECT/75.126.243.180 application/x-rar-compressed
1249227318.734 13548 10.0.0.33 TCP_MISS/206 663547 GET
http://www.almeshkat.net/books/archive/books/fath%20alkader.rar -
DIRECT/75.126.243.180 application/x-rar-compressed
1249227318.756 13580 10.0.0.33 TCP_MISS/206 664118 GET
http://www.almeshkat.net/books/archive/books/fath%20alkader.rar -
DIRECT/75.126.243.180 application/x-rar-compressed
1249227318.788 13629 10.0.0.33 TCP_MISS/206 664119 GET
http://www.almeshkat.net/books/archive/books/fath%20alkader.rar -
DIRECT/75.126.243.180 application/x-rar-compressed
1249227318.797 13574 10.0.0.33 TCP_MISS/206 654023 GET
http://www.almeshkat.net/books/archive/books/fath%20alkader.rar -
DIRECT/75.126.243.180 application/x-rar-compressed
1249227360.981 783 10.0.0.33 TCP_MISS/200 3393 GET
http://www.google.co.za/ - DIRECT/209.85.227.104 text/html
1249227375.593 2116 10.0.0.33 TCP_MISS/200 18176 GET
http://us.data.toolbar.yahoo.com/slv/v4/2.html?&.pc=msgr&t=1249227378424&.ta=cgnone,cc,cius,cv1_6_6,cpmsgr,cbm,cjs
- DIRECT/209.73.187.189 application/octet-stream
1249227379.511 745 10.0.0.33 TCP_MISS/204 313 GET
http://clients1.google.co.za/generate_204 - DIRECT/209.85.227.101
text/html
1249227380.876 435 10.0.0.33 TCP_MISS/204 404 GET
http://www.google.co.za/csi?v=3&s=webhp&action=&tran=undefined&e=17259,18168,20760,21200,21311,21341&ei=Z7J1StKwNcGD-Qanpey9Cw&rt=prt.114,xjs.3781,ol.5492
- DIRECT/209.85.227.104 text/html
1249227381.987 494 10.0.0.33 TCP_MISS/302 679 GET
http://www.google.co.za/search?hl=en&q=&btnG=Google+Search&meta=&aq=f&oq=
- DIRECT/209.85.227.104 text/html
1249227382.680 694 10.0.0.33 TCP_MISS/200 3408 GET
http://www.google.co.za/webhp?hl=en&btnG=Google+Search -
DIRECT/209.85.227.104 text/html
1249227382.980 299 10.0.0.33 TCP_NEGATIVE_HIT/204 320 GET
http://clients1.google.co.za/generate_204 - NONE/- text/html
1249227383.893 396 10.0.0.33 TCP_MISS/204 404 GET
http://www.google.co.za/csi?v=3&s=webhp&action=&tran=undefined&e=17259,18168,20760,21200,21311,21341&ei=fbJ1SrCvI8eF-Aaancy2Cw&rt=prt.9,xjs.65,ol.570
- DIRECT/209.85.227.104 text/html
1249227402.796 1342 10.0.0.33 TCP_MISS/206 10374 GET
http://www.almeshkat.net/books/archive/books/fath%20alkader.rar -
DIRECT/75.126.243.180 application/x-rar-compressed
1249227402.826 2301 10.0.0.33 TCP_MISS/206 47470 GET
http://www.almeshkat.net/books/archive/books/fath%20alkader.rar -
DIRECT/75.126.243.180 application/x-rar-compressed
1249227402.842 2178 10.0.0.33 TCP_MISS/206 46070 GET
http://www.almeshkat.net/books/archive/books/fath%20alkader.rar -
DIRECT/75.126.243.180 application/x-rar-compressed
1249227402.857 1383 10.0.0.33 TCP_MISS/206 10374 GET
http://www.almeshkat.net/books/archive/books/fath%20alkader.rar -
DIRECT/75.126.243.180 application/x-rar-compressed
1249227402.917 3560 10.0.0.33 TCP_MISS/206 111710 GET
http://www.almeshkat.net/books/archive/books/fath%20alkader.rar -
DIRECT/75.126.243.180 application/x-rar-compressed
1249227403.159 840 10.0.0.33 TCP_MISS/206 2005 GET
http://www.almeshkat.net/books/archive/books/fath%20alkader.rar -
DIRECT/75.126.243.180 application/x-rar-compressed
1249227403.190 851 10.0.0.33 TCP_MISS/206 2003 GET
http://www.almeshkat.net/books/archive/books/fath%20alkader.rar -
DIRECT/75.126.243.180 application/x-rar-compressed
1249227404.428 896 10.0.0.33 TCP_MISS/206 2005 GET
http://www.almeshkat.net/books/archive/books/fath%20alkader.rar -
DIRECT/75.126.243.180 application/x-rar-compressed
1249227411.056 3015 10.0.0.33 TCP_MISS/206 93786 GET
http://www.almeshkat.net/books/archive/books/fath%20alkader.rar -
DIRECT/75.126.243.180 application/x-rar-compressed
1249227411.073 3012 10.0.0.33 TCP_MISS/206 93906 GET
http://www.almeshkat.net/books/archive/books/fath%20alkader.rar -
DIRECT/75.126.243.180 application/x-rar-compressed
1249227411.084 2226 10.0.0.33 TCP_MISS/206 51826 GET
http://www.almeshkat.net/books/archive/books/fath%20alkader.rar -
DIRECT/75.126.243.180 application/x-rar-compressed
1249227411.103 2191 10.0.0.33 TCP_MISS/206 37934 GET
http://www.almeshkat.net/books/archive/books/fath%20alkader.rar -
DIRECT/75.126.243.180 application/x-rar-compressed
1249227411.113 3025 10.0.0.33 TCP_MISS/206 83982 GET
http://www.almeshkat.net/books/archive/books/fath%20alkader.rar -
DIRECT/75.126.243.180 application/x-rar-compressed
1249227411.157 3881 10.0.0.33 TCP_MISS/206 139298 GET
http://www.almeshkat.net/books/archive/books/fath%20alkader.rar -
DIRECT/75.126.243.180 application/x-rar-compressed
1249227411.194 2311 10.0.0.33 TCP_MISS/206 44670 GET
http://www.almeshkat.net/books/archive/books/fath%20alkader.rar -
DIRECT/75.126.243.180 application/x-rar-compressed
1249227411.222 2284 10.0.0.33 TCP_MISS/206 41406 GET
http://www.almeshkat.net/books/archive/books/fath%20alkader.rar -
DIRECT/75.126.243.180 application/x-rar-compressed
1249227430.731 13166 10.0.0.33 TCP_MISS/200 701499 GET
http://www.almeshkat.net/books/archive/books/fath%20alkader.rar -
DIRECT/75.126.243.180 application/x-rar-compressed
1249227456.543 770 10.0.0.33 TCP_MISS/200 3539 GET
http://www.google.co.za/ - DIRECT/209.85.227.103 text/html
1249227461.673 2005 10.0.0.33 TCP_MISS/200 18422 GET
http://us.data.toolbar.yahoo.com/slv/v4/2.html?&.pc=msgr&t=1249227464388&.ta=cgnone,cc,cius,cv1_6_6,cpmsgr,cbm,cjs
- DIRECT/66.196.87.126 application/octet-stream
1249227467.843 1 10.0.0.33 TCP_NEGATIVE_HIT/204 321 GET
http://clients1.google.co.za/generate_204 - NONE/- text/html
1249227468.245 397 10.0.0.33 TCP_MISS/204 404 GET
http://www.google.co.za/csi?v=3&s=webhp&action=&tran=undefined&e=17259,20760,21235,21310,21341&ei=x7J1SvL3GsGD-Qanpey9Cw&rt=prt.9,ol.7149,xjs.8759
- DIRECT/209.85.227.103 text/html
1249227472.438 746 10.0.0.33 TCP_MEM_HIT/200 662 GET
http://clients1.google.co.za/complete/search?hl=en&q=you - NONE/-
text/javascript
1249227474.358 890 10.0.0.33 TCP_MISS/200 7823 GET
http://www.google.co.za/search?hl=en&q=youtube&btnG=Google+Search&meta=&aq=f&oq=
- DIRECT/209.85.227.103 text/html

----------------------------------------------

PS: I installed videocache too and i have a strange problem with that
too, it seems to cache the video but does not really, I know this
because when i watch a youtube video from my pc and i then go back to
the video after a few min, it retrieves the video from the cache, but
if i try to go to the same video from another pc on the same LAN it
does not retrive it from the cache, and it does not even show up in
http://localhost/videocache.

Thank you guys.
Mark
Received on Sun Aug 02 2009 - 19:00:15 MDT

This archive was generated by hypermail 2.2.0 : Mon Aug 03 2009 - 12:00:02 MDT