Page MenuHomeVyOS Platform

bgpd eats huge amount of memory (about 500Megs a day)
Closed, ResolvedPublicBUG

Description

Hello, we have a problem I`ve recentrly described on VyOS forum

https://forum.vyos.io/t/seems-bgpd-process-consumes-a-lot-of-memory-or-memory-leak/9285/1

in short, when bgp starts, it eats a bit more 400M memory. After a day - consumed memory reaches 1Gig.
After 5-6 days, consumed memory reaches 3,5 - 4.0 Gigs and continues with growing.

Some outputs has provided in forum thread. If you need additional outputs/info, please ask.

Regards,
Olev

Details

Difficulty level
Unknown (require assessment)
Version
VyOS 1.4-rolling-202208020809
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Unspecified (possibly destroys the router)
Issue type
Bug (incorrect behavior)

Event Timeline

Need an advice guys, how we can reproduce the problem. I tried to peer with bird and announced 100k prefixes to the vyos box, but this simple config did not cause memory leak with bgpd. Still trying

dmbaturin claimed this task.
dmbaturin added a subscriber: dmbaturin.

The problem was resolved in the forum. Whether the underlying cause in FRR was resolves is another question...