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

    (Solved) Can't make config changes to Unbound

    Scheduled Pinned Locked Moved DHCP and DNS
    6 Posts 3 Posters 549 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.
    • ?
      A Former User
      last edited by A Former User

      I'm having an issue with memory. specifically getswapspace failed. I was able to track it down to Unbound with high memory usage. However, anytime I try to change settings to DNS resolver I'm forced to reboot pfsense because the gui is unreponsive, as well as the shell.

      I tried to disable DNS resolver but that also made everything unresponsive. I'm not too sure what to do at this point...

      GertjanG 2 Replies Last reply Reply Quote 0
      • ?
        A Former User
        last edited by

        Uncheck "Enable TLD" in DNSBL seems to have reduced memory consumption and I can now make changes without crashing.

        1 Reply Last reply Reply Quote 0
        • GertjanG
          Gertjan @A Former User
          last edited by

          @angdigi said in Can't make config changes to Unbound:

          I was able to track it down to Unbound with high memory usage

          What is the pfSense version ?

          No "help me" PM's please. Use the forum, the community will thank you.
          Edit : and where are the logs ??

          ? 1 Reply Last reply Reply Quote 0
          • ?
            A Former User @Gertjan
            last edited by

            @gertjan

            2.4.4-RELEASE-p2 (amd64)
            built on Wed Dec 12 07:40:18 EST 2018
            FreeBSD 11.2-RELEASE-p6

            1 Reply Last reply Reply Quote 0
            • GertjanG
              Gertjan @A Former User
              last edited by

              @angdigi said in Can't make config changes to Unbound:

              specifically getswapspace failed

              cat /etc/fstab
              ?
              swapinfo
              ?

              No "help me" PM's please. Use the forum, the community will thank you.
              Edit : and where are the logs ??

              1 Reply Last reply Reply Quote 0
              • RonpfSR
                RonpfS
                last edited by RonpfS

                When you save DNS Resolver Settings, it run unbound-checkconf before returning with the Apply Settings button.

                When you have too many DSNBL tables, unbound will grab all memory and won't stop until you kill -9 unbound. Rebooting will do the same.

                Remove big DNSBL URLs (on my 8GB box, I have around 1.1-1.2 millions DNSBL entries), monitor memory usage with Status Monitoring. TLD is intended to remove DNSBL entries with wildcard domains, but that also taxes the memory system.

                .

                2.4.5-RELEASE-p1 (amd64)
                Intel Core2 Quad CPU Q8400 @ 2.66GHz 8GB
                Backup 0.5_5, Bandwidthd 0.7.4_4, Cron 0.3.7_5, pfBlockerNG-devel 3.0.0_16, Status_Traffic_Totals 2.3.1_1, System_Patches 1.2_5

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