Hi,
I have this strange problem started from tonight in my squid box. Actually everything was working ok, but I was trying to do some port forwarding things with iptables. But suddendly i realized that my cache hits has drop after i restarted the networking service quite a few times. At first i wasn't worried, but after an hour I got worried. Although calamaris is showing more byte hit % , unfortunately cachemgr.cgi is showing wrong value i guess. My operating system is a Ubuntu 10.10 server.
Squid Object Cache: Version 3.1.10
Start Time:Sat, 15 Jan 2011 22:17:57 GMT
Current Time:Sat, 15 Jan 2011 23:09:17 GMT
Connection information for squid:
Number of clients accessing cache: 100
Number of HTTP requests received: 60132
Number of ICP messages received: 0
Number of ICP messages sent: 0
Number of queued ICP replies: 0
Number of HTCP messages received: 0
Number of HTCP messages sent: 0
Request failure ratio: 0.00
Average HTTP requests per minute since start: 1171.5
Average ICP messages per minute since start: 0.0
Select loop called: 5143660 times, 0.599 ms avg
Cache information for squid:
Hits as % of all requests: 5min: 12.3%, 60min: 18.8%
Hits as % of bytes sent: 5min: -12.5%, 60min: -1.9%
Memory hits as % of hit requests: 5min: 12.4%, 60min: 4.3%
Disk hits as % of hit requests: 5min: 50.6%, 60min: 64.5%
Storage Swap size: 33978424 KB
Storage Swap capacity: 64.6% used, 35.4% free
Storage Mem size: 101084 KB
Storage Mem capacity: 99.7% used, 0.3% free
Mean Object Size: 16.65 KB
Requests given to unlinkd: 2605
Median Service Times (seconds) 5 min 60 min:
HTTP Requests (All): 7.79421 0.61549
Cache Misses: 26.97993 0.80651
Cache Hits: 0.01387 0.00919
Near Hits: 0.58309 0.46965
Not-Modified Replies: 0.00000 0.00000
DNS Lookups: 0.51867 0.16304
ICP Queries: 0.00000 0.00000
Resource usage for squid:
UP Time: 3079.731 seconds
CPU Time: 115.800 seconds
CPU Usage: 3.76%
CPU Usage, 5 minute avg: 3.81%
CPU Usage, 60 minute avg: 3.76%
Process Data Segment Size via sbrk(): 497056 KB
Maximum Resident Size: 2051920 KB
Page faults with physical i/o: 0
Memory usage for squid via mallinfo():
Total space in arena: 497188 KB
Ordinary blocks: 495769 KB 9420 blks
Small blocks: 0 KB 0 blks
Holding blocks: 36380 KB 9 blks
Free Small blocks: 0 KB
Free Ordinary blocks: 1418 KB
Total in use: 532149 KB 100%
Total free: 1418 KB 0%
Total size: 533568 KB
Memory accounted for:
Total accounted: 404284 KB 76%
memPool accounted: 404284 KB 76%
memPool unaccounted: 129283 KB 24%
memPoolAlloc calls: 17894845
memPoolFree calls: 18064591
File descriptor usage for squid:
Maximum number of file descriptors: 65535
Largest file desc currently in use: 1409
Number of file desc currently in use: 1255
Files queued for open: 0
Available number of file descriptors: 64280
Reserved number of file descriptors: 100
Store Disk files open: 16
Internal Data Structures:
2041007 StoreEntries
8633 StoreEntries with MemObjects
8141 Hot Object Cache Items
2040138 on-disk objects
Please help to understand why I am getting negative hits all of a sudden? And even if it caused by something else, why isn't it be solved after an hour when so many clients are online.
Regards,
Shishir
Received on Sat Jan 15 2011 - 23:12:17 MST
This archive was generated by hypermail 2.2.0 : Sun Jan 16 2011 - 12:00:02 MST