cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
9637
Views
0
Helpful
5
Replies

[ASA5508] MEMPOOL_HEAPCACHE_0 2% free

williewonka
Level 1
Level 1

Hi,

 

Our monitoring is showing MEMPOOL_HEAPCACHE_0 2% free

Can anybody explain to me what it means and how i can fix the issue:

 

sh ver

Cisco Adaptive Security Appliance Software Version 9.8(4)25
Firepower Extensible Operating System Version 2.2(2.124)
Device Manager Version 7.12(2)

Compiled on Mon 06-Jul-20 07:56 PDT by builders
System image file is "disk0:/asa984-25-lfbff-k8.SPA"
Config file at boot was "startup-config"

Port-ASA1 up 189 days 18 hours
failover cluster up 2 years 231 days

Hardware:   ASA5508, 8192 MB RAM, CPU Atom C2000 series 2000 MHz, 1 CPU (8 cores                                                                             )
Internal ATA Compact Flash, 8000MB
BIOS Flash M25P64 @ 0xfed01000, 16384KB

sh mem detail

Heap Memory:
   Free Memory:
      Heapcache Pool:                        3262736 bytes (  0% )
      Global Shared Pool:                     134416 bytes (  0% )
      System:                             3228862604 bytes ( 74% )
   Used Memory:
      Heapcache Pool:                      309212912 bytes (  7% )
      Global Shared Pool:                        752 bytes (  0% )
      Reserved (Size of DMA Pool):         499122176 bytes ( 11% )
      Reserved for messaging:                2097152 bytes (  0% )
      MMAP usage:                           87224580 bytes (  2% )
      System Overhead:                     250695420 bytes (  6% )
-------------------------------------     ----------------
   Total Memory:                          4380612748 bytes ( 100% )

Warning:  The information reported here is computationally expensive to
          determine, and may result in CPU hogs and performance impact.

-----------------------------------------------------------------------
MEMPOOL_MSGLYR POOL STATS:

Non-mmapped bytes allocated =      2097152
Number of free chunks       =            1
Number of mmapped regions   =            0
Mmapped bytes allocated     =            0
Max memory footprint        =      2097152
Keepcost                    =      2092768
Max contiguous free mem     =      2092768
Allocated memory in use     =         4288
Free memory                 =      2092864

----- fragmented memory statistics -----

 fragment size       count          total
    (bytes)                        (bytes)
----------------  ----------  --------------
           96             1             96**
      2092768             1        2092768*

*  - top most releasable chunk.
** - contiguous memory on top of heap.


----- allocated memory statistics -----

 fragment size       count          total
    (bytes)                        (bytes)
----------------  ----------  --------------


MEMPOOL_HEAPCACHE_0 POOL STATS:

Non-mmapped bytes allocated =    312475648
Number of free chunks       =          676
Number of mmapped regions   =            0
Mmapped bytes allocated     =            0
Max memory footprint        =    312475648
Keepcost                    =      2005376
Max contiguous free mem     =      2005376
Allocated memory in use     =    309212912
Free memory                 =      3262736

----- fragmented memory statistics -----

 fragment size       count          total
    (bytes)                        (bytes)
----------------  ----------  --------------
           32           257           8224
           48           198           9504
           64           178          11392
           80             2            160
           96             1             96**
           96             1             96
          112             1            112
          144             3            432
          160             1            160
          192             1            192
          208             1            208
          224             1            224
          240             1            240
          256             8           2320
          384             6           2496
          512             5           2768
         3072             1           3856
         4096             2          10032
         6144             4          28624
        24576             1          29024
       131072             1         179424
       786432             1         965200
      2005376             1        2005376*

*  - top most releasable chunk.
** - contiguous memory on top of heap.


----- allocated memory statistics -----

fragment size       count          total
    (bytes)                        (bytes)
----------------  ----------  --------------
           80          1143          91440
           96         11894        1141824
          112          3220         360640
          128          1725         220800
          144          3324         478656
          160           450          72000
          176           397          69872
          192           383          73536
          208           275          57200
          224           275          61600
          240           210          50400
          256          3153         807168
          384           664         254976
          512          1275         652800
          768           698         536064
         1024           788         806912
         1536           209         321024
         2048           264         540672
         3072           163         500736
         4096           787        3223552
         6144            59         362496
         8192           210        1720320
        12288           131        1609728
        16384           595        9748480
        24576            29         712704
        32768            94        3080192
        49152            26        1277952
        65536           206       13500416
        98304            22        2162688
       131072            19        2490368
       196608            19        3735552
       262144            21        5505024
       393216            20        7864320
       524288            13        6815744
       786432             3        2359296
      1048576            21       22020096
      1572864            13       20447232
      2097152             5       10485760
      3145728             2        6291456
      4194304             4       16777216
      8388608             3       25165824
     12582912             3       37748736

