Maintained by: NLnet Labs

[Unbound-users] Errors in log

Wouter Wijngaards
Mon Jul 14 09:15:51 CEST 2008


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

Anatoliy Kushner wrote:
| Hmm, i rebuild unbound without libevent,
| now in log too match errors :
|
| [1214846912] unbound[4145:3] error: recvfrom failed: Bad file number
| [1214846912] unbound[4145:3] error: recvfrom failed: Bad file number
| [1214846912] unbound[4145:3] error: recvfrom failed: Bad file number
| [1214846913] unbound[4145:3] error: recvfrom failed: Bad file number
| [1214846913] unbound[4145:3] error: recvfrom failed: Bad file number
| [1214846913] unbound[4145:3] error: recvfrom failed: Bad file number
| [1214846913] unbound[4145:3] error: recvfrom failed: Bad file number
| [1214846913] unbound[4145:3] error: recvfrom failed: Bad file number
| [1214846913] unbound[4145:3] error: recvfrom failed: Bad file number
| [1214846913] unbound[4145:3] error: recvfrom failed: Bad file number
| [1214846913] unbound[4145:3] error: recvfrom failed: Bad file number
| [1214846914] unbound[4145:3] error: recvfrom failed: Bad file number
| [1214846914] unbound[4145:3] error: recvfrom failed: Bad file number
| [1214846914] unbound[4145:3] error: recvfrom failed: Bad file number
| [1214846914] unbound[4145:3] error: recvfrom failed: Bad file number
| [1214846914] unbound[4145:3] error: recvfrom failed: Bad file number
| [1214846914] unbound[4145:3] error: recvfrom failed: Bad file number
| [1214846914] unbound[4145:3] error: recvfrom failed: Bad file number
| [1214846914] unbound[4145:2] error: accept failed: Resource
| temporarily unavailable
| [1214846914] unbound[4145:1] error: accept failed: Resource

Hi Anatoliy,

Could this be a ulimit (open files) problem? what is `ulimit -n` ?

You could try to increase the limit on file descriptors, perhaps it is
running out of them. 1024 (the default for linux, coincidentally) should
be enough.

If that fails, then please tell me what version of Solaris are you using
(opensolaris, 9, 10, .. ?; `uname -a`). Also, run could you run unbound
with verbosity set to the maximum (4) and email me the (compressed)
output directly? Better not send that huge logfile to the mailing list.

Also include your configuration file for unbound, that may help too.

For what it's worth, I have unbound running on Solaris/sparc here just
fine ...

Best regards,
~   Wouter

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkh6/ScACgkQkDLqNwOhpPgy/ACeNnyH25tpSeUNrAB0tKUBNH0m
k/MAnj9oSNYf6bPftOyU25OqubpwkohK
=Wa2h
-----END PGP SIGNATURE-----