ASA 5510 - Memory allocation Error
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2014 09:37 AM - edited 03-12-2019 06:06 PM
Hi all,
My customer is facing with the above error. He has done the following:
Primary ASA showed Memory allocation Errors in the logs, in fact saving config was not possible
after removing Basic Threat Detection config and adding it again saving configuration was possible again, but Memory allocation Error still appear in the logs.
customer then failover to secondary which is now active, and to my knowledge this is fine on the secondary -active
====================================================
xxxxxxpri/act# wr me
Building configuration...
No memory available
Error executing command
[FAILED]
==========Show Ver====================================
xxxxxxxxxxxxl/pri/stby# show ver
Cisco Adaptive Security Appliance Software Version 8.2(2)12
Device Manager Version 6.2(1)
Compiled on Sun 11-Apr-10 21:57 by builders
System image file is "disk0:/asa822-12-k8.bin"
Config file at boot was "startup-config"
FRA-Firewall up 1 year 42 days
failover cluster up 1 year 42 days
Hardware: ASA5510, 256 MB RAM, CPU Pentium 4 Celeron 1600 MHz
Internal ATA Compact Flash, 256MB
BIOS Flash M50FW080 @ 0xffe00000, 1024KB
Encryption hardware device : Cisco ASA-55x0 on-board accelerator (revision 0x0)
Boot microcode : CN1000-MC-BOOT-2.00
SSL/IKE microcode: CNLite-MC-SSLm-PLUS-2.03
IPSec microcode : CNlite-MC-IPSECm-MAIN-2.04
0: Ext: Ethernet0/0 : address is 001c.58d3.ed80, irq 9
1: Ext: Ethernet0/1 : address is 001c.58d3.ed81, irq 9
2: Ext: Ethernet0/2 : address is 001c.58d3.ed82, irq 9
3: Ext: Ethernet0/3 : address is 001c.58d3.ed83, irq 9
4: Ext: Management0/0 : address is 001c.58d3.ed7f, irq 11
5: Int: Not used : irq 11
6: Int: Not used : irq 5
Licensed features for this platform:
Maximum Physical Interfaces : Unlimited
Maximum VLANs : 100
Inside Hosts : Unlimited
Failover : Active/Active
VPN-DES : Enabled
VPN-3DES-AES : Enabled
Security Contexts : 2
GTP/GPRS : Disabled
SSL VPN Peers : 2
Total VPN Peers : 250
Shared License : Disabled
AnyConnect for Mobile : Disabled
AnyConnect for Cisco VPN Phone : Disabled
AnyConnect Essentials : Enabled
Advanced Endpoint Assessment : Disabled
UC Phone Proxy Sessions : 2
Total UC Proxy Sessions : 2
Botnet Traffic Filter : Disabled
This platform has an ASA 5510 Security Plus license.
Serial Number: JMX1139L06P
Running Activation Key
Configuration register is 0x1
Configuration last modified by islunjski at 11:14:09.785 CET Tue Mar 25 2014
xxxxxxxxxxx/pri/stby#
=============End show ver====================================
============Show mem detail==================================
xxxxxxxxx/pri/stby# show memory detail
Free memory: 55232808 bytes (21%)
Used memory:
Allocated memory in use: 128038616 bytes (48%)
Reserved memory: 85164032 bytes (32%)
----------------------------- ----------------
Total memory: 268435456 bytes (100%)
Dynamic Shared Objects(DSO): 0 bytes
Least free memory: 53769896 bytes (20%)
Most used memory: 214665560 bytes (80%)
MEMPOOL_DMA POOL STATS:
Non-mmapped bytes allocated = 53248000
Number of free chunks = 119
Number of mmapped regions = 0
Mmapped bytes allocated = 0
Max memory footprint = 53248000
Keepcost = 25064304
Max contiguous free mem = 25064304
Allocated memory in use = 28100376
Free memory = 25147624
----- fragmented memory statistics -----
fragment size count total
(bytes) (bytes)
---------------- ---------- --------------
16 5 80
24 19 456
32 5 160
40 21 840
48 1 48**
48 21 1008
56 5 280
72 2 144
88 6 528
96 2 192
112 4 448
120 4 480
128 1 128
136 1 136
144 1 144
160 1 160
184 2 368
200 1 200
240 1 240
384 2 928
768 2 1760
1024 4 4544
1536 1 1880
2048 1 2856
4096 2 9056
8192 1 11936
12288 2 26896
16384 1 17424
25064304 1 25064304*
* - top most releasable chunk.
** - contiguous memory on top of heap.
----- allocated memory statistics -----
fragment size count total
(bytes) (bytes)
---------------- ---------- --------------
48 16 768
56 1431 80136
64 153 9792
72 23 1656
80 16 1280
88 3 264
112 19 2128
120 7 840
128 2 256
136 6 816
144 9 1296
152 4 608
168 5 840
176 10 1760
184 3 552
192 1 192
200 28 5600
232 1 232
240 26 6240
248 3 744
256 8 2048
384 2 768
512 4 2048
1024 108 110592
2048 1 2048
4096 4 16384
8192 12 98304
12288 1 12288
16384 5 81920
24576 2 49152
32768 4 131072
65536 10 655360
98304 1 98304
131072 1 131072
196608 6 1179648
262144 8 2097152
393216 1 393216
524288 11 5767168
786432 1 786432
1048576 3 3145728
1572864 1 1572864
2097152 1 2097152
4194304 1 4194304
MEMPOOL_GLOBAL_SHARED POOL STATS:
Non-mmapped bytes allocated = 130023424
Number of free chunks = 5490
Number of mmapped regions = 0
Mmapped bytes allocated = 0
Max memory footprint = 130023424
Keepcost = 28336
Max contiguous free mem = 224184
Allocated memory in use = 128038424
Free memory = 1985000
----- fragmented memory statistics -----
fragment size count total
(bytes) (bytes)
---------------- ---------- --------------
16 419 6704
24 551 13224
32 532 17024
40 457 18280
48 1 48**
48 333 15984
56 2 112
64 8 512
72 1 72
80 2 160
88 1 88
112 749 83888
120 69 8280
128 77 9856
136 52 7072
144 41 5904
152 1 152
184 122 22448
192 56 10752
200 56 11200
208 27 5616
216 161 34776
224 276 61824
232 39 9048
240 249 59760
248 56 13888
256 509 154360
384 524 234480
512 32 20744
768 16 14096
1536 8 14928
2048 9 25856
3072 7 25488
4096 11 52712
6144 5 36160
8192 9 88848
12288 5 67712
16384 1 16400
24576 2 51440
28336 1 28336*
32768 9 346984
49152 3 165488
196608 1 224184
* - top most releasable chunk.
** - contiguous memory on top of heap.
----- allocated memory statistics -----
fragment size count total
(bytes) (bytes)
---------------- ---------- --------------
48 2419 116112
56 2041 114296
64 5551 355264
72 1271 91512
80 8459 676720
88 711 62568
96 347 33312
104 2493 259272
112 2519 282128
120 617 74040
128 614 78592
136 34 4624
144 263 37872
152 7537 1145624
160 391 62560
168 311 52248
176 237 41712
184 3318 610512
192 2479 475968
200 345 69000
208 65 13520
216 135 29160
224 53 11872
232 49 11368
240 417 100080
248 210 52080
256 9518 2436608
384 11647 4472448
512 761 389632
768 69 52992
1024 754 772096
1536 15 23040
2048 2700 5529600
3072 69 211968
4096 103 421888
6144 38 233472
8192 167 1368064
12288 47 577536
16384 164 2686976
24576 35 860160
32768 48 1572864
49152 17 835584
65536 693 45416448
98304 90 8847360
131072 16 2097152
196608 23 4521984
262144 3 786432
393216 3 1179648
524288 8 4194304
786432 6 4718592
1048576 1 1048576
2097152 2 4194304
3145728 1 3145728
Summary for all pools:
Non-mmapped bytes allocated = 183271424
Number of free chunks = 5609
Number of mmapped regions = 0
Mmapped bytes allocated = 0
Max memory footprint = 183271424
Keepcost = 25092640
Allocated memory in use = 156138800
Free memory = 27132624
xxxxxxxxx/pri/stby#
===========End show mem detail==================
if anyone could point me out to the issue or do I need to escalate this to TAC?
btw, I was not able to find a bug related to 8.2.(2) 12 version.....
- Labels:
-
NGFW Firewalls

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-31-2014 11:42 AM
Hello,
The problem doesn't seem to be related with DRAM but with flash memory.
Can you run a 'show flash' and try 'fsck flash'
Also I can see you are running 8.2 and 256 MB RAM, be aware of recommended memory:
http://www.cisco.com/c/en/us/td/docs/security/asa/asa82/release/notes/asarn82.html#wp37821
Regards,
Felipe.
Remember to rate useful posts.
