"Memory usage " の情報が squidclient から報告されなくなる
Issue
squid パッケージを 3.5.20 にアップデートすると、squidclient コマンドが今までは取得できたメモリー関連の情報を取得しません。
アップデート前には以下のように「 Memory usage for squid via mallinfo() 」での情報の取得が可能でした。
# squidclient -p 3128 mgr:info
(中略)
Resource usage for squid:
UP Time: 2.888 seconds
CPU Time: 0.050 seconds
CPU Usage: 1.73%
CPU Usage, 5 minute avg: 0.00%
CPU Usage, 60 minute avg: 0.00%
Process Data Segment Size via sbrk():3476 KB
Maximum Resident Size:52416 KB
Page faults with physical i/o:0
Memory usage for squid via mallinfo():
Total space in arena: 3608 KB
Ordinary blocks: 3532 KB 2 blks
Small blocks: 0 KB 0 blks
Holding blocks: 9488 KB 7 blks
Free Small blocks: 0 KB
Free Ordinary blocks: 75 KB
Total in use: 13021 KB 99%
Total free: 75 KB 1%
Total size: 13096 KB
Memory accounted for:
Total accounted: 190 KB 1%
memPool accounted: 189 KB 1%
memPool unaccounted: 12906 KB 99%
memPoolAlloc calls: 431
memPoolFree calls: 439
(中略)
しかし、この「 Memory usage for squid via mallinfo() 」情報は、3.5.20 にアップデートすると提供されません。
# squidclient -p 3128 mgr:info
(中略)
Resource usage for squid:
UP Time: 5951.270 seconds
CPU Time: 1.999 seconds
CPU Usage: 0.03%
CPU Usage, 5 minute avg: 0.03%
CPU Usage, 60 minute avg: 0.03%
Maximum Resident Size:390256 KB
Page faults with physical i/o:0
Memory accounted for:
Total accounted: 2507 KB
memPoolAlloc calls: 94896
memPoolFree calls: 95099
(中略)
Environment
- Red Hat Enterprise Linux 7
- squid 3.5.20
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.