LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 05-11-2007, 05:02 PM   #1
testingpepe
LQ Newbie
 
Registered: May 2007
Posts: 5

Rep: Reputation: 0
Squid Proxy server, too much tcp_miss


Hi, first post on this forum so hello everyone and hope i find the answer here.

I have a Squid Proxy configured in a Fedora Core 6 box. Everything works fine and have no problems but in the access.log file y see a bunch of tcp_miss, so i run calamaris to see some usefull information on the last log.
The results:

# Incoming TCP-requests by status
status request % Byte % sec kB/sec
--------------------------------- --------- ------ -------- ------ ---- -------
HIT 71254 19.83 371207K 14.39 1 10.09
MISS 287250 79.95 2202253K 85.35 3 2.92
ERROR 803 0.22 6811649 0.26 56 0.15
--------------------------------- --------- ------ -------- ------ ---- -------
Sum 359307 100.00 2580113K 100.00 2 3.08

This proxy is 6 months old so i think the HITS has to be more like the MISS objects. But this is not the case and i wonder why. All the configuration is fine and already read most of the threads at this forum but still cant find the answer.
 
Old 05-13-2007, 04:26 AM   #2
carl0ski
Member
 
Registered: Sep 2004
Location: Melbourne, Victoria Australia
Distribution: Support those that support you :)
Posts: 872
Blog Entries: 12

Rep: Reputation: 30
tcp_hit means the website was found in the memory or squid cache

tcp_miss means squid looked for the website in the cache but didnt find it
so downloaded it from the internet


they are both very normal
 
Old 05-14-2007, 08:27 AM   #3
testingpepe
LQ Newbie
 
Registered: May 2007
Posts: 5

Original Poster
Rep: Reputation: 0
Hi, but in a squid box whit 6 months and 200gb of cached pages, i think there have to be a little more of hits and not so much misses.
Sorry for my english im from argentine.
 
Old 05-14-2007, 03:12 PM   #4
fur
Member
 
Registered: Dec 2003
Distribution: Debian, FreeBSD
Posts: 310

Rep: Reputation: 35
Your results are not far off from what I have. At least from a percentage point of view.

My "HIT" rate is at 25.17%, and "MISS" is at 74.78%

I think a lot of it has to do with the surfing habits of the people behind the proxy.


But it doesn't seem that unusual to me.
 
  


Reply



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 only TCP_MISS and DIRECT - why? keex Linux - Networking 3 09-18-2010 06:20 PM
squid proxy server configuration & distribution of internet without proxy gaurav_gupta082 Linux From Scratch 2 07-31-2010 11:25 AM
Squid Proxy server help win2Linux Linux - Server 3 09-03-2006 09:53 AM
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

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 07:24 PM.

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