Can someone pls take a look at my Squid Cache Manager info and tell me whats wrong!!!
Hi there
i hav configured a linux gateway running squid/NAT/firewall/DHCP with it connecting about 9 systems to the internet via eth0 while the LAN is connected via eth1. Everything is working perfectly even up till now but i want u to analyse my squid cache info which is below:
Cache Manager menu
--------------------------------------------------------------------------------
Squid Object Cache: Version 2.5.STABLE3
Start Time: Wed, 04 Feb 2004 16:48:07 GMT
Current Time: Wed, 04 Feb 2004 19:01:47 GMT
Connection information for squid:
Number of clients accessing cache: 8
Number of HTTP requests received: 4386
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: 32.8
Average ICP messages per minute since start: 0.0
Select loop called: 66953 times, 119.789 ms avg
Cache information for squid:
Request Hit Ratios: 5min: 17.8%, 60min: 16.5%
Byte Hit Ratios: 5min: 13.0%, 60min: 15.5%
Request Memory Hit Ratios: 5min: 0.0%, 60min: 0.0%
Request Disk Hit Ratios: 5min: 93.8%, 60min: 93.3%
Storage Swap size: 130328 KB
Storage Mem size: 120 KB
Mean Object Size: 12.70 KB
Requests given to unlinkd: 10
Median Service Times (seconds) 5 min 60 min:
HTTP Requests (All): 2.02066 2.02066
Cache Misses: 2.37608 2.25116
Cache Hits: 0.00919 0.02190
Near Hits: 0.00000 2.50793
Not-Modified Replies: 0.00000 0.00000
DNS Lookups: 0.56687 0.70785
ICP Queries: 0.00000 0.00000
Resource usage for squid:
UP Time: 8020.233 seconds
CPU Time: 5.170 seconds
CPU Usage: 0.06%
CPU Usage, 5 minute avg: 0.05%
CPU Usage, 60 minute avg: 0.05%
Process Data Segment Size via sbrk(): 3637 KB
Maximum Resident Size: 0 KB
Page faults with physical i/o: 481
Memory usage for squid via mallinfo():
Total space in arena: 3637 KB
Ordinary blocks: 3244 KB 126 blks
Small blocks: 0 KB 0 blks
Holding blocks: 1228 KB 2 blks
Free Small blocks: 0 KB
Free Ordinary blocks: 392 KB
Total in use: 4472 KB 92%
Total free: 392 KB 8%
Total size: 4865 KB
Memory accounted for:
Total accounted: 1240 KB
memPoolAlloc calls: 665124
memPoolFree calls: 633327
File descriptor usage for squid:
Maximum number of file descriptors: 1024
Largest file desc currently in use: 16
Number of file desc currently in use: 14
Files queued for open: 0
Available number of file descriptors: 1010
Reserved number of file descriptors: 100
Store Disk files open: 0
Internal Data Structures:
10286 StoreEntries
27 StoreEntries with MemObjects
25 Hot Object Cache Items
10259 on-disk objects
--------------------------------------------------------------------------------
Generated Wed, 04 Feb 2004 19:01:47 GMT, by cachemgr.cgi/2.5.STABLE3@linuxbox.proxy
Its just that i wonder why the Request Disk Hit Ratios are high and there is nothing in the Request Memory Hit Ratio (0% for both 5 mins and 60 mins)?
I configured my Mmemory Usage in the squid index as follows:
Memory Usage Limit - 128MB (Total physical memory is 512MB)
Disk High & Low Water Marks at 100% and 80%
Maximum cached object size - 1024Kb
My cache directory is 35GB.
what do u think?
Will expect ur comments pls.
Thanks
Debloxie
|