Re: [squid-users] cache manager output

From: Chris Robertson <[email protected]>
Date: Wed, 27 Sep 2006 09:53:49 -0800

nonama wrote:
> Dear SQUID-expert frens,
> We are experiencing slowness in surfing here. Just
> want to find out, Which part of the cache manager
> output that I should look into to check whether or not
> the problems lies within SQUID. Kindly help.
>
> Squid Object Cache: Version 2.5.STABLE12
> Start Time: Tue, 26 Sep 2006 23:03:44 GMT
> Current Time: Wed, 27 Sep 2006 01:10:45 GMT
>
> Connection information for squid:
> Number of clients accessing cache: 0
> Number of HTTP requests received: 49119
> Number of ICP messages received: 0
> Number of ICP messages sent: 0
> Number of queued ICP replies: 0
> Request failure ratio: 0.00
> Average HTTP requests per minute since start: 386.7
> Average ICP messages per minute since start: 0.0
> Select loop called: 487089 times, 15.645 ms avg
> Cache information for squid:
> Request Hit Ratios: 5min: 43.3%, 60min: 43.5%
> Byte Hit Ratios: 5min: 19.1%, 60min: 24.1%
> Request Memory Hit Ratios: 5min: 6.1%, 60min: 2.2%
> Request Disk Hit Ratios: 5min: 36.1%, 60min: 26.8%
> Storage Swap size: 30048680 KB
> Storage Mem size: 11688 KB
> Mean Object Size: 23.17 KB
> Requests given to unlinkd: 887
> Median Service Times (seconds) 5 min 60 min:
> HTTP Requests (All): 1.46131 0.94847
> Cache Misses: 24.21863 10.20961
> Cache Hits: 0.00286 0.00463
> Near Hits: 24.21863 12.00465
> Not-Modified Replies: 0.00379 0.00286
> DNS Lookups: 0.00000 0.00000
> ICP Queries: 0.00000 0.00000
>
Hit (the object is cached) service time in the milliseconds, miss (the
object is not cached) and near hit service time (Squid had to verify the
cached object is still fresh) in the tens of seconds and DNS lookups
(apparently) taking no time at all. Maybe it's just me, but I think the
problem lies outside of Squid.
> Resource usage for squid:
> UP Time: 7620.750 seconds
> CPU Time: 95.623 seconds
> CPU Usage: 1.25%
> CPU Usage, 5 minute avg: 2.23%
> CPU Usage, 60 minute avg: 1.86%
> Process Data Segment Size via sbrk(): 144188 KB
> Maximum Resident Size: 0 KB
> Page faults with physical i/o: 0
> Memory usage for squid via mallinfo():
> Total space in arena: 144188 KB
> Ordinary blocks: 143058 KB 483 blks
> Small blocks: 0 KB 0 blks
> Holding blocks: 1492 KB 4 blks
> Free Small blocks: 0 KB
> Free Ordinary blocks: 1129 KB
> Total in use: 144550 KB 99%
> Total free: 1129 KB 1%
> Total size: 145680 KB
> Memory accounted for:
> Total accounted: 111448 KB
> memPoolAlloc calls: 12113723
> memPoolFree calls: 8161986
> File descriptor usage for squid:
> Maximum number of file descriptors: 1024
> Largest file desc currently in use: 367
> Number of file desc currently in use: 314
> Files queued for open: 0
> Available number of file descriptors: 710
> Reserved number of file descriptors: 100
> Store Disk files open: 19
> Internal Data Structures:
> 1297267 StoreEntries
> 2494 StoreEntries with MemObjects
> 2387 Hot Object Cache Items
> 1296981 on-disk objects
>

I'd look at your Internet connection for congestion.

Chris
Received on Wed Sep 27 2006 - 11:54:39 MDT

This archive was generated by hypermail pre-2.1.9 : Sun Oct 01 2006 - 12:00:04 MDT