Actions
Bug #4212
closedunbound not starting on 12 CPU host
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