Download raw body.
bgpd(8): set daemon_timeout higher?
On a tiny machine:
cpu0: AMD GX-412TC SOC, 998.19 MHz, 16-30-01, patch 07030105
cpu1: AMD GX-412TC SOC, 998.20 MHz, 16-30-01, patch 07030105
cpu2: AMD GX-412TC SOC, 998.47 MHz, 16-30-01, patch 07030105
cpu3: AMD GX-412TC SOC, 998.50 MHz, 16-30-01, patch 07030105
Checking the bgpd(8) configuration takes a fair bit of time:
$ time doas bgpd -n
configuration OK
3m37.67s real 1m30.83s user 2m06.92s system
It's slow because the configuration is large:
$ doas bgpd -nv | wc -l
715434
The config is large because of "include /var/db/rpki-client/openbgpd".
Then the daemon bumps into ${daemon_timeout} and rc.subr kills it.
Maybe bgpd(8) needs a bit more time to sort itself out?
Kind regards,
Job
Index: etc/rc.d/bgpd
===================================================================
RCS file: /cvs/src/etc/rc.d/bgpd,v
diff -u -p -r1.7 bgpd
--- etc/rc.d/bgpd 29 Aug 2022 19:14:25 -0000 1.7
+++ etc/rc.d/bgpd 29 Jun 2025 11:20:52 -0000
@@ -3,6 +3,7 @@
# $OpenBSD: bgpd,v 1.7 2022/08/29 19:14:25 ajacoutot Exp $
daemon="/usr/sbin/bgpd"
+daemon_timeout=300
. /etc/rc.d/rc.subr
bgpd(8): set daemon_timeout higher?