unbound: notice: sendto failed: No buffer space available
unbound: notice: remote address is .... port 53
OS: FreeBSD 12.0
unbound 1.8.3
The number next to "dropped due to full socket buffers"
in the output of "netstat -s -p udp"
does not increase when this happens, so I assume it is not related to UDP but about outbound TCP queries?
so far I tried:
1) so-sndbuf: 4m + related kern.ipc.maxsockbuf sysctl setting (UDP)
What I think happens is that this is so-sndbuf for UDP packets, and the
so-sndbuf option solves it. But you already use that so I do not know
any further. Where you could look further is in the sendto(2) system
call documentation, for UDP packets, when it gives this ENOBUFS error
code. The FreeBSD documentation suggest two causes for this error code,
one it that there was not enough memory for a buffer, and the second
that the network interface has stopped sending and it is full.
What I think happens is that this is so-sndbuf for UDP packets, and the
so-sndbuf option solves it. But you already use that so I do not know
any further.
I increased so-sndbuf to as far as 12m but the issue persists.
Where you could look further is in the sendto(2) system
call documentation, for UDP packets, when it gives this ENOBUFS error
code. The FreeBSD documentation suggest two causes for this error code,
one it that there was not enough memory for a buffer
is this exclusively about so-sndbuf or potentially also about other buffers?
, and the second
that the network interface has stopped sending and it is full.
since both cases have the same error message (ENOBUFS) I guess
there is no way to tell these cases apart, right?