Description

Memory leak is observed in Multi-protocol Label Switching (MPLS) Layer3 and labelled routes scenario when Border Gateway Protocol (BGP) with multipath is configured. Multiple route changes and deletion overtime that triggers this memory leak can lead the rpd to run out of memory.


Symptoms

lab> show system processes extensive 
last pid: 56500;  load averages:  0.25,  0.37,  0.38  up 55+08:16:14    15:35:09
403 threads:   5 running, 364 sleeping, 34 waiting
CPU:  4.6% user,  0.0% nice,  1.2% system,  0.3% interrupt, 93.9% idle
Mem: 7477M Active, 10G Inact, 12G Laundry, 1233M Wired, 531M Buf, 682M Free
Swap: 3072M Total, 3072M Used, 364K Free, 99% Inuse

It was noticed that most memory usage was by rpd MPLS-LIB.

lab>show task memory detail | no-more

-------------------------- Malloc Usage Report --------------------------
  Name                      Allocs     Bytes MaxAllocs  MaxBytes  FuncCalls

MPLS-LIB                167924954 8060397968 167924956 8060398064 14984661572


Solution

Issue is fixed in below versions:


EvoJunos
21.4R3-S4-EVO21.4R3-S2-J16
22.1R3-S3-EVO21.4R3-S2-J22
22.2R3-S1-EVO21.4R3-S4
22.3R3-EVO21.4R3-S5
22.3X50-EVO21.4R3-S6
22.3X80-D38-EVO22.1R3-S3
22.3X80-D39-EVO22.2R3-J7
22.4R2-EVO22.2R3-S1
22.4R3-EVO22.3R3
23.1R2-EVO22.4R2
23.2R1-EVO22.4R3
23.3R1-EVO22.4R3-S1
23.1R2
23.2R1
23.3R1
24.2R2


Modification History

2024-10-31 : Article Created