Project

General

Profile

Actions

Bug #4020

closed

Unbound not compiled with libevent

Added by Chris Buechler about 10 years ago. Updated about 10 years ago.

Status:
Resolved
Priority:
High
Category:
DNS Resolver
Target version:
Start date:
11/17/2014
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
2.2
Affected Architecture:

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.

Actions #1

Updated by Chris Buechler about 10 years ago

  • Status changed from New to Confirmed
Actions #2

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.

Actions #3

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.

Actions #4

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.

Actions #5

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

Actions #6

Updated by Renato Botelho about 10 years ago

  • Status changed from Assigned to Feedback
  • % Done changed from 0 to 100
Actions #7

Updated by Renato Botelho about 10 years ago

  • Status changed from Feedback to Assigned
Actions #8

Updated by Renato Botelho about 10 years ago

  • Status changed from Assigned to Feedback
Actions #9

Updated by Renato Botelho about 10 years ago

  • Status changed from Feedback to Assigned
Actions #10

Updated by Renato Botelho about 10 years ago

  • Status changed from Assigned to Feedback
Actions #11

Updated by Chris Buechler about 10 years ago

  • Status changed from Feedback to Resolved

fixed

Actions

Also available in: Atom PDF