I'm "just" using 'pkill bgpd'
On 16/03/2016 11:26, Peter Hessler wrote:
Are you sending any specific signals to bgpd? Is it "just" `pkill bgpd`
or are you sending -6 or -9 (or others)?
Normally, I use `rcctl stop bgpd` or `/etc/rc.d/bgpd stop` depending on
how senile my finger memory is. In such cases, all routes are removed
from the kernel fib as bgpd stops running.
On 2016 Mar 15 (Tue) at 17:36:56 +0100 (+0100), Laurent CARON wrote:
: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
: