|

楼主 |
发表于 2007-5-17 12:32:20
|
显示全部楼层
netstat 查过
当时是 200 多个 squid 的连接,以前 squid 当掉的时候,我查了一下,只有 114 个 squid 的连接 ,真不明白为什么会 down 掉
最不理解的问题就是,我自己在网关上网,所以根本不通过 squid 代理,也一样打不开网页,但是 ping 能 ping 通,很正常,关掉 squid 也不行,非得重启电脑才可以,实在想不明白为什么
以下是 squid down 的那个时刻我用 cachemgr 查出来的 squid 当时的状态,大家帮我分析一下吧
CacheMgr@10.0.0.201: infoCache Manager menu
Squid Object Cache: Version 2.6.STABLE13
Start Time:Sat, 12 May 2007 06:04:02 GMT
Current Time:Mon, 14 May 2007 05:54:25 GMT
Connection information for squid:
Number of clients accessing cache: 62
Number of HTTP requests received: 122041
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: 42.5
Average ICP messages per minute since start: 0.0
Select loop called: 6040467 times, 28.511 ms avg
Cache information for squid:
Request Hit Ratios: 5min: 10.1%, 60min: 23.3%
Byte Hit Ratios: 5min: 19.5%, 60min: 4.2%
Request Memory Hit Ratios: 5min: 1.7%, 60min: 11.8%
Request Disk Hit Ratios: 5min: 93.1%, 60min: 35.0%
Storage Swap size: 907032 KB
Storage Mem size: 87800 KB
Mean Object Size: 15.29 KB
Requests given to unlinkd: 4509
Median Service Times (seconds) 5 min 60 min:
HTTP Requests (All): 0.00815 0.30459
Cache Misses: 2.50793 0.68577
Cache Hits: 0.00379 0.00379
Near Hits: 0.00000 0.32154
Not-Modified Replies: 0.00000 0.00379
DNS Lookups: 0.00278 0.00278
ICP Queries: 0.00000 0.00000
Resource usage for squid:
UP Time: 172222.279 seconds
CPU Time: 316.784 seconds
CPU Usage: 0.18%
CPU Usage, 5 minute avg: 0.32%
CPU Usage, 60 minute avg: 1.05%
Process Data Segment Size via sbrk(): 136040 KB
Maximum Resident Size: 0 KB
Page faults with physical i/o: 0
Memory usage for squid via mallinfo():
Total space in arena: 136040 KB
Ordinary blocks: 136029 KB 2 blks
Small blocks: 0 KB 0 blks
Holding blocks: 11668 KB 5 blks
Free Small blocks: 0 KB
Free Ordinary blocks: 10 KB
Total in use: 147697 KB 100%
Total free: 10 KB 0%
Total size: 147708 KB
Memory accounted for:
Total accounted: 121261 KB
memPoolAlloc calls: 16361746
memPoolFree calls: 15715918
File descriptor usage for squid:
Maximum number of file descriptors: 32768
Largest file desc currently in use: 219
Number of file desc currently in use: 217
Files queued for open: 0
Available number of file descriptors: 32551
Reserved number of file descriptors: 100
Store Disk files open: 5
IO loop method: poll
Internal Data Structures:
60333 StoreEntries
18363 StoreEntries with MemObjects
18262 Hot Object Cache Items
59334 on-disk objects
Generated Mon, 14 May 2007 05:54:25 GMT, by
cachemgr.cgi/2.6.STABLE13@CDPServeryu
Return to squid index |
|