%SYS-2-MALLOCFAIL (Memory Allocation Failure)

Unanswered Question
Mar 17th, 2008

Hi everyone, I am configuring BGP on a 7507 router and %SYS-2-MALLOCFAIL message appeared few minutes after I started the routing protocol, The router is running

rsp-isv-mz.124-17.bin image file. What should I do to troubleshoot this issue?


Alejandro Serrano

I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Richard Burts Mon, 03/17/2008 - 13:29


It sounds to me as if the memory size requirement of the BGP routing table may be more than the memory of this router. How much memory does this router have? And how many BGP peers are configured? And most importantly how many routes are the peers advertising to you?

I would suggest using the command show memory and look in the first several lines of the display to find how much free memory the router has in processor memory. And use the command show ip bgp summary to find how many prefixes your peers have advertised to you.



marikakis Mon, 03/17/2008 - 15:20


Besides what Rick has said, in this particular router model you should make sure that any existing VIP cards have enough memory. The FIB in this router resides not only in the RSP, but is downloaded to the VIP linecards as well (for distributed switching to occur), so you must have adequate memory there for the router to work without issues.

Kind Regards,


p.s. If you estimate that you can afford it in terms of CPU, you could disable CEF (needs memory) temporarily, until you resolve the memory issue (that is trading CPU for memory). This can be risky however. You have 2 options: disable cef distributed (affects only linecard memory) or disable cef alltogether (normal and distributed).


This Discussion