本帖最后由 hexingke24 于 2014-3-31 19:26 编辑 这台ASA 5585 SSP20主要做NAT,最近发现内存使用率很高(12GB内存),大概三个月前才只有34%,现在高峰期可以达到82%,一般都维持在72%左右。一个月前重启过一次设备,就陆续出现一些不能上网的问题,之前没关注内存的问题,最近发现内存使用率很高。
三个月前ASA的一些信息:
------------------ show memory ------------------
F ree memory: 8481390208 bytes (66%)
Used memory: 4403511680 bytes (34%)
------------- ------------------
Total memory: 12884901888 bytes (100%)
------------------ show conn count ------------------
184103 in use, 847809 most used
------------------ show xlate count ------------------
241275 in use, 653771 most used
现在ASA的一些信息:
------------------ show memory ------------------
F ree memory: 3603259008bytes (28%)
Used memory: 9281642880 bytes (72%)
------------- ------------------
Total memory: 12884901888 bytes (100%)
------------------ show conn count ------------------
197568 in use, 550139 most used
------------------ show xlate count ------------------
259627 in use, 619869 most used
对比可以看到,一些连接数和nat转换数没有多大变化,就是内存变化很大。
下面的 show memorydetail 有人可以看懂吗?
非常感谢。
ASA5585# show memory detail
F ree memory: 3589808144 bytes (28%)
Used memory:
Allocatedmemory in use: 7227715568 bytes (56%)
Reserved memory: 2067378176 bytes (16%)
----------------------------- ------------------
Total memory: 12884901888 bytes (100%)
Least f ree memory: 3436660384 bytes(27%)
Most used memory: 9448241504 bytes (73%)
MEMPOOL_DMA POOL STATS:
Non-mmapped bytes allocated = 669515776
Number of f ree chunks = 258
Number of mmapped regions = 0
Mmapped bytes allocated = 0
Max memory footprint = 669515776
Keepcost = 437875744
Max contiguous f ree mem = 437875744
Allocated memory in use = 231530416
F ree memory = 437985360
----- fragmented memory statistics -----
fragment size count total
(bytes) (bytes)
---------------- ---------- --------------
48 3 144
64 2 128
96 1 96**
96 1 96
256 122 39232
384 64 30720
512 64 38912
437875744 1 437875744*
* - top most releasable chunk.
** - contiguous memory on top of heap.
----- allocated memory statistics -----
fragment size count total
(bytes) (bytes)
---------------- ---------- --------------
80 1 80
96 1 96
144 1 144
224 2 448
240 3 720
256 4 1024
384 2 768
512 8 4096
1024 258 264192
2048 2 4096
8192 6 49152
12288 76 933888
16384 2 32768
32768 5 163840
65536 2 131072
98304 2 196608
131072 3 393216
196608 3 589824
262144 8 2097152
393216 4 1572864
524288 2 1048576
786432 6 4718592
1048576 7 7340032
1572864 1 1572864
2097152 1 2097152
3145728 7 22020096
6291456 4 25165824
8388608 4 33554432
12582912 3 37748736
MEMPOOL_GLOBAL_SHARED POOL STATS:
Non-mmapped bytes allocated = 10817523712
Number of f ree chunks = 28534
Number of mmapped regions = 0
Mmapped bytes allocated = 0
Max memory footprint = 10817523712
Keepcost = 2880411392
Max contiguous f ree mem = 2880411392
Allocated memory in use = 7227712352
F ree memory = 3589811360
----- fragmented memory statistics -----
fragment size count total
(bytes) (bytes)
---------------- ---------- --------------
32 1473 47136
48 1098 52704
64 1252 80128
80 246 19680
96 1 96**
96 11 1056
112 442 49504
128 584 74752
144 266 38304
160 561 89760
192 262 50304
208 355 73840
224 329 73696
240 47 11280
256 755 248768
384 981 424736
512 933 591136
768 953 847440
1024 1757 2003584
1536 560 976272
2048 855 2018160
3072 3925 14512816
4096 4404 22667856
6144 846 5434048
8192 1 10240
32768 680 30959216
49152 358 18345376
65536 223 19792496
98304 1995 244124608
131072 2379 332193936
12582912 1 13587008
2880411392 1 2880411392*
* - top most releasable chunk.
** - contiguous memory on top of heap.
----- allocated memory statistics -----
fragment size count total
(bytes) (bytes)
---------------- ---------- --------------
80 1329 106320
96 11639 1117344
112 4739 530768
128 11658 1492224
144 5784 832896
160 1207 193120
176 1973 347248
192 550 105600
208 326 67808
224 19965 4472160
240 1100 264000
256 3003 768768
384 14361 5514624
512 20789 10643968
768 266 204288
1024 12665 12968960
1536 1119 1718784
2048 166 339968
3072 92 282624
4096 1678 6873088
6144 33968 208699392
8192 423 3465216
12288 226 2777088
16384 63 1032192
24576 21 516096
32768 8820 289013760
49152 1527 75055104
65536 258 16908288
98304 65 6389760
131072 35226 4617142272
196608 24 4718592
262144 58 15204352
393216 18 7077888
524288 214 112197632
786432 25 19660800
1048576 74 77594624
1572864 1 1572864
2097152 211 442499072
3145728 3 9437184
4194304 1 4194304
8388608 2 16777216
12582912 9 113246208
Summary for all pools:
Non-mmapped bytes allocated = 11487039488
Number of f ree chunks = 28792
Number of mmapped regions = 0
Mmapped bytes allocated = 0
Max memory footprint = 11487039488
Keepcost = 3318287136
Allocated memory in use = 7459242768
F ree memory = 4027796720