[Unbound-users] FreeBSD + Unbound 1.0.2 error: too many file descriptors requested

Wouter Wijngaards wouter at NLnetLabs.nl
Mon Aug 18 13:59:02 UTC 2008

Hash: SHA1

Robert Edmonds wrote:
> Wouter Wijngaards wrote:
>> There is also libev (http://dist.schmorp.de/libev/libev-3.43.tar.gz),
>> that aims to provide an alternative libevent-API implementation (author
>> says it is faster). Quick compile test on a linux machine: ./configure;
>> make on libev-3.43, then ./configure --with-libevent=<thelibevbuilddir>
>> and that seems to work fine. It can be an alternative.
> hi, Wouter and Norbert:
> I happen to be the debian maintainer responsible for both unbound and
> libev.  I'd be interested in hearing if I should configure unbound with
> libev by default, or if I should provide multiple unbound packages
> configured with different event libs a la the apache2-mpm-* packages.

If they both crash, without any libev/libevent, but using the builtin.

The builtin select has a 1024 filedescriptor limit, which is Norbert's
problem ; he wants more. And the available choices for that are:

o compile without pthreads, no shared memory, but the forked processes
each have 1024 file descriptors. (set num-threads: 4 as usual, but
instead of threads unbound will fork processes).
o compile with libevent. Choice of backends (system-specific or poll).
o compile with libev. Also multiple backends.

Best regards,
Version: GnuPG v1.4.9 (GNU/Linux)


More information about the Unbound-users mailing list