Search squid archive

Re: Squid monitoring, access report shows upto 5 % to 7 % cache usage

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 30/07/2013 6:13 p.m., John Joseph wrote:

Hi Antony
thanks for the reply, I have filed up the corresponding information below


->---- Original Message -----
From: Antony Stone <Antony.Stone@xxxxxxxxxxxxxxxxxxxx>
To: "squid-users@xxxxxxxxxxxxxxx" <squid-users@xxxxxxxxxxxxxxx>
Cc:
Sent: Monday, 29 July 2013 2:45 PM
Subject: Re:  Squid monitoring, access report shows upto 5 % to 7 %  cache usage
On Monday 29 July 2013 at 12:36:05, John Joseph wrote:
Hi All

For purpose of convincing about the squid cahce, I installed and started
monitoring SQUID using mysar "http://sourceforge.net/projects/mysar/";;

Is this % too low or average  how much should a optimized squid setup give.
Or should I dig into some more configuration to pump the cache %
How large is your cache?
       It is  around 556GB, my cache dir details in squid.conf are

       cache_dir aufs /opt/var/spool/squid 570000 32 256


How many users are going via Squid?
       At present not more than 250  users, but concurrent users will not be more than 50 users


How long have they been using it (how long has Squid been building up its
cache)?
          3 months


How many connection requests do you have per minute/hour/day/whatever makes
sense?
        Can you please advice me on how to check for this parameter

How many cache HITs do you see in the log file compared to MISSes (ie: how
often are cached objects being requested)?
      Can you please advice me on how to check for this parameter

Simplest way is:
.../access.log | grep -c "HIT"
.../access.log | grep -c "REFRESH"
.../access.log | grep -c "MISS"

The next best is:
 squidclient mgr:info


Any other relevant information you can supply might be helpful in providing an
answer.

   from the mysar, I get the following information, which I am pasting here

Ah. This last column "5.00%" seems to be the HIT percentage over all taht traffic.

USERS     HOSTS     SITES     TRAFFIC    Cache Percent
12    990    18336    47.71G     5.00%
21    1020    26877    86.57G     5.00%
31    1017    24811    105.67G 4.00%
59    1024    29185    119.15G 4.00%
41    1022    27245    106.82G 5.00%
25    1022    26785    86.68G     5.00%
29    1019    26609    71.94G     6.00%
23    1019    24863    79.48G     5.00%
20    1016    24334    77.44G     5.00%
43    1015    25206    72.18G     5.00%
18    1016    24187    81.28G     5.00%
38    1021    25538    80.74G     6.00%
30    1021    27427    85.19G     5.00%
31    1021    27369    96.13G     5.00%
29    1019    23879    74.26G     5.00%
28    1014    20715    70.90G     5.00%
22    1010    22537    69.59G     5.00%
22    1021    23031    86.52G     4.00%
19    1015    22542    73.21G     5.00%
16    1020    22408    74.67G     5.00%
23    1021    23594    72.99G     5.00%
28    1021    23408    71.97G     6.00%
17    1006    21390    64.28G     5.00%
23    994    22685    61.42G     5.00%
20    1016    25792    71.54G     5.00%
24    1017    25178    74.03G     5.00%
37    1019    29740    83.19G     5.00%
22    1020    25175    77.47G     5.00%


Guidance and advice requested.
Thanks

Joseph John

Amos




[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux