Hi,
I'm wondering what a good way of terminating bgpd would be.
Context: OpenBSD box (5.8 GENERIC.MP#1236 amd64) running ospfd, bgpd, ...
When terminating bgpd (pkill bgpd), routes installed by bgpd are not
being removed from the routing table (this server is getting 4 full
views and a lot of peering sessions (see bgpctl show rib mem below)).
How to have the routes removed from the rib when the bgpd daemon is killed ?
Thanks
:bgpctl show rib mem:
RDE memory statistics
583225 IPv4 unicast network entries using 22.2M of memory
95527 IPv6 unicast network entries using 5.1M of memory
1355164 rib entries using 82.7M of memory
6696529 prefix entries using 409M of memory
1150903 BGP path attribute entries using 132M of memory
402714 BGP AS-PATH attribute entries using 21.8M of memory,
and holding 1150903 references
32147 BGP attributes entries using 1.2M of memory
and holding 3629437 references
32146 BGP attributes using 805K of memory
RIB using 674M of memory