Guest

Preview Tool

Cisco Bug: CSCuq77535 - ppp_ma memory leak in vpdn_user_attrs_hash_add_or_setup()

Last Modified

May 10, 2018

Products (8)

  • Cisco Carrier Routing System
  • Cisco ASR 9922 Router
  • Cisco IOS XR Software
  • Cisco ASR 9010 Router
  • Cisco ASR 9904 Router
  • Cisco ASR 9006 Router
  • Cisco ASR 9001 Router
  • Cisco ASR 9912 Router

Known Affected Releases

5.1.1.BASE

Description (partial)

Symptom:
A router running IOS-XR software may report a memory alarm such as the following:

WARNING! MEMORY IS IN MINOR STATE

The following show commands will indicate the memory on the RP/RSP is being exhausted by ppp_ma

RP/0/RP0/CPU0:ios#Show watchdog memory-state
 
Memory information:
    Physical Memory: 12288     MB
    Free Memory:     1319.476 MB
    Memory State:         Normal

RP/0/RP0/CPU0:ios#Show process memory
 

JID          Text       Data      Stack    Dynamic Process
------ ---------- ---------- ---------- ---------- -------
377        561152     225280     131072  180670464 ppp_ma

The largest offenders may be the following:

RP/0/RP0/CPU0:ios#show memory heap dllname <jid of ppp_ma> 
Block Allocated List:
Total      Total      Block      Name/ID/Caller
Usize      Size       Count
0x068e0e00 0x06a849d8 0x00034707  0x0c1c72de ppsm_rpc_decode
0x068e0a00 0x06a84410 0x00034705  0x0c96965b vpdn_user_attrs_hash_add_or_setup


RP/0/RP1/CPU0:ios#show memory heap dllname 377 location 0/RP0/CPU0

Malloc summary for pid 532697 process ppp_ma:
  Heapsize 274432: allocd 236564, free 32976, overhead 4892, high watermark 274432
  Calls: mallocs 1167490; reallocs 3; frees 1167074; [core-allocs 11; core-frees 1]
Block Allocated List:
Total      Total      Block      Name/ID/Caller
Usize      Size       Count
0x0001e000 0x0001e008 0x00000001  0x08613f55 chk_lwm_process_sync
0x00006000 0x00006010 0x00000002  0x086082a9 chk_shmheap_seg_open

Conditions:
IOS XR 5.1.1

BNG PPP subscriber configuration.
Bug details contain sensitive information and therefore require a Cisco.com account to be viewed.

Bug Details Include

  • Full Description (including symptoms, conditions and workarounds)
  • Status
  • Severity
  • Known Fixed Releases
  • Related Community Discussions
  • Number of Related Support Cases
Bug information is viewable for customers and partners who have a service contract. Registered users can view up to 200 bugs per month without a service contract.