Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Unbound wont start in this config. (system tunables) pfsense 2.1.5

    Scheduled Pinned Locked Moved pfSense Packages
    2 Posts 2 Posters 1.0k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      Supermule Banned
      last edited by

      When increasing the kern.ipc.maxsockbuf to 167772016 then Unbound fails to start with this error:

      php: rc.start_packages: The command '/usr/pbi/unbound-amd64/sbin/unbound-control start' returned exit code '1', the output was '[1424033890] unbound[56404:0] error: bind: address already in use [1424033890] unbound[56404:0] fatal error: could not open ports'

      Anybody care to explain why since its the 16777216 is recommended on Freebsd when running 10gbe hardware.
      system_tunables_notworking.PNG
      system_tunables_notworking.PNG_thumb

      1 Reply Last reply Reply Quote 0
      • jimpJ
        jimp Rebel Alliance Developer Netgate
        last edited by

        Tunables recommended for FreeBSD in a server role often do not make sense for pfSense in a firewall role. The nature of connections and traffic are completely different.

        Tunables shouldn't be added or changed unless the implications are properly understood for all of them. There isn't a "one size fits all" list of tunables to be applied. We set things by default that are good to have, and others may be tweaked but unless there is a reason for doing so, don't apply values that are "recommended" for other configurations.

        That said, the error you see would likely also happen to Unbound on FreeBSD in the same configuration.

        Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

        Need help fast? Netgate Global Support!

        Do not Chat/PM for help!

        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.