[c-nsp] Where did the memory go ? SYS-2-MALLOCFAIL

Oliver Boehmer (oboehmer) oboehmer at cisco.com
Fri Feb 24 10:13:28 EST 2006


Bas <> wrote on Friday, February 24, 2006 3:51 PM:

> Hi all,
> 
> I've looked around but cant find an explanation.
> 
> -------------
> R1#sh diags 4 | i SLOT|Mem
> SLOT 4  (RP/LC 4 ): 4 Port ISE Gigabit Ethernet
>         Processor Memory: MEM-LC-ISE-256=
>         Packet Memory: MEM-LC1-PKT-512=(Non-Replaceable)
>   Processor Memory size: 268435456 bytes
>   TX Packet Memory size: 268435456 bytes, Packet Memory pagesize:
>   16384 bytes RX Packet Memory size: 268435456 bytes, Packet Memory
> pagesize: 16384 bytes -------------
> 
> Then
> 
> -------------
> SBP-R1#execute-on slot 4 sh mem free | e 00000
> ========= Line Card (Slot 4) =========
> 
>                Head     Total(b)     Used(b)     Free(b)   Lowest(b) 
> Largest(b) Processor   443A0AC0   174454080   152480916    21973164  
> 21969144    21926716 -------------
> 
> 268435456 - 174454080 = 93981376
> 
> Where are those ~90MBs of memory?
> With my SIP600 I do not see a difference in total memory.

can you do an "exec slot 4 show region"? This shows the memory regions,
and only "main:heap" is what is shown in the "Total" column. Why is 90
MB allocated to something else? Not sure, show region will tell. It does
sound like a bit much.

> 
> Reason I ask is that I tried to configure multipath EBGP with one of
> our transit carriers. Once the second full table was loaded all 4GE
linecards stopped forwarding. 

This is due to the added FIB/CEF memory for your load-sharing structures
(check "show ip cef sum" before and after) for every load-shared prefix.


You also want to watch your LC's ASIC forwarding memory as we also store
the load-infos there.. Depending on the LC engine and other features, it
can get tight. 

	oli



More information about the cisco-nsp mailing list