Bug #4020
closedUnbound not compiled with libevent
100%
Description
It appears Unbound is not being compiled with libevent. With the following in unbound.conf:
num-queries-per-thread: 4096 num-threads: 8
which happens by default on a system with 8 cores, it'll fail to start with:
: unbound -c /var/unbound/unbound.conf [1416279801] unbound[87054:0] warning: too many file descriptors requested. The builtinmini-event cannot handle more than 1024. Config for less fds or compile with libevent [1416279801] unbound[87054:0] fatal error: too much tcp. not enough fds.
Updated by Chris Buechler about 10 years ago
- Status changed from New to Confirmed
Updated by Renato Botelho about 10 years ago
- Status changed from Confirmed to Assigned
- Assignee set to Renato Botelho
Today we are using unbound from base, which has no support for building with libevent. I'll work on moving it to use unbound from ports.
Updated by Warren Baker about 10 years ago
Thats what i wanted to do but Ermal felt that it should be left with base and modify the compile options in base to support using libevent.
Updated by Warren Baker about 10 years ago
Warren Baker wrote:
Thats what i wanted to do but Ermal felt that it should be left with base and modify the compile options in base to support using libevent.
that change, to use ports, was committed awhile back in tools but reverted.
Updated by Renato Botelho about 10 years ago
Unbound port built with libevent is marked BROKEN for FreeBSD 10+ due to an issue with capsicum, I reverted the commits to be able to check this problem before the move
Updated by Renato Botelho about 10 years ago
- Status changed from Assigned to Feedback
- % Done changed from 0 to 100
Applied in changeset f13df0e3f1bf45d8dab01805f757e623165c044f.
Updated by Renato Botelho about 10 years ago
- Status changed from Feedback to Assigned
Updated by Renato Botelho about 10 years ago
- Status changed from Assigned to Feedback
Applied in changeset cd7b929ac0ee324b96baabcd216cf303be937db7.
Updated by Renato Botelho about 10 years ago
- Status changed from Feedback to Assigned
Updated by Renato Botelho about 10 years ago
- Status changed from Assigned to Feedback
Applied in changeset 3ba077846e56459715e1f78a8e538797a890f49b.