Edward wrote:
> Why is it that when I restart squid and it runs for about an hour or
> less, that my HTTP requests per minute: reachs a very high max value
> and then comes back down? I was doing about 336 request per min. I
> stop squid and restart it. It then when up to HTTP requests per
> minute: 507.4
Request rate does not indicate a problem. It only indicates demand.
Over time your request rate will converge to the mean request rate.
> How can I prevent this problem?
It's not a problem, just a fact.
> Could it be a memory problem?
There could be a problem if the response rate is dropping because your
squid system is becoming saturated. I note you've given us stats from
when the proxy has just started, rather than from the time you believe
there's a problem.
> Median Service Times (seconds) 5 min 60 min:
> HTTP Requests (All): 1.81376 2.25116
> Cache Misses: 4.30363 4.30363
> Cache Hits: 0.02451 0.02592
> Near Hits: 3.46762 3.66001
> Not-Modified Replies: 0.02190 0.01648
> DNS Lookups: 0.01153 0.01153
> ICP Queries: 0.00000 0.00000
Look at the response times in this part of the output. If the "Cache
Hits" response time increases, then you have a problem. From these
stats, over a 1-hour period, your cache is giving a 47.7% speedup
[ (4.30363 - 2.25116)/4.30363 ], which means the cache is paying for
itself nicely.
(Henrik: I've seen your comment on this statistic, and agree, but I
think it's safe to assume the cache miss time is a reasonable
approximation to the response time you would experience if
squid wasn't there)
Your system could usefully use more memory - I would punt for 512MB or
1GB given todays prices. You could then increase cache_mem, and
probably get additional speedup there.
> Cache information for squid:
> Request Hit Ratios: 5min: 49.7%, 60min: 45.7%
> Byte Hit Ratios: 5min: 25.2%, 60min: 21.6%
> Request Memory Hit Ratios: 5min: 3.4%, 60min: 2.1%
> Request Disk Hit Ratios: 5min: 24.7%, 60min: 28.5%
Robin
---------------------------------------------------
Get free personalized email at http://www.iname.com
Received on Tue May 15 2001 - 22:09:44 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:00:08 MST