Hi Thorleif Looks like you are hitting the openfiles limit. You'll need to edit /etc/login.conf and look at the
bgpd:\ :openfiles-cur=512:\ :tc=daemon: block. bgpd takes approx 30 files to run, then one per session. I would recommend bumping it up to 2048 for a route server. Then, make sure you are using rcctl or /etc/rc.d/bgpd to restart, as those tools will ensure the limits are correctly applied. On 2015 Nov 25 (Wed) at 17:08:27 +0100 (+0100), Thorleif Wiik [BCIX] wrote: :Hi, : :OpenBGPd on OpenBSD 5.8 (with all patches applied) is crashing during :startup. : :On a second box with 5.7 and the same hardware/configuration there are no :problems. :OpenBGPd is configured as route-server with 118 v4/v6 peers and about 35300 :IPv4 :and 14800 IPv6 routes. : : :Any tips for configuration changes to prevent this on 5.8? : :Nov 25 13:41:41 route-server bgpd[22856]: startup :Nov 25 13:41:41 route-server bgpd[22856]: rereading config :Nov 25 13:41:41 route-server bgpd[30006]: route decision engine ready :Nov 25 13:43:34 route-server bgpd[30006]: RDE reconfigured : :.. many many prefixes : :Nov 25 13:45:45 route-server bgpd[30006]: handle_pollfd: poll fd: No buffer :space available :Nov 25 13:45:45 route-server bgpd[30006]: RDE: Lost connection to SE :Nov 25 13:45:46 route-server bgpd[30006]: handle_pollfd: poll fd: No buffer :space available :Nov 25 13:45:46 route-server bgpd[30006]: RDE: Lost connection to SE control :Nov 25 13:45:46 route-server bgpd[22856]: handle_pollfd: poll fd: Invalid :argument :Nov 25 13:45:46 route-server bgpd[22856]: main: Lost connection to SE :Nov 25 13:45:46 route-server bgpd[22856]: Lost child: session engine :terminated; signal 11 :Nov 25 13:45:46 route-server bgpd[30006]: route decision engine exiting : : : :Thanks, Thorleif : : :-- :Thorleif Wiik, CTO :thorleif.w...@bcix.de : : Tel: +49 160 90378641 : :BCIX Management GmbH / BCIX e.V. :Stromstrasse 5 :10555 Berlin - Germany : :http://www.bcix.de/ :https://twitter.com/bcix <http://twitter.com/bcix> :https://www.facebook.com/BCIX.Internet.Exchange : -- bad.network