No Buffer Space available Unbound 1.4.21

Greetings to all,

I have been using unbound combined with NSD for almost two years now
with no issue.
I am still running on OS X 10.9.1 :slight_smile: Last night I had an issue with
clients connections to the net being very sluggish. This is what I have
in the logs:

08/02/2014 02:13:36.495 unbound[1030]: [1030:3] notice: sendto failed:
No buffer space available

This is the first time after two years of running like a champ. I troll
the net and found only one ref to this issue

http://unix.derkeiler.com/Mailing-Lists/FreeBSD/performance/2003-07/0018.html

Unfortunately, that did not solve the problem for me. Since I am really
stumped as far as what could be causing the issue, I am asking for help.

Thanking you in advance.

zongo saiba

Hi Zongo,

Greetings to all,

I have been using unbound combined with NSD for almost two years
now with no issue. I am still running on OS X 10.9.1 :slight_smile: Last night
I had an issue with clients connections to the net being very
sluggish. This is what I have in the logs:

08/02/2014 02:13:36.495 unbound[1030]: [1030:3] notice: sendto
failed: No buffer space available

This is the first time after two years of running like a champ. I
troll the net and found only one ref to this issue

http://unix.derkeiler.com/Mailing-Lists/FreeBSD/performance/2003-07/0018.html

Unfortunately, that did not solve the problem for me. Since I am
really stumped as far as what could be causing the issue, I am
asking for help.

Well the FreeBSD buffer space improvements would not work on OSX I
guess. You would need to increase the buffer space available to
unbound on your system. Or you should decrease the
num-queries-per-thread that would make unbound use less buffer space
and handle less queries at the same time.

There may be better guides out there for increasing network buffer
space on OSX. Sendto is for the UDP buffers. A search reveals this
link, but I do not know if that would work (the sysctl lines):
http://serverfault.com/questions/102904/how-do-i-increase-the-buffer-size-for-domain-sockets-in-os-x-10-6

Best regards,
   Wouter