Maintained by: NLnet Labs

[Unbound-users] Release of unbound 1.1.0

Wouter Wijngaards
Thu Nov 20 09:07:40 CET 2008


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

Aaron Hopkins wrote:
> On Wed, 19 Nov 2008, Aaron Hopkins wrote:
>> On CentOS 4.7 built via contrib/unbound.spec with only the version number
>> updated, unbound 1.1.0 stayed up for a little over an hour before dying
>> with:
>>
>>   error: accept failed: Resource temporarily unavailable
>>   fatal error: event_dispatch returned error -1, errno is Bad file
>>   descriptor
> 
> If anyone else is running into this and wants to keep running unbound
> 1.1.0,
> it looks like "do-tcp: no" is a sufficient temporary workaround,
> assuming you can live without TCP.

Hi Aaron,

The following two-line fix:

@@ -605,6 +605,8 @@
 	log_assert(fd != -1);
 	new_fd = comm_point_perform_accept(c, &c_hdl->repinfo.addr,
 		&c_hdl->repinfo.addrlen);
+	if(new_fd == -1)
+		return;

I am curious why you are getting the accept failure. What resource is
temporarily unavailable?  Is the kernel running out of TCP buffers? Is
there a problem with ulimit(number of files) ?

The above fix is in svn trunk for 1.1.1 release.

Best regards,
   Wouter
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkklGswACgkQkDLqNwOhpPgsRgCfXjsRLD6kOhCZGMq2+dOMNH4v
3JYAn3w/7cegI45ZNy+jo/1zV6dG0nN9
=BDw+
-----END PGP SIGNATURE-----