OPNsense Forum

Archive => 15.7 Legacy Series => Topic started by: pierrefrancois on August 18, 2015, 05:11:12 pm

Title: [SOLVED] unbound issue
Post by: pierrefrancois on August 18, 2015, 05:11:12 pm
Hi,

not sure in which categorie I should post this one but I have found that unbound is generating an error every time I restart it :

warning: too many file descriptors requested. The builtinmini-event cannot handle more than 1024. Config for less fds or compile with libevent.

It's not a blocking issue as it's been working fine at the moment.
Title: Re: unbound issue
Post by: franco on August 19, 2015, 01:42:10 pm
This seems to be on FreeBSD 10.2 as well: https://unbound.net/pipermail/unbound-users/2008-August/000166.html

I'm opening a ticket, need to decide which direction to go (use unbound from ports with libevent or modify source tree like the email suggests).

Thanks :)

https://github.com/opnsense/src/issues/8
Title: Re: unbound issue
Post by: weust on August 19, 2015, 02:56:32 pm
That mail is from 2008. Does this mean it's a 7 year old issue?
Title: Re: unbound issue
Post by: franco on August 19, 2015, 03:42:44 pm
Whoops, I misread 1.0.2, thanks for pointing that out. Looks like it is still there for one reason or another. It's a start. :D
Title: Re: unbound issue
Post by: pierrefrancois on August 19, 2015, 06:04:05 pm
Hi, sorry it seems to be a duplicate from a report in the deutsch section, and there's a github ticket also:
https://github.com/opnsense/core/issues/244

I'm not sure which unbound is used in opnsense but in the freebsd handbook 28.7.2, they do not recommend using the base unbound and recommend usage of unbound from the port collection. Not sure if this the issue is related here.
https://www.freebsd.org/doc/handbook/network-dns.html
Title: Re: unbound issue
Post by: franco on August 20, 2015, 10:54:16 am
Thanks for diggin in, I think going with ports unbound is fine. I'll try to squeeze that into one of the next releases. :)
Title: Re: unbound issue
Post by: franco on August 20, 2015, 04:16:13 pm
15.7.10 test package will have unbound from ports as opposed to base. Looking for feedback as soon as 15.7.10 is out early next week. :)
Title: Re: unbound issue
Post by: pierrefrancois on August 24, 2015, 08:55:58 am
Thanks, I will report as soon as I get 15.7.10
Title: Re: unbound issue
Post by: pierrefrancois on August 25, 2015, 05:26:18 pm
Still the same unfortunately.
warning: too many file descriptors requested. The builtinmini-event cannot handle more than 1024. Config for less fds or compile with libevent
Title: Re: unbound issue
Post by: franco on August 25, 2015, 07:20:30 pm
Okay, can easily switch to libevent now anyway. I'll provide a test package in a bit.
Title: Re: unbound issue
Post by: franco on August 25, 2015, 07:31:51 pm
Are you using amd64/i386/OpenSSL/LibreSSL ?
Title: Re: unbound issue
Post by: pierrefrancois on August 26, 2015, 09:37:10 am
amd64/openssl
Title: Re: unbound issue
Post by: franco on August 26, 2015, 01:20:21 pm
We're pusing 15.7.11 a lot faster than expected (namely: tomorrow), unbound will be updated to use LIBEVENT as well. Almost there now. :)
Title: Re: unbound issue
Post by: pierrefrancois on August 27, 2015, 04:47:26 pm
Solved  :)

Title: Re: [SOLVED] unbound issue
Post by: franco on August 27, 2015, 08:13:59 pm
Brilliant, thanks for your help!! :)