Thursday, December 1, 2011

Troubleshooting Memory Problems

Memory fragmentation


Your router is facing an IO memory leak.  Don't focus on the fragmentation, it's only a side effect of the leak.  The main issue is that you're running out of IO memory and that's why you see MALLOCFAIL in Pool:I/O.

To troubleshoot this, collect 'show buffers'.  Look at which pool is heavily used (high 'total' number), then dump the packets in that pool with 'show buffer pool XXXX dump'.  We'll see what kind of packets are stuck in the buffers.

If you have a recent IOS, you can also use 'show memory debug leak' (will trigger a high CPU for a minute or so).

If you reload, memory will be cleared but we'll lose the information to troubleshoot the problem.

Only reload if you need to restore service quickly.  It won't fix the problem definitely.  The problem will come back later when the memory will be depleted again.

- show buffer pool Large dump
- show mem debug leak


Copy from: https://supportforums.cisco.com/thread/2053474

http://www.cisco.com/en/US/products/sw/iosswrel/ps1831/products_tech_note09186a00800a6f3a.shtml

No comments:

Post a Comment