unbound error message in log (26.07)
-
Greetings.
I started exploring system logs of my Netgate device because my network started hanging and some devices reported that DNS is down. I found this kind of message appearing in system log on a regular basis:
Aug 16 21:16:30 php-fpm 614 NOTICE The command '/usr/local/sbin/unbound -c /var/unbound/unbound.conf' returned exit code '1', the output was '[1786904190] unbound[10721:0] warning: setsockopt(..., SO_SNDBUF, ...) was not granted: No buffer space available [1786904190] unbound[10721:0] warning: so-sndbuf 4194304 was not granted. Got 57344. To fix: start with root permissions(linux) or sysctl bigger net.core.wmem_max(linux) or kern.ipc.maxsockbuf(bsd) values. or set so-sndbuf: 0 (use system value). [1786904190] unbound[10721:0] error: bind: address already in use [1786904190] unbound[10721:0] fatal error: could not open ports'Could this be related to DNS not being available?
I am running DNS resolver with DNSSEC on. I think other DNS settings are system defaults.
-
@jarmo dnssec is default. But yeah kind of hard to answer dns when it can not listen for someone to ask it something.
bind: address already in use [1786904190] unbound[10721:0] fatal error: could not open ports'
Kill all your unbound processes - and restart it. Or look to what else is listening on port 53.
Copyright 2026 Rubicon Communications LLC (Netgate). All rights reserved.
Privacy Policy · Cookie Policy
Privacy Policy · Cookie Policy