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

2821 High Memory Usage

Erico Verissimo
Level 1
Level 1

Hi everyone,

I am facing memory problem in cisco 2821. After some days working, the memory raises and reaches 99%, needing reload the router. 

***************************************************************************************************

ROM: System Bootstrap, Version 12.4(13r)T, RELEASE SOFTWARE (fc1)

Cisco 2821 (revision 53.51) with 249856K/12288K bytes of memory.

System image file is "flash:c2800nm-spservicesk9-mz.124-3i.bin"

****************************************************************************************************

labs-rt01.1-cinema#sh processes memory sorted
Processor Pool Total: 173648208 Used: 92008344 Free: 81639864
I/O Pool Total: 12582912 Used: 5202176 Free: 7380736

PID TTY Allocated Freed Holding Getbufs Retbufs Process
118 0 61282396 672 61202564 16400 0 DHCPD Receive
0 0 32537348 8489544 21812280 0 0 *Init*
0 0 41564772 34377156 7223576 2614724 0 *Dead*
209 0 850720 196 875504 0 0 CCAAL2_CT
203 0 743964 196 768748 0 0 CCSIP_SPI_CONTRO
207 0 390704 0 415684 0 0 RTPSPI
194 0 361156 196 367940 0 0 swmtp_msp
201 0 325292 196 350076 0 0 CCH323_CT
191 0 225836 196 235620 0 0 DSMP
133 0 424152 348 232044 0 0 FLEX DSPRM MAIN
208 0 170120 196 194904 0 0 CCFRF11_CT

****************************************************************************************************

labs-rt01.1-cinema#sh memory allocating-process totals
Head Total(b) Used(b) Free(b) Lowest(b) Largest(b)
Processor 44E656B0 173648208 92001396 81646812 80960796 78761204
I/O 3F400000 12582912 5202192 7380720 7362128 7380540


Allocator PC Summary for: Processor

PC Total Count Name
0x412946F4 61062428 931 MallocLite
0x420A05CC 4861712 1 Virtual Exec
0x40328B98 3906580 4379 *Packet Header*
0x4009D498 2055648 224 Process Stack
0x4208BA20 1323088 94 Init
0x422B5324 942864 6 pak subblock chunk
0x40EFED6C 849972 1 CCAAL2_CT
0x407CD014 566860 2436 USB Startup
0x421B9D4C 550352 49 TCL Chunks
0x411B5768 512052 1 Init
0x4101AA44 459776 256 CCSIP_SPI_CONTROL
0x40E47DB8 459116 7 BGP (0) update

**********************************************************************************************

Thanks for any help.

1 Accepted Solution

Accepted Solutions

Joseph W. Doherty
Hall of Fame
Hall of Fame

Disclaimer

The Author of this posting offers the information contained within this posting without consideration and with the reader's understanding that there's no implied or expressed suitability or fitness for any purpose. Information provided is for informational purposes only and should not be construed as rendering professional advice of any kind. Usage of this posting's information is solely at reader's own risk.

Liability Disclaimer

In no event shall Author be liable for any damages wha2tsoever (including, without limitation, damages for loss of use, data or profit) arising out of the use or inability to use the posting's information even if Author has been advised of the possibility of such damage.

Posting

There are certain configurations, that over time, will use much memory, and often exhaust it.  For example, Internet connected routers using a default route to an interface rather than the the next hop's IP.

Some IOS images also have memory leak bugs, you can review release notes and see if any are documented in your particular release (or you can just try moving to a later release).

View solution in original post

5 Replies 5

Joseph W. Doherty
Hall of Fame
Hall of Fame

Disclaimer

The Author of this posting offers the information contained within this posting without consideration and with the reader's understanding that there's no implied or expressed suitability or fitness for any purpose. Information provided is for informational purposes only and should not be construed as rendering professional advice of any kind. Usage of this posting's information is solely at reader's own risk.

Liability Disclaimer

In no event shall Author be liable for any damages wha2tsoever (including, without limitation, damages for loss of use, data or profit) arising out of the use or inability to use the posting's information even if Author has been advised of the possibility of such damage.

Posting

There are certain configurations, that over time, will use much memory, and often exhaust it.  For example, Internet connected routers using a default route to an interface rather than the the next hop's IP.

Some IOS images also have memory leak bugs, you can review release notes and see if any are documented in your particular release (or you can just try moving to a later release).

Hi Joseph,

I have changed the IOS and I am monitoring the memory.

Thanks so much!

Best regards.

Vinit Jain
Cisco Employee
Cisco Employee

If you are keen on knowing which process is leaking memory, you can try executing the command "show memory debug leak chunk". This command runs through the memory and helps figure out if a process is leaking memory.

Note: This command can cause service impact due to high CPU condition. So it is recommended to run this command during a main

Else, you can capture the show process memory sorted command at periodic intervals to understand the memory consumption of which process has increased over time.

Hope this helps.

Regards

Vinit

Thanks
--Vinit

Hi Vinit,

Thanks for your response. I have changed the IOS for later release, I have other router within this image and it doesn't have any problem. Now I will use this commands to monitor the memory consumption.

Best regards! and congratulation for your Webcast about BGP, awesome. 

Thanks Erico

Thanks
--Vinit