[c-nsp] Memory leak in 124-7a?

Garry Glendown gkg at gmx.de
Sun Oct 8 08:38:06 EDT 2006


Oliver Boehmer (oboehmer) wrote:
> you need to narrow down which process is leaking memory, take a look at
> http://www.cisco.com/en/US/products/sw/iosswrel/ps1831/products_tech_not
> e09186a00800a6f3a.shtml#tshoot2 for some guidance. After you identified
> the process, take some snapshots of "show proc mem <pid>" and send them
> along with "show ver", or use the output interpreter as described in the
> doc.

OK, culprit seems to be some part of NAT:

0x60877AFC   11160800    2152  NAT String Chu

0x60877AFC   11194112    2162  NAT String Chu

"Show mem dead" lists a lot of "IPS sig" and not as many, but still good
amount of "IPS SDF Loader" entries, among others, for a total of
currently around 11MB.

I guess the chunk manager is the one still holding all that dead memory
... from a back-to-back call:

0x60877AFC   11266576    2176  NAT String Chu
[..]
Process ID: 1
Process Name: Chunk Manager
Total Memory Held: 11273548 bytes

Processor memory holding = 11273548 bytes
pc = 0x60877AFC, size =  11266576, count = 2176
pc = 0x60850C58, size =      6052, count =    1
pc = 0x608111A8, size =       724, count =    1
pc = 0x60813E4C, size =       196, count =    1

I/O memory holding = 0 bytes

I/O-2 memory holding = 0 bytes


-garry


More information about the cisco-nsp mailing list