Maintained by: NLnet Labs

[Unbound-users] Resource temporarily unavailable and query problem with unbound

W.C.A. Wijngaards
Thu Nov 11 08:06:23 CET 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Sebastian,

I am happy that you found a solution.

On 11/10/2010 04:46 PM, Sebastian Nickel - Hetzner Online AG wrote:
> I tried "netstat -su" and it showed me many UDP send buffer errors. So I
> tried to set "net.core.wmem_max" to 8388608 (8m). It did not help. 

So it is the send buffer.

> One last question:
> If I use "so-rcvbuf: 8m" in unbound.conf does this only set the
> appropiate kernel variables (like I did with sysctl) or is the value
> "8m" used in some calculations inside unbounds code, too?

No, it only uses the 8m to set a parameter on the socket itself (that
overrides the kernel variable).

Your sysctl values seem to be about setting the send buffer as well, and
perhaps the socket parameter call for the send buffer could be useful;
so that only that socket gets the large send buffer; not all of them (OK
you have 12G :-) ).

Best regards,
   Wouter
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iEYEARECAAYFAkzble8ACgkQkDLqNwOhpPgtuQCeKGEq2CZjHNmUWHvBWqcu5c64
Ci0AoIF+X4Rp+nyblxXhsDrKJzKRWkSF
=TF9T
-----END PGP SIGNATURE-----