Description

In a dual routing-engine system with protocols ISIS and segment-routing enabled on the network,
the customer reported high memory utilization on the backup routing-engine compared to the master routing-engine 

 

 

Symptoms

High memory utilization on the backup routing-engine compares to the master routing-engine.
in this case RPD (Routing Process Daemon) size on the backup routing-engine was high compared to the RPD size in the master 
 
{master}
root@R1-re0> show task memory 
Jan 17 01:49:13
Memory                 Size (kB)  Percentage  When
  Currently In Use:       298791         13%  now
  Maximum Ever Used:      335258         15%  23/12/31 05:53:08
  Available:             2147484        100%  now

< -- backup-re 

{backup}
root@-re1> show task memory 
Memory                 Size (kB)  Percentage  When
  Currently In Use:      1329721         61%  now
  Maximum Ever Used:     1363816         63%  23/12/31 05:28:06
  Available:             2147484        100%  now

 

The high memory utilization is caused by memory leak in the function memory blocks isis_pfx_sid_ldata & isis_fapm_ldata in the backup routing-engine 

Master RE 

root@-re0> show task memory detail
<..>
  ------------------------ Allocator Memory Report ------------------------
<..>
  Name                 Size Alloc DTXP    Alloc     Alloc MaxAlloc  MaxAlloc
  isis_pfx_sid_ldata     20    24          1795     43080    54370   1304880
  isis_fapm_ldata        16    20           180      3600    13925    278500

Backup RE 

root@-re1> show task memory detail
<..>
  ------------------------ Allocator Memory Report ------------------------
<..>
  Name                 Size Alloc DTXP    Alloc     Alloc MaxAlloc  MaxAlloc
  isis_pfx_sid_ldata     20    24      30496869 731924856 30530617 732734808
  isis_fapm_ldata        16    20      15308018 306160360 15319436 306388720

 

Solution

This issue is fixed in via the pr 1785583 

 

Modification History

2024-02-15 : Article Created