Bug #4212
closedunbound not starting on 12 CPU host
100%
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
       Updated by Thomas Hilse almost 11 years ago
      Updated by Thomas Hilse almost 11 years ago
      
    
    I just saw, that this was already discussed in the pfsense forum:
https://forum.pfsense.org/index.php?topic=61659.msg333247#msg333247
       Updated by Warren Baker almost 11 years ago
      Updated by Warren Baker almost 11 years ago
      
    
    Thanks merged patch from the package would had this fixed (check https://github.com/pfsense/pfsense/pull/1439)
       Updated by Warren Baker almost 11 years ago
      Updated by Warren Baker almost 11 years ago
      
    
    - Status changed from New to Feedback
- % Done changed from 0 to 100
Applied in changeset 46762efee6b66b86090bb54f0bbb3d593bf23cf3.
       Updated by Warren Baker almost 11 years ago
      Updated by Warren Baker almost 11 years ago
      
    
    Applied in changeset 9eec3be339805c5f276500331c410fa18cc9bd5f.
       Updated by Renato Botelho almost 11 years ago
      Updated by Renato Botelho almost 11 years ago
      
    
    - Status changed from Feedback to Resolved