[c-nsp] Possible BGP memory leak?

omar parihuana omar.parihuana at gmail.com
Fri Aug 24 18:22:03 EDT 2007


Try...

sh ip route summary

You get the total memory used by routing table...


On 8/20/07, Ed Ravin <eravin at panix.com> wrote:
>
> On a 7513 router running 12.0(S), we're running rather low on memory.
> Yes, I know of the futility of fitting two full Internet feeds into 256M,
> and I'm working on that, but in the meantime, this looks weird:
>
> Router# show proc mem | inc Hold|BGP
> PID TTY  Allocated      Freed    Holding    Getbufs    Retbufs Process
> 151   0  320352144  140361924  178607164          0          0 BGP Router
> 152   0     328008     619156       6984          0          0 BGP I/O
> 153   0          0     673324       9984          0          0 BGP Scanner
>
> Is the "BGP Router" process really holding 178 MB of memory?  Why does it
> only seem to be 51 MB in the listing below?
>
>
> Router# show ip bgp summary
> [...]
> 185673 network entries using 20981049 bytes of memory
> 369703 path entries using 19224556 bytes of memory
> 73675/35141 BGP path/bestpath attribute entries using 9725100 bytes of
> memory
> 63197 BGP AS-PATH entries using 1662392 bytes of memory
> 4 BGP community entries using 96 bytes of memory
> 0 BGP route-map cache entries using 0 bytes of memory
> 0 BGP filter-list cache entries using 0 bytes of memory
> BGP using 51593193 total bytes of memory
> BGP activity 522211/336538 prefixes, 1394152/1024449 paths, scan interval
> [...]
>
>
> _______________________________________________
> cisco-nsp mailing list  cisco-nsp at puck.nether.net
> https://puck.nether.net/mailman/listinfo/cisco-nsp
> archive at http://puck.nether.net/pipermail/cisco-nsp/
>



-- 
Omar E.P.T
-----------------
Certified Networking Professionals make better Connections!


More information about the cisco-nsp mailing list