11-26-2013 09:35 PM - edited 03-07-2019 04:48 PM
Hi,
We have 2 Catalyst 6509 switch, one of switch have memory leak problem. Last 3 months the free process memory decrease from 72% to 68%. ( no problem at the other one switch ). I check and compare two switch "show proc mem" and find the "dead" process hold more memory.
Attachment is "show process memory" and "show memory dead", The IOS version is 12.2(33)SXI4a.
Please help to identify the problem
Many Thanks,,
Jackson
11-27-2013 06:48 AM
Hi,
Have a look at this doc for some troubleshooting tips. Also, SXI4a is pretty old and have had its share of issues. You may want to upgrade to SXJ.
The *dead* process is not a real process. It's there to account for the memory allocated under the context of another process which has terminated. The memory allocated to this process is reclaimed by the kernel and returned to the memory pool by the router itself when required. This is the way IOS handles memory. A memory block is considered as dead if the process which created the block exits (no longer running). Each block keeps track of the address and pid of the process which created it. During periodic memory tallying, if the process that the scheduler finds out from a block pid does not match the the process that the block remembered, the block is marked as dead.
Therefore, memory marked as belonging to process *Dead* was allocated under the control of a process that no longer runs. It is normal to have a significant chunk of memory in such a state. Here is an example:
http://www.cisco.com/en/US/products/sw/iosswrel/ps1831/products_tech_note09186a00800a6f3a.shtml
HTH
11-28-2013 10:30 PM
Hi,
Is there any method to release memory the "dead" process hold to memory pool ( except reboot )?
Best Regards,
11-28-2013 10:54 PM
HI Jacjson.
Check this out:
http://www.cisco.com/en/US/docs/switches/lan/catalyst6500/ios/12.2SX/release/notes/caveats_SXI.html
Trubleshooting memory problems:
http://www.cisco.com/en/US/products/sw/iosswrel/ps1831/products_tech_note09186a00800a6f3a.shtml
Regards
Dont forget to rate helpful posts.
11-28-2013 11:04 PM
Hi,
Can you mention me which bug we hit?
Best Regards,
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide