Some memory usage information is no longer reported by squidclient
Issue
The squidclient command doesn't provide memory related information after updating the squid package to 3.5.20.
It used to reported detailed memory usage "Memory usage for squid via mallinfo()" like below.
# squidclient -p 3128 mgr:info
(snip)
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
(snip)
The information in "Memory usage for squid via mallinfo()" is not provided after updating to 3.5.20.
# squidclient -p 3128 mgr:info
(snip)
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
(snip)
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.