Network Troublshooting > Linux Proxy Server Support
squid - TCP_MISS
sathish:
Hi !!!
I have configure squid in redhat9.0, i have configured it correctly, but in the windowz client browsing is very slow.. if I see the access.log.. the all the enteries is as follows
1103456003.696 3234 192.168.1.4 TCP_MISS/200 13470 GET http://www.american-pictures.com/gallery/personal/book9t-x.jpg - DIRECT/66.194.239.2 image/jpeg
1103456020.872 3324 192.168.1.4 TCP_MISS/200 39611 GET http://www.american-pictures.com/english/jacob/jokes1.htm - DIRECT/66.194.239.2 text/html
1103456055.723 2388 192.168.1.4 TCP_MISS/200 24197 GET http://www.google.com/search? - DIRECT/216.239.57.147 text/html
1103456059.540 1185 192.168.1.4 TCP_MISS/204 213 GET http://www.google.com/url? - DIRECT/216.239.57.103 text/html
1103456068.239 9391 192.168.1.4 TCP_MISS/000 0 GET http://www.collegeboard.com/ - NONE/- -
1103456418.821 10782 192.168.1.4 TCP_MISS/200 3047 GET http://www.google.com/ - DIRECT/216.239.57.147 text/html
1103456441.486 14607 192.168.1.4 TCP_MISS/200 38865 GET http://www.yahoo.com/ - DIRECT/66.94.230.33 text/html
in each and every entry itz giving TCP_MISS - what is mean by that ?? Is any wrong configuration in squid..and even the browsing is very slow..
Plz let me know what to do ??
and also I want this IP address 129.41.xx.xx port :42xxx itz a online software, this ip&port should not go through squid [it should bypass].
what code to be put in iptables to make changes.
Thanks in advance...
Sathish
Ricky:
Your first problem is not a problem,
Squid is a advance and well developed caching proxy servers, so it takes care that it always delivers the right contents , in order to do so it is not simple that when a page is viewed first time will be retrived from cache on second time. Few page uses no_cache directive which means it will never be cached by a good cache proxy server.
Now what is TCP_MISS, it simply means that the specified URL is not retrived from cache, TCP_HIT means it has been retrived from cache, whenever u find HIT then it is from cache,
BTW if you want loose caching then can look for wwwoffle :)
--- Quote ---and also I want this IP address 129.41.xx.xx port :42xxx itz a online software, this ip&port should not go through squid [it should bypass].
what code to be put in iptables to make changes.
--- End quote ---
Are you asking to block that ip or port or want squid to not to do anything with it ?
sathish:
Hi ricky,
Thanks for the reply, yeah i wanted squid not to do nothing with that ip and port.
Thanks!!!
arulthas:
Good day Ricky,
In my case the access.log captures tcp_miss even if I visit the same URL repetitively.
How to I setup squid to cache?
Thank you.
Best regards,
Arulthas.
--- Quote from: "Ricky" ---Now what is TCP_MISS, it simply means that the specified URL is not retrived from cache, TCP_HIT means it has been retrived from cache, whenever u find HIT then it is from cache.
--- End quote ---
Ricky:
Well some pages have directive no_cache, then it will never be cached by any good caching software.. eg.. Every page of LS has no cache directive!
Navigation
[0] Message Index
[#] Next page
Go to full version