[c-nsp] BGP dram confusion
Erik Klaassen
e.klaassen at fr-ix.nl
Mon Mar 16 09:59:21 EDT 2015
Thanks all for the input, realy appriciate it.
Of course a reboot freed the memory.
Thanks,
Erik
----- Oorspronkelijk bericht -----
Van: "Gert Doering" <gert at greenie.muc.de>
Aan: "Erik Klaassen" <e.klaassen at fr-ix.nl>
Cc: cisco-nsp at puck.nether.net
Verzonden: Vrijdag 13 maart 2015 17:37:23
Onderwerp: Re: [c-nsp] BGP dram confusion
Hi,
On Fri, Mar 13, 2015 at 10:46:19AM +0100, Erik Klaassen wrote:
> Why is
>
> #sh ip bgp sum:
> BGP using 64542178 total bytes of memory
>
> But
>
> #sh proc mem sorted
> PID TTY Allocated Freed Holding Getbufs Retbufs Process
> 496 0 873738484 270014880 507419984 0 0 BGP Router
>
> And thus the eating all the memory.
Typically, the CEF tables needed for BGP routes are charged to the BGP
process (in show proc mem), but BGP doesn't know that, so "show ip b su"
doesn't show it.
OTOH if you only have a default route, it should return the memory.
You might have run into one of the BGP "prefixes get stuck in limbo if
a peer that would receive them is down" bug - an upgrade might be worth
wile (if only for the number of security relevant upgrades in the last
few months).
gert
--
USENET is *not* the non-clickable part of WWW!
//www.muc.de/~gert/
Gert Doering - Munich, Germany gert at greenie.muc.de
fax: +49-89-35655025 gert at net.informatik.tu-muenchen.de
More information about the cisco-nsp
mailing list