Project

General

Profile

Actions

Bug #4212

closed

unbound not starting on 12 CPU host

Added by Thomas Hilse over 9 years ago. Updated over 9 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

Also available in: Atom PDF