[squid-users] Utilization statistics sum

From: Carlos Defoe <carlosdefoe_at_gmail.com>
Date: Wed, 20 Mar 2013 11:44:09 -0300

Hello,

I'm looking at some cache manager statistics (60min).

In one sample, i have:
client_http.requests = 22.785904/sec
client_http.hits = 6.354478/sec
client_http.errors = 0.006388/sec
server.http.requests = 16.956939/sec
server.http.errors = 0.000000/sec
aborted_requests = 0.094992/sec

My thoughts:

* client_http.requests means all the http request that arrives to squid;
* client_http.hits means (approximately) the requests that have been
completed without using Internet resource, only getting contents from
the cache;
* server.http.requests means the requests that are completed making
access to webservers and downloading content;

So, client_http.hits + server.http.requests =(should be) client_http.requests.

But the result is only approximated (23,31 instead of 22,78).

1) How can i write a equation that fits "requests -> completions"?
using those errors and aborted requests? i couldn't figure.

2) In another proxy (one very busy, with bad performance),
client_http.hits + server.http.requests doesn't go near
client_http.requests:

client_http.requests = 66.597198/sec
client_http.hits = 8.075425/sec
client_http.errors = 0.132439/sec
server.http.requests = 19.327989/sec
server.http.errors = 0.000000/sec
aborted_requests = 0.733549/sec

In this case, i think most of the requests (66 - (19+8)) are being
lost, as this proxy server is in realy bad performance and it's not
capable to serve all the requests. But those lost requests, where have
they gone (in statistics)?

Thanks!
Received on Wed Mar 20 2013 - 14:44:16 MDT

This archive was generated by hypermail 2.2.0 : Wed Mar 20 2013 - 12:00:06 MDT