Project

General

Profile

Actions

Bug #4212

closed

unbound not starting on 12 CPU host

Added by Thomas Hilse almost 7 years ago. Updated almost 7 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
DNS Resolver
Target version:
Start date:
01/14/2015
Due date:
% Done:

100%

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

Description

In /etc/inc/unbound.inc
the unbound parameters 'msg_cache_slabs', 'rrset_cache_slabs', 'infra_cache_slabs', 'key_cache_slabs' are set to sysctl value 'kern.smp.cpus' (in our case 12).

These config values must be a power of 2. Starting unbound manually results in following error:

/var/unbound/unbound.conf:40: error: must be a power of 2
/var/unbound/unbound.conf:41: error: must be a power of 2
/var/unbound/unbound.conf:42: error: must be a power of 2
/var/unbound/unbound.conf:43: error: must be a power of 2
read /var/unbound/unbound.conf failed: 4 errors in configuration file

Actions #1

Updated by Thomas Hilse almost 7 years ago

I just saw, that this was already discussed in the pfsense forum:

https://forum.pfsense.org/index.php?topic=61659.msg333247#msg333247

Actions #2

Updated by Warren Baker almost 7 years ago

Thanks merged patch from the package would had this fixed (check https://github.com/pfsense/pfsense/pull/1439)

Actions #3

Updated by Warren Baker almost 7 years ago

  • Status changed from New to Feedback
  • % Done changed from 0 to 100
Actions #5

Updated by Thomas Hilse almost 7 years ago

It works. Thanks for the quick fix.

Actions #6

Updated by Renato Botelho almost 7 years ago

  • Status changed from Feedback to Resolved
Actions #7

Updated by Chris Buechler almost 7 years ago

  • Target version set to 2.2
Actions

Also available in: Atom PDF