RE: [squid-users] Low Hit Rate
Already read that -Original Message- From: Marcello Romani [mailto:mrom...@ottotecnica.com] Sent: 10 March 2011 09:09 To: squid-users@squid-cache.org Subject: Re: [squid-users] Low Hit Rate Il 09/03/2011 16:31, Mark George ha scritto: > Hi, > > I've recently installed Squid 2.7 Stable on Centos 5 and experiencing an > extremely low hit rate at approximately 5%. If I tail the access log I see a > lot of TCP_MISS, and looking at the store log I see a lot of RELEASE and very > little SWAP_OUT. Any ideas how I can go about diagnosing the problem? > > Mark > Please read: http://wiki.squid-cache.org/SquidFaq/ConfiguringSquid -- Marcello Romani This e-mail has been scanned for all viruses by Star. The service is powered by MessageLabs. For more information on a proactive anti-virus service working around the clock, around the globe, visit: http://www.star.net.uk
Re: [squid-users] Low Hit Rate
Il 09/03/2011 16:31, Mark George ha scritto: Hi, I've recently installed Squid 2.7 Stable on Centos 5 and experiencing an extremely low hit rate at approximately 5%. If I tail the access log I see a lot of TCP_MISS, and looking at the store log I see a lot of RELEASE and very little SWAP_OUT. Any ideas how I can go about diagnosing the problem? Mark Please read: http://wiki.squid-cache.org/SquidFaq/ConfiguringSquid -- Marcello Romani
Re: [squid-users] Low Hit Rate
Le mercredi 9 mars 2011 11:42:11, Mark George a écrit : > .26 just guessing is your disk cache full? i mean if it almost empty the likehood of a hit is too little also you sholuld do fine tunning, dont wait that placing a squid out-of-the-box will do the right job.
RE: [squid-users] Low Hit Rate
It's in testing stage at the moment so there's about 20 users using the proxy at the moment. From the squid graphs I generated a little while back here's some more info on the usage: Graph of TCP Access (5 minute total) Total Accesses: 75095 Average Accesses: 3128.95 per hour Total Cache Hits: 6960 Average Cache Hits: 290 per hour % Cache Hits: 9.26 % Total Cache IMS Hits: 1569 Average Cache IMS Hits: 65.37 per hour Total Cache Misses: 36863 Average Cache Misses: 1535.95 per hour % Cache Misses: 49.08 % Graph of TCP Transfers (5 minute total) Total Transfers: 608.4 Mb Average Transfers: 25.3 Mb per hour Total Cache Hits: 38.5 Mb Average Cache Hits: 1.6 Mb per hour % Cache Hits: 6.34 % Total Cache IMS Hits: 531.1 Kb Average Cache IMS Hits: 22.1 Kb per hour Total Cache Misses: 509.7 Mb Average Cache Misses: 21.2 Mb per hour % Cache Misses: 83.77 % -Original Message- From: Luis Daniel Lucio Quiroz [mailto:luis.daniel.lu...@gmail.com] Sent: 09 March 2011 17:32 To: squid-users@squid-cache.org Subject: Re: [squid-users] Low Hit Rate Le mercredi 9 mars 2011 09:31:31, Mark George a écrit : > Hi, > > I've recently installed Squid 2.7 Stable on Centos 5 and experiencing an > extremely low hit rate at approximately 5%. If I tail the access log I see > a lot of TCP_MISS, and looking at the store log I see a lot of RELEASE and > very little SWAP_OUT. Any ideas how I can go about diagnosing the problem? > > Mark squid hit rate depends on many factors, can you expose us how is your environment, in terms of how many users, bandwith compsumtio for http surfering, etc etc. LD This e-mail has been scanned for all viruses by Star. The service is powered by MessageLabs. For more information on a proactive anti-virus service working around the clock, around the globe, visit: http://www.star.net.uk
Re: [squid-users] Low Hit Rate
Le mercredi 9 mars 2011 09:31:31, Mark George a écrit : > Hi, > > I've recently installed Squid 2.7 Stable on Centos 5 and experiencing an > extremely low hit rate at approximately 5%. If I tail the access log I see > a lot of TCP_MISS, and looking at the store log I see a lot of RELEASE and > very little SWAP_OUT. Any ideas how I can go about diagnosing the problem? > > Mark squid hit rate depends on many factors, can you expose us how is your environment, in terms of how many users, bandwith compsumtio for http surfering, etc etc. LD
RE: [squid-users] Low hit rate
Kemi, I increased my hit ratio by running pages and script output through a cacheability tool and taking corrective action as required. The main thing was to add mod_expires and mod_headers to my servers. http://www.cacheflow.com/technology/tools/friendly/cacheability/index.cfm John Kent Webmaster Naval Research Laboratory Monterey, CA -Original Message- From: Duane Wessels [mailto:[EMAIL PROTECTED] Sent: Saturday, February 14, 2004 4:47 PM To: Kemi Salam-Alada Cc: [EMAIL PROTECTED] Subject: Re: [squid-users] Low hit rate On Sat, 14 Feb 2004, Kemi Salam-Alada wrote: > Hi all, > > How can I tune my squid so that I can generate high hit rate? Presently, I > am running squid using FreeBSD 4.3 OS and Squid 2.5 STABLE2. > The file system used for the disk is aufs. See the 'refersh_pattern' directive in squid.conf. You can probably increase your hit ratio by increasing the values of the refresh_pattern line(s). Duane W.
Re: [squid-users] Low hit rate
On Sat, 14 Feb 2004, Kemi Salam-Alada wrote: > Hi all, > > How can I tune my squid so that I can generate high hit rate? Presently, I > am running squid using FreeBSD 4.3 OS and Squid 2.5 STABLE2. > The file system used for the disk is aufs. See the 'refersh_pattern' directive in squid.conf. You can probably increase your hit ratio by increasing the values of the refresh_pattern line(s). Duane W.