Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 10-07-2003, 06:17 AM   #1
Registered: Jun 2002
Location: Berlin / Germay
Distribution: gentoo linux, ubuntu
Posts: 40

Rep: Reputation: 17
Question SQUID only TCP_MISS and DIRECT - why?


I'm slowly getting very frustrated with my squid cache...

I don't really know, what value or setting to toggle to make the squid finally cache the contents retrieved off the net..

just a little sample: (I've opened many of these pages containing these smileys - so why does the cache not retrieve them off the cache??)

1065527180.222 412 TCP_MISS/304 261 GET - DIRECT/ image/gif
1065527180.277 413 TCP_MISS/304 263 GET - DIRECT/ image/gif
1065527180.329 423 TCP_MISS/304 261 GET - DIRECT/ image/gif
1065527180.367 409 TCP_MISS/304 261 GET - DIRECT/ image/gif
1065527180.632 407 TCP_MISS/304 261 GET - DIRECT/ image/gif

any hints?
help is greatly appreciated!

Old 10-07-2003, 04:14 PM   #2
Registered: Sep 2003
Location: Nigeria
Distribution: CentOS 4.3
Posts: 37

Rep: Reputation: 15
Check your /etc/squid/squid.conf and make sure the no_cache line doesn't list any parameter in the not cached URLs.
Old 02-21-2004, 07:42 AM   #3
Registered: Oct 2003
Distribution: RedHaT, ELX, DragonLinux, Knoppix.
Posts: 89

Rep: Reputation: 15
Well here.. forums are having no_cache directive so nothing from forum will get stored in cache. whether it is image or data..
I think you should see some static pages of html.. l
Well i was having same problem and I found that even static pages are getting tcp_miss..
I had opened a static site 1 hr ago and again opening get tcp_miss intead of tcp hit.. The site is static no change there..'
Now can any one tell me why...
Old 09-18-2010, 06:20 PM   #4
Registered: Mar 2005
Location: Auckland, New Zealand
Distribution: OpenSuSE, SLE, Yoper, Sabayon
Posts: 69

Rep: Reputation: 15
I get this too, I haven't got a single TCP_HIT in my access log. However I am a little suspicious that the log is not showing the HITS as there seems to be more misses in the log when I refresh the page than just go back to it (if that makes sense). But I want my log to show the hits or I won't trust it!!!!

Sabayon (Gentoo based). Squid 3.0


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
squid always direct and deny from cache cccc Linux - General 1 06-13-2005 01:17 AM
squid conf: squid failed when I type insert redirect_program /usr/bin/squidguard Niceman2005 Linux - Software 1 11-24-2004 02:29 PM
Squid: Getting TCP_MISS and no TCP_HIT :( dravya Linux - General 1 06-07-2004 10:20 AM
Squid Cache Tcp_miss RickyJaff Linux - Networking 2 02-24-2004 09:21 AM
Best way to ALOT of files in a direct to other direct? packman Linux - General 2 10-21-2002 07:31 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 09:55 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration