System freezes with Bird running on FreeBSD 11.1

Clistenes Viana cviana at
Wed Jan 3 18:33:36 CET 2018

The System is freezing, it's fast 10 seconds I guess, but it's freezing
when scan run.
Also, the debug (routes or all) is disabled in our config.

About that you mencioned with relation the nontrivial additional
memory, have some place that can I check or provide some usefully
information from my system?

My Best Regards,
Clistenes Viana
Network Engineer
Vianet Telecomunicacoes e Internet Ltda

-------- Mensagem original --------

Data: Wed, 03 Jan 2018 17:31:11 +0100
Assunto: Re: System freezes with Bird running on FreeBSD 11.1
Cc: bird-users at <bird-users at>
Para: Clistenes Viana <cviana at>
De: Ondrej Zajicek <santiago at>
On Wed, Jan 03, 2018 at 12:02:24PM -0200, Clistenes Viana wrote:
> Following the outputs;
>  # netstat -nr4 | wc -l
>    688431
>  # time netstat -nr > /dev/null
>  3.474u 1.063s 0:04.57 99.1% 183+183k 0+0io 6pf+0w
>  3.519u 1.196s 0:04.71 99.7% 183+183k 0+0io 0pf+0w
>  3.468u 0.841s 0:04.31 99.7% 183+183k 0+0io 0pf+0w
>  3.492u 0.841s 0:04.33 100.0% 183+183k 0+0io 0pf+0w
>> More info about bird;


I tested that on Linux an FreeBSD 10, and for full BGP table
(680k routes) the scan took about 1.3 s on Linux and about
2.4 s on FreeBSD 10. Unfortunately i don't have FreeBSD 11
here now to test it.

Also it is 'system freeze' or just BIRD freeze?

There are two possible issues - logging and memory:

Enabling 'debug {routes}' or 'debug all' for Kernel protocol could slow
down the scan significantly.

Kernel table scan on BSD require a buffer for all routes, so it may
require some nontrivial additional memory during routing table scans.

Elen sila lumenn' omentielvo

Ondrej 'Santiago' Zajicek (email: santiago at
OpenPGP encrypted e-mails preferred (KeyID 0x11DEADC3,
"To err is human -- to blame it on a computer is even more so."


More information about the Bird-users mailing list