[squid-users] How does mgr:mem headers match columns?

From: Kaiwang Chen <kaiwang.chen_at_gmail.com>
Date: Sun, 26 Sep 2010 23:11:52 +0800

Hi all,

Looks like mgr:mem in squid 3.1.6 mainly contains 19 columns of data.
What are the corresponding 19 headers? The following is a copy of
mgr:mem output with HTTP reponse headers removed.

Current memory usage:
Pool Obj Size Chunks
         Allocated In Use
                              Idle Allocations
Saved Rate
         (bytes) KB/ch obj/ch (#) used free part
  %Frag (#) (KB) high (KB) high (hrs) %Tot
(#) (KB) high (KB) high (hrs) %alloc (#) (KB)
  high (KB) (#) %cnt %vol (#)/sec
mem_node 4136
                  1816806 7338193 7343525 44.61
96.520 1816591 7337325 7343525 44.61 99.988
 215 869 12687 231439642 0.713 14.164 162.627
Short Strings 40
                  2067947 80780 92855 323.31 1.062
2067236 80752 92855 323.31 99.966 711 28 1115
 -2147483648 60.643 11.646 15521.504
HttpHeaderEntry 56
                  943124 51578 59236 323.31 0.678 942777
51559 59236 323.31 99.963 347 19 641 -2147483648
 16.615 4.467 4235.878
StoreEntry 96
                  432199 40519 40653 0.57 0.533 432179
40517 40653 0.57 99.995 20 2 89 115714759
 0.357 0.164 91.790
HttpReply 256
                  90758 22690 26333 323.28 0.298 90731
22683 26333 323.28 99.970 27 7 252 366664564
 1.130 1.389 282.739
MemObject 240
                  90718 21263 24685 323.28 0.280 90699
21258 24685 323.28 99.979 19 5 222 122547996
 0.378 0.435 93.210
LRU policy node 24
                  522757 12253 12253 0.02 0.161 522757
12253 12253 0.02 100.000 0 0 14
2965413 0.009 0.001 2.704
ClientInfo 352
                  29176 10030 14715 50.68 0.132 29176
10030 14715 50.68 100.000 0 0 2086 327943
 0.001 0.002 6.286
4K Buffer 4096
                  1831 7324 13904 23.05 0.096 1771
7084 13904 23.05 96.723 60 240 4700 86161630
 0.266 5.222 67.930
MD5 digest 16
                  432199 6754 6776 0.57 0.089 432179
6753 6776 0.57 99.995 20 1 15 117537733
 0.362 0.028 93.142
cbdata MemBuf (13) 64
                  90785 5675 6586 323.28 0.075 90746
5672 6586 323.28 99.957 39 3 122 602259645
 1.856 0.570 466.320
HttpHdrCc 40
                  56271 2199 2502 322.29 0.029 56248
2198 2502 322.29 99.959 23 1 22 216835326
 0.668 0.128 166.007
cbdata ConnStateData (16) 464
                          1831 830 1576 23.05 0.011
1771 803 1576 23.05 96.723 60 28 533
81626471 0.252 0.560 65.091
cbdata UFSStoreState (28) 176
                          3172 546 546 0.00 0.007
3168 545 546 0.00 99.874 4 1 19
8469616 0.026 0.022 2.771
cbdata store_client (23) 160
                          3235 506 756 24.05 0.007
3210 502 756 24.05 99.227 25 4 150
166276669 0.512 0.394 124.505
cbdata clientReplyContext (19) 4320
                          75 317 7944 280.51 0.004
43 182 7944 280.51 57.333 32 135 3983
128539774 0.396 8.217 99.361
cbdata ClientSocketContext (18) 4240
                          75 311 7797 280.51 0.004
43 179 7797 280.51 57.333 32 133 3909
128539767 0.396 8.064 99.361
cbdata DiskThreadsDiskFile (29) 88
                          3172 273 273 0.00 0.004
3168 273 273 0.00 99.874 4 1 10
8469616 0.026 0.011 2.771
HttpRequest 1648
                  118 190 6020 280.51 0.002 61 99
6020 280.51 51.695 57 92 3015 228949823 0.706
 5.583 182.973
2K Buffer 2048
                  54 108 3756 280.51 0.001 20 40
3756 280.51 37.037 34 68 2096 730415370 2.251
 22.134 574.670
cbdata ClientHttpRequest (17) 1440
                          75 106 2648 280.51 0.001
43 61 2648 280.51 57.333 32 45 1328
128539767 0.396 2.739 99.361
cbdata idns_query (10) 8680
                  8 68 98854 241.01 0.001 0 0
98854 241.01 0.000 8 68 81494 233444 0.001 0.030
 0.000
8K Buffer 8192
                  8 64 240 338.96 0.001 1 8
240 338.96 12.500 7 56 232 5769916 0.018
 0.699 2.433
Long Strings 512
                  85 43 967 23.19 0.001 41 21
967 23.19 48.235 44 22 466 386637382 1.192
 2.929 302.543
squidaio_small_bufs 4096
                  10 40 148 338.96 0.001 0 0
148 338.96 0.000 10 40 148 55373070 0.171
 3.356 9.193
Medium Strings 128
                  288 36 654 24.05 0.000 17 22
654 24.05 59.375 117 15 351 1179307856 3.634
 2.234 919.053
cbdata clientStreamNode (20) 128
                          150 19 471 280.51 0.000
86 11 471 280.51 57.333 64 8 236
256909628 0.792 0.487 198.722
16K Buffer 16384
                  1 16 64 2.05 0.000 1 16
64 2.05 100.000 0 0 48 2428 0.000
 0.001 0.000
cbdata HttpStateData (33) 296
                          43 13 764 24.17 0.000
15 5 764 24.17 34.884 28 9 354
100560497 0.310 0.440 83.612
fqdncache_entry 160
                  56 9 9 0.31 0.000 56 9
9 0.31 100.000 0 0 1 442 0.000
 0.000 0.000
cbdata FwdState (24) 152
                  54 9 420 23.17 0.000 20 3
420 23.17 37.037 34 6 193 100702817 0.310
 0.226 83.950
cbdata ConnectStateData (26) 152
                          54 9 280 280.51 0.000
20 3 280 280.51 37.037 34 6 133
100730685 0.310 0.227 83.950
cbdata peer (7) 920
                  7 7 7 574.40 0.000 7 7
7 574.40 100.000 0 0 0 0 0.000
 0.000 0.000
FwdServer 24
                  268 7 221 280.51 0.000 99 3
221 280.51 36.940 169 4 102 497990061 1.535
 0.177 417.788
cbdata CbDataList (36) 96
                  67 7 524 201.71 0.000 11 2
524 201.71 16.418 56 6 264 21911150 0.068
 0.031 7.773
cbdata netdbExchangeState (39) 4176
                          1 5 9 567.24 0.000
0 0 9 567.24 0.000 1 5 9 1516
 0.000 0.000 0.000
ipcache_entry 128
                  26 4 1458 241.01 0.000 19 3
1458 241.01 73.077 7 1 1202 233676 0.001 0.000
 0.000
aio_thread 40
                  64 3 3 574.40 0.000 64 3
3 574.40 100.000 0 0 0 0 0.000
 0.000 0.000
ev_entry 48
                  39 2 6 0.21 0.000 35 2
6 0.21 89.744 4 1 4 4645442 0.014
 0.003 1.960
cbdata acl_access (1) 56
                  32 2 2 574.40 0.000 32 2
2 574.40 100.000 0 0 0 0 0.000
 0.000 0.000
cbdata BodyPipe (27) 136
                  10 2 31 24.18 0.000 2 1
31 24.18 20.000 8 2 22 17653361 0.054
 0.036 13.316
aio_ctrl 112
                  11 2 5 338.96 0.000 0 0
5 338.96 0.000 11 2 5 65292063 0.201
 0.108 13.316
netdbEntry 168
                  7 2 2 431.20 0.000 7 2
2 431.20 100.000 0 0 0 0 0.000
 0.000 0.000
squidaio_micro_bufs 128
                  9 2 5 103.16 0.000 0 0
5 103.16 0.000 9 2 5 9915519 0.031
 0.019 4.123
aio_request 104
                  10 2 5 338.96 0.000 0 0
5 338.96 0.000 10 2 5 65292454 0.201
 0.100 13.316
cbdata ACLFilledChecklist (22) 304
                          3 1 2 121.54 0.000
1 1 2 121.54 33.333 2 1 2
362445777 1.117 1.630 278.143
ACLList 24
                  37 1 1 574.40 0.000 37 1
1 574.40 100.000 0 0 0 0 0.000
 0.000 0.000
cbdata ReadRequest (30) 72
                  10 1 3 338.96 0.000 0 0
3 338.96 0.000 10 1 3 55373070 0.171
 0.059 9.193
net_db_name 32
                  22 1 1 535.66 0.000 22 1
1 535.66 100.000 0 0 0 0 0.000
 0.000 0.000
acl_ip_data 96
                  7 1 1 574.40 0.000 7 1
1 574.40 100.000 0 0 1 2 0.000
 0.000 0.000
cbdata PeerDigest (8) 216
                  3 1 1 574.40 0.000 3 1
1 574.40 100.000 0 0 0 0 0.000
 0.000 0.000
relist 80
                  7 1 1 574.40 0.000 7 1
1 574.40 100.000 0 0 0 0 0.000
 0.000 0.000
cbdata generic_cbdata (32) 32
                          16 1 729 241.01 0.000
0 0 729 241.01 0.000 16 1 601
102188628 0.315 0.048 84.964
ACLStrategised 80
                  6 1 1 574.40 0.000 6 1
1 574.40 100.000 0 0 0 0 0.000
 0.000 0.000
cbdata IoResult (31) 40
                  10 1 2 338.96 0.000 0 0
2 338.96 0.000 10 1 2 55373070 0.171
 0.033 9.193
UFSStoreState::_queued_read 40
                          9 1 2 103.16 0.000
0 0 2 103.16 0.000 9 1 2
6805366 0.021 0.004 1.419
cbdata http_port_list (2) 232
                          1 1 1 574.40 0.000
1 1 1 574.40 100.000 0 0 0
 0 0.000 0.000 0.000
cbdata ps_state (25) 224
                  1 1 1 574.40 0.000 0 0
1 574.40 0.000 1 1 1 100960916 0.311
 0.335 83.950
cbdata ErrorState (40) 216
                  1 1 8 0.63 0.000 0 0
8 0.63 0.000 1 1 8 169397 0.001 0.001
 0.000
ACLRegexData 16
                  13 1 1 574.40 0.000 13 1
1 574.40 100.000 0 0 0 0 0.000
 0.000 0.000
cbdata RemovalPolicy (3) 104
                          2 1 1 574.40 0.000
2 1 1 574.40 100.000 0 0 0
 0 0.000 0.000 0.000
ACLSourceIP 64
                  3 1 1 574.40 0.000 3 1
1 574.40 100.000 0 0 0 0 0.000
 0.000 0.000
ACLStrategised 80
                  2 1 1 574.40 0.000 2 1
1 574.40 100.000 0 0 0 0 0.000
 0.000 0.000
link_list 16
                  9 1 1 172.70 0.000 0 0
1 172.70 0.000 9 1 1 15898245 0.049
 0.004 4.123
UFSStoreState::_queued_write 32
                          4 1 2 172.70 0.000
0 0 2 172.70 0.000 4 1 2
9089717 0.028 0.004 2.704
cbdata StoreSearchHashIndex (15) 104
                                  1 1 1 574.40
0.000 1 1 1 574.40 100.000 0 0
 1 394 0.000 0.000 0.000
ACLDomainData 16
                  6 1 1 574.40 0.000 6 1
1 574.40 100.000 0 0 0 0 0.000
 0.000 0.000
ACLHTTPHeaderData 48
                  2 1 1 574.40 0.000 2 1
1 574.40 100.000 0 0 0 0 0.000
 0.000 0.000
ACLStringData 16
                  5 1 1 574.40 0.000 5 1
1 574.40 100.000 0 0 0 0 0.000
 0.000 0.000
ACLCertificateData 40
                  2 1 1 574.40 0.000 2 1
1 574.40 100.000 0 0 0 0 0.000
 0.000 0.000
cbdata CbDataList (4) 40
                  2 1 1 574.40 0.000 2 1
1 574.40 100.000 0 0 0 0 0.000
 0.000 0.000
ACLStrategised 80
                  1 1 1 574.40 0.000 1 1
1 574.40 100.000 0 0 0 0 0.000
 0.000 0.000
ACLStrategised 80
                  1 1 1 574.40 0.000 1 1
1 574.40 100.000 0 0 0 0 0.000
 0.000 0.000
cbdata ClientRequestContext (21) 80
                                  1 1 1 121.54
0.000 0 0 1 121.54 0.000 1 1 1
 128781526 0.397 0.152 99.361
cbdata WriteRequest (37) 80
                          1 1 1 574.40 0.000
0 0 1 574.40 0.000 1 1 1
9094171 0.028 0.011 2.704
StoreSwapLogData 72
                  1 1 1 574.40 0.000 0 0
1 574.40 0.000 1 1 1 3305791 0.010
 0.004 2.704
cbdata RemovalPurgeWalker (34) 72
                          1 1 1 574.40 0.000
0 0 1 574.40 0.000 1 1 1
2101686 0.006 0.002 1.014
cbdata CbDataList (5) 64
                  1 1 1 574.40 0.000 1 1
1 574.40 100.000 0 0 0 0 0.000
 0.000 0.000
ACLUserData 24
                  2 1 1 574.40 0.000 2 1
1 574.40 100.000 0 0 0 0 0.000
 0.000 0.000
ACLProtocolData 16
                  3 1 1 574.40 0.000 3 1
1 574.40 100.000 0 0 0 0 0.000
 0.000 0.000
dwrite_q 48
                  1 1 1 574.40 0.000 0 0
1 574.40 0.000 1 1 1 12401062 0.038
 0.009 5.407
cbdata CbDataList (6) 40
                  1 1 1 574.40 0.000 1 1
1 574.40 100.000 0 0 0 0 0.000
 0.000 0.000
cbdata IoResult (38) 40
                  1 1 1 574.40 0.000 0 0
1 574.40 0.000 1 1 1 9094171 0.028
 0.005 2.704
ACLASN 16
                  2 1 1 574.40 0.000 2 1
1 574.40 100.000 0 0 0 0 0.000
 0.000 0.000
ACLMethodData 16
                  2 1 1 574.40 0.000 2 1
1 574.40 100.000 0 0 0 0 0.000
 0.000 0.000
ACLTimeData 32
                  1 1 1 574.40 0.000 1 1
1 574.40 100.000 0 0 0 0 0.000
 0.000 0.000
CacheDigest 32
                  1 1 1 574.40 0.000 1 1
1 574.40 100.000 0 0 0 0 0.000
 0.000 0.000
StoreMetaMD5 32
                  1 1 1 574.40 0.000 0 0
1 574.40 0.000 1 1 1 8430907 0.026
 0.004 2.771
StoreMetaSTDLFS 32
                  1 1 1 574.40 0.000 0 0
1 574.40 0.000 1 1 1 8430907 0.026
 0.004 2.771
StoreMetaURL 32
                  1 1 1 574.40 0.000 0 0
1 574.40 0.000 1 1 1 8430907 0.026
 0.004 2.771
StoreMetaVary 32
                  1 1 1 574.40 0.000 0 0
1 574.40 0.000 1 1 1 3872197 0.012
 0.002 0.879
HttpHdrRange 32
                  1 1 1 395.25 0.000 0 0
1 395.25 0.000 1 1 1 19754 0.000 0.000
 0.000
ACLSslErrorData 16
                  1 1 1 574.40 0.000 1 1
1 574.40 100.000 0 0 0 0 0.000
 0.000 0.000
wordlist 16
                  1 1 1 574.40 0.000 1 1
1 574.40 100.000 0 0 0 0 0.000
 0.000 0.000
HttpHdrRangeSpec 16
                  1 1 1 395.25 0.000 0 0
1 395.25 0.000 1 1 1 19746 0.000 0.000
 0.000
pconn_fds 32
                  0 0 1 23.16 0.000 0 0
1 23.16 -1.000 0 0 1 10537 0.000 0.000
 0.000
32K Buffer 32768
                  0 0 64 564.11 0.000 0 0
64 564.11 -1.000 0 0 64 715 0.000 0.000
 0.000
64K Buffer 65536
                  0 0 192 529.08 0.000 0 0
192 529.08 -1.000 0 0 192 399 0.000 0.000
 0.000
HttpHdrContRange 24
                  0 0 1 395.25 0.000 0 0
1 395.25 -1.000 0 0 1 1569 0.000 0.000
 0.000
cbdata RebuildState (12) 696
                          0 0 1 574.40 0.000
0 0 1 574.40 -1.000 0 0 1 0
 0.000 0.000 0.000
cbdata IdleConnList (35) 4160
                          0 0 70 25.18 0.000
0 0 70 25.18 -1.000 0 0 57 10489
 0.000 0.001 0.000
cbdata DigestFetchState (41) 4232
                          0 0 5 574.30 0.000
0 0 5 574.30 -1.000 0 0 5 15
 0.000 0.000 0.000
cbdata RemovalPolicyWalker (42) 56
                          0 0 1 569.21 0.000
0 0 1 569.21 -1.000 0 0 1 0
 0.000 0.000 0.000
cbdata BodySink (43) 80
                  0 0 1 552.59 0.000 0 0
1 552.59 -1.000 0 0 1 81 0.000 0.000
 0.000
Total 1
                  6587899 7602804 7681025 241.00
100.000 6585443 7600879 7677188 241.01
 99.975 2456 1926 82929 -2147483648 99.582 99.361
2193216836.675
Cumulative allocated volume: 6.7582 TB
Current overhead: 29914 bytes (0.000%)
Idle pool limit: 5.00 MB
Total Pools created: 116
Pools ever used: 104 (shown above)
Currently in use: 69
String Pool Impact
         (%strings) (%volume)
Short Strings 100 100
Medium Strings 0 0
Long Strings 0 0
Other Strings 0 0

Large buffers: 0 (0 KB)

Thanks,
kc
Received on Sun Sep 26 2010 - 15:11:54 MDT

This archive was generated by hypermail 2.2.0 : Wed Sep 29 2010 - 12:00:04 MDT