MEMPOOL_DMA POOL STATS:

Non-mmapped bytes allocated =    499122176
Number of free chunks       =          176
Number of mmapped regions   =            0
Mmapped bytes allocated     =            0
Max memory footprint        =    499122176
Keepcost                    =    262755296
Max contiguous free mem     =    262755296
Allocated memory in use     =    236276720
Free memory                 =    262845456

----- fragmented memory statistics -----

 fragment size       count          total
    (bytes)                        (bytes)
----------------  ----------  --------------
           48            31           1488
           80            17           1360
           96             1             96**
           96             4            384
          112             2            224
          128             4            512
          144            13           1872
          160             1            160
          176            24           4224
          192             3            576
          208             1            208
          224            26           5824
          240             1            240
          512             1            688
          768             2           1792
         1024            42          44448
         4096             1           4864
        16384             1          21040
    262755296             1      262755296*

*  - top most releasable chunk.
** - contiguous memory on top of heap.


----- allocated memory statistics -----

 fragment size       count          total
    (bytes)                        (bytes)
----------------  ----------  --------------
          160             2            320
          224             2            448
          240           313          75120
          256             7           1792
          384             2            768
          512             2           1024
          768             3           2304
         1024           167         171008
         1536          1023        1571328
         2048             2           4096
         4096             4          16384
        12288             2          24576
        16384            18         294912
        24576             2          49152
        32768             6         196608
        65536             9         589824
       131072            13        1703936
       196608             5         983040
       262144             4        1048576
       393216             5        1966080
       524288             2        1048576
       786432             5        3932160
      1048576             3        3145728
      1572864             2        3145728
      2097152             8       16777216
      3145728             3        9437184
      4194304             4       16777216
     12582912             3       37748736

MEMPOOL_GLOBAL_SHARED POOL STATS:

Non-mmapped bytes allocated =       135168
Number of free chunks       =            3
Number of mmapped regions   =            0
Mmapped bytes allocated     =            0
Max memory footprint        =            0
Keepcost                    =       103664
Max contiguous free mem     =            0
Allocated memory in use     =          752
Free memory                 =       134416

----- fragmented memory statistics -----

 fragment size       count          total
    (bytes)                        (bytes)
----------------  ----------  --------------

----- allocated memory statistics -----

 fragment size       count          total
    (bytes)                        (bytes)
----------------  ----------  --------------
          168             1            168
          184             3            552

Summary for all pools:

Non-mmapped bytes allocated =    813830144
Number of free chunks       =          856
Number of mmapped regions   =            0
Mmapped bytes allocated     =            0
Max memory footprint        =    813694976
Keepcost                    =    266957104
Allocated memory in use     =    545494672
Free memory                 =    268335472

Thanks

5 Replies 5

Have a look to see if you are hitting this bug:

https://bst.cloudapps.cisco.com/bugsearch/bug/CSCux86596/?rfs=iqvred

 

--
Please remember to select a correct answer and rate helpful posts

Hi Marius,

 

Thanks for the link.

From what i can see this has been fixed in 9.7.1 and 9.6.2 but we are running much newer firmware version - 9.8(4)25

 

Thanks

I would normally agree that 9.7.1 and later should have the bug fix included, though I have come across som  bugs that were fixed in one version but showed up again in a later version (this was on 3650 switches and related to memory leaks)

Have you tried and/or are you able to perform a reboot of the ASA? often a reboot will solve these types of issues.

--
Please remember to select a correct answer and rate helpful posts

Samer R. Saleem
Level 4
Level 4

I remember having similar problem on Cisco ASA5512-X, reboot can fix it but it will show up again.

I think trying to change some settings might reduce the usage of your Firewall resources

* disable logs for rules that you don't need to log all time

* change tcp session timers

HTH 

I am still leaning towards that this is a bug, even though the ASA is running a newer version.

--
Please remember to select a correct answer and rate helpful posts
Review Cisco Networking products for a $25 gift card