Bird 2.0.0 memory leak

Miłosz Oller milosz at sys-com.pl
Sat Dec 16 08:14:39 CET 2017


Hi

After bird starts:

bird> show memory
BIRD memory usage
Routing tables:    598 MB
Route attributes:  161 MB
Protocols:         306 kB
Total:             759 MB


After next ~5mins:

bird> show memory
BIRD memory usage
Routing tables:   1534 MB
Route attributes:  161 MB
Protocols:         306 kB
Total:            1696 MB


Config with 17 sessions and one iBGP:

one of sessions:

protocol bgp bgp_atm_pl_backup {
     description "ATM Peering.PL Backup";
#    import all;
ipv4 { import all; };
ipv6 { import all; };
     ipv4 { export filter ipv4_export; };
     local as 198611;
     neighbor 212.91.2.1 as 24748;
     source address 212.91.1.42;
#    default bgp_local_pref 110;
}


Miłosz

W dniu 16.12.2017 o 00:44, Ondrej Zajicek pisze:
> On Fri, Dec 15, 2017 at 03:42:03PM +0000, Rhys Williams wrote:
>> Hey,
>>
>> I am also seeing this memory leak on Ubuntu 16.04, kernel 4.10.0-36.
>>
>> The memory leak seems to occur when the scan timer lapses on the kernel protocol leaking about the full tables worth of memory each time until eventually bird is oom killed.
> This patch should fix it.
>
>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4262 bytes
Desc: Kryptograficzna sygnatura S/MIME
URL: <http://trubka.network.cz/pipermail/bird-users/attachments/20171216/1e3aacbc/attachment.p7s>


More information about the Bird-users mailing list