Maintained by: NLnet Labs

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

W.C.A. Wijngaards
Tue Nov 9 17:14:13 CET 2010


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

Hi Sebastian,

On 11/09/2010 04:51 PM, Sebastian Nickel - Hetzner Online AG wrote:
> Hello,
> I tried to increase so-rcvbuf to 8m and to 16m. I changed
> net.core.rmem_max values in system, too.
> 
> I still see many of those lines in the log:

Usually EAGAIN means the device is busy, but I have never seen it happen
on send.  Attached a small patch, could you test this?  It sets
SO_SNDBUF to the same value as SO_RCVBUF, perhaps the output buffer is full?

If it gives permission denied, change SO_SNDBUF into SO_SNDBUFFORCE

Otherwise, netstat -su?  does it report send buffer overruns (or can it
possibly do so?).

Does a symmetric rcvbuf-sndbuf setting make sense (apart from this
test)?  Or do you need to be able to configure the sndbuf?  (question
only applicable if attachment solves problem :-)  ).

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

iEYEARECAAYFAkzZc1UACgkQkDLqNwOhpPgvxwCeK+HBCVmX+xtSHXkc4SISq+1c
dXMAoJJMoVg9l2ILsRUdvQSTLNnOb4yR
=mpmH
-----END PGP SIGNATURE-----
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patch_sndbuf_test.diff
URL: <http://unbound.nlnetlabs.nl/pipermail/unbound-users/attachments/20101109/d92f8fdf/attachment.ksh>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch_sndbuf_test.diff.sig
Type: application/pgp-signature
Size: 72 bytes
Desc: not available
URL: <http://unbound.nlnetlabs.nl/pipermail/unbound-users/attachments/20101109/d92f8fdf/attachment.pgp>