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

    Unbound crashes periodically with signal 11

    Scheduled Pinned Locked Moved 2.5 Development Snapshots (Retired)
    105 Posts 36 Posters 32.7k 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.
    • C
      cnaumer @jimp
      last edited by

      @jimp : I can confirm that the new version fixes it for us.

      1 Reply Last reply Reply Quote 1
      • G
        gorgonbert @Salander27 0
        last edited by

        @salander27-0 fixed it for me too... thank you

        1 Reply Last reply Reply Quote 0
        • S
          slu @jimp
          last edited by

          @jimp

          thank you Jim.
          This open and direct communication is really awesome!

          pfSense Gold subscription

          1 Reply Last reply Reply Quote 0
          • J
            johnt
            last edited by

            Fixed for me too, 24hrs with no unbound restarts... ๐Ÿ˜ƒ

            1 Reply Last reply Reply Quote 1
            • J
              jmkofoed
              last edited by

              Hi

              After installing unbound-1.13.1 my unbound is still restarting from time to time.
              My system have been unstable for a long time, but I haven't had the time to dig into it. Last week I figured out that it was the unbound which is restarting. So I updated to version 2.5. But still having issues.
              I have "DHCP Registration", "Static DHCP" and "OpenVPN Clients" enabled in my DNS Resolver settings.
              I will try to test further and report back
              Kind regards
              Jens M. Kofoed

              1 Reply Last reply Reply Quote 0
              • johnpozJ
                johnpoz LAYER 8 Global Moderator @Salander27 0
                last edited by johnpoz

                @salander27-0 said in Unbound crashes periodically with signal 11:

                (you should see that it is installing unbound-1.13.1)

                hmmm - running 21.02, figured hey why not upgrade unbound. Even though not seeing this issue.. But I don't see it updating to 1.13.1

                [21.02-RELEASE][admin@sg4860.local.lan]/root: pkg upgrade -fy unbound
                Updating pfSense-core repository catalogue...
                pfSense-core repository is up to date.
                Updating pfSense repository catalogue...
                pfSense repository is up to date.
                All repositories are up to date.
                The following 1 package(s) will be affected (of 0 checked):
                
                Installed packages to be REINSTALLED:
                        unbound-1.13.0_2 [pfSense]
                
                Number of packages to be reinstalled: 1
                
                1 MiB to be downloaded.
                [1/1] Fetching unbound-1.13.0_2.txz: 100%    1 MiB   1.2MB/s    00:01    
                Checking integrity... done (0 conflicting)
                [1/1] Reinstalling unbound-1.13.0_2...
                ===> Creating groups.
                Using existing group 'unbound'.
                ===> Creating users
                Using existing user 'unbound'.
                [1/1] Extracting unbound-1.13.0_2: 100%
                [21.02-RELEASE][admin@sg4860.local.lan]/root: pfSsh.php playback svc restart unbound
                Attempting to issue restart to unbound service...
                
                unbound has been restarted.
                [21.02-RELEASE][admin@sg4860.local.lan]/root:
                

                upon restart and looking in log - still seems to be 1.30.0

                Feb 23 08:51:43 unbound 90907 [90907:0] info: start of service (unbound 1.13.0).

                edit:
                Didn't seem to update to 1.13.1

                [21.02-RELEASE][admin@sg4860.local.lan]/root: unbound-control -c /var/unbound/unbound.conf status
                version: 1.13.0
                verbosity: 1
                threads: 4
                modules: 2 [ validator iterator ]
                uptime: 502 seconds
                options: control(ssl)
                unbound (pid 79734) is running...
                [21.02-RELEASE][admin@sg4860.local.lan]/root: 
                

                An intelligent man is sometimes forced to be drunk to spend time with his fools
                If you get confused: Listen to the Music Play
                Please don't Chat/PM me for help, unless mod related
                SG-4860 24.11 | Lab VMs 2.8, 24.11

                GertjanG L 2 Replies Last reply Reply Quote 1
                • T
                  tuxbox78 @jimp
                  last edited by tuxbox78

                  @jimp This (upgrade of unbound to 1.13.1) sad fully does NOT fix the issue on my system. Disabling DHCP leases fixed the restarts... but this package upgrade to 1.13.1 (and restart and re-enabling DHCP leases) brought the old behaviour back (restart of unbound about every 10 minutes in my case).

                  So actually 1.13.1 at least seems to not fully fix the problem for all systems.
                  UPDATE: but again also disabling DHCP leases again for/with 1.13.1 unbound fixes it again

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

                    The symptom fixed by 1.13.1 is the crash/segfault.

                    "Restarting" is not a symptom of a problem, it's a side effect of using DHCP lease integration and is normal.

                    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
                    • C
                      ccb056
                      last edited by

                      Upgraded unbound from the sable repo as described earlier, and still getting DNS Server crashes, not automatically restarting

                      Next time it happens I'll try and grab a log to post

                      1 Reply Last reply Reply Quote 0
                      • GertjanG
                        Gertjan @johnpoz
                        last edited by Gertjan

                        @johnpoz said in Unbound crashes periodically with signal 11:

                        Didn't seem to update to 1.13.1

                        [2.5.0-RELEASE][root@priv.some-pfsense-local-network.net]/root: pkg upgrade unbound
                        Updating pfSense-core repository catalogue...
                        pfSense-core repository is up to date.
                        Updating pfSense repository catalogue...
                        pfSense repository is up to date.
                        All repositories are up to date.
                        The following 1 package(s) will be affected (of 0 checked):
                        
                        Installed packages to be UPGRADED:
                                unbound: 1.13.0_2 -> 1.13.1 [pfSense]
                        
                        Number of packages to be upgraded: 1
                        
                        1 MiB to be downloaded.
                        
                        
                        Broadcast Message from root@priv.brit-hotel-fumel.net
                                (no tty) at 21:34 CET...
                        
                        Communications with UPS ups@10.0.0.4 lost
                        
                        y
                        
                        Broadcast Message from root@priv.brit-hotel-fumel.net
                                (no tty) at 21:34 CET...
                        
                        Communications with UPS ups@10.0.0.4 established
                        
                        [1/1] Fetching unbound-1.13.1.txz: 100%    1 MiB 297.0kB/s    00:04
                        Checking integrity... done (0 conflicting)
                        [1/1] Upgrading unbound from 1.13.0_2 to 1.13.1...
                        ===> Creating groups.
                        Using existing group 'unbound'.
                        ===> Creating users
                        Using existing user 'unbound'.
                        [1/1] Extracting unbound-1.13.1: 100%
                        

                        ..... and then I restarted unbound.

                        Btw : sorry : my UPS went to the toilet or something like that.

                        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
                        • L
                          LostInIgnorance @johnpoz
                          last edited by LostInIgnorance

                          @johnpoz said in Unbound crashes periodically with signal 11:

                          Didn't seem to update to 1.13.1

                          I am seeing the same on my SG-1100 where the package is not updating.

                          [21.02-RELEASE]/root: pkg upgrade -fy unbound
                          Updating pfSense-core repository catalogue...
                          pfSense-core repository is up to date.
                          Updating pfSense repository catalogue...
                          pfSense repository is up to date.
                          All repositories are up to date.
                          Checking integrity... done (0 conflicting)
                          The following 1 package(s) will be affected (of 0 checked):
                          
                          Installed packages to be REINSTALLED:
                                  unbound-1.13.0_2 [pfSense]
                          
                          Number of packages to be reinstalled: 1
                          [1/1] Reinstalling unbound-1.13.0_2...
                          ===> Creating groups.
                          Using existing group 'unbound'.
                          ===> Creating users
                          Using existing user 'unbound'.
                          [1/1] Extracting unbound-1.13.0_2: 100%
                          
                          johnpozJ 1 Reply Last reply Reply Quote 1
                          • johnpozJ
                            johnpoz LAYER 8 Global Moderator @LostInIgnorance
                            last edited by johnpoz

                            Yeah not seeing this available, still

                            I have

                            [21.02-RELEASE][admin@sg4860.local.lan]/root: pkg info unbound
                            unbound-1.13.0_2
                            Name           : unbound
                            Version        : 1.13.0_2
                            Installed on   : Tue Feb 23 08:53:42 2021 CST
                            Origin         : dns/unbound
                            

                            If do upgrade unbound says nothing to do

                            WWW: https://www.nlnetlabs.nl/projects/unbound
                            [21.02-RELEASE][admin@sg4860.local.lan]/root: pkg upgrade unbound
                            Updating pfSense-core repository catalogue...
                            pfSense-core repository is up to date.
                            Updating pfSense repository catalogue...
                            pfSense repository is up to date.
                            All repositories are up to date.
                            Checking integrity... done (0 conflicting)
                            Your packages are up to date.
                            [21.02-RELEASE][admin@sg4860.local.lan]/root: 
                            

                            @Gertjan your on 2.5, I'm on 21.02

                            Take it this was only released for 2.5 and not 21.02

                            An intelligent man is sometimes forced to be drunk to spend time with his fools
                            If you get confused: Listen to the Music Play
                            Please don't Chat/PM me for help, unless mod related
                            SG-4860 24.11 | Lab VMs 2.8, 24.11

                            1 Reply Last reply Reply Quote 1
                            • S
                              Salander27 0
                              last edited by

                              I think the common factor here is that both @johnpoz and @LostInIgnorance are using ARM devices here which presumably uses a different stable repository with ARM-specific packages.

                              Unfortunately I know little about this but perhaps @jimp can chime in with if/when an updated package can be expected to be available for that architecture.

                              I 1 Reply Last reply Reply Quote 0
                              • I
                                immy @Salander27 0
                                last edited by

                                @salander27-0 I am using a SG-5100 (not ARM) with 21.02 and no Unbound update is visible.

                                johnpozJ 1 Reply Last reply Reply Quote 0
                                • johnpozJ
                                  johnpoz LAYER 8 Global Moderator @immy
                                  last edited by johnpoz

                                  I'm on a sg-4860.. That is not arm either..

                                  I do have some 3100's - but they are not even on 2.4.5p1 - since covid had already hit when that came out.. And sure wasn't going to update them when nobody in the office, etc.

                                  An intelligent man is sometimes forced to be drunk to spend time with his fools
                                  If you get confused: Listen to the Music Play
                                  Please don't Chat/PM me for help, unless mod related
                                  SG-4860 24.11 | Lab VMs 2.8, 24.11

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

                                    I thought I already responded in this thread, might have been another. It's not up yet for 21.02, just 2.5.0.

                                    The Plus repos are locked down while we work on the immediate fix needed for SG-3100. It'll be updated soon.

                                    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 3
                                    • C
                                      ccb056
                                      last edited by

                                      I'm getting unbound crashes with signal 8 - using unbound 1.13.1

                                      https://forum.netgate.com/topic/161372/2-5-0-unbound-1-13-1-exited-on-signal-8-sigfpe-floating-point-exception

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

                                        That is unlikely to be the same issue as this, I'd keep that in its own thread.

                                        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
                                        • C
                                          chrcoluk
                                          last edited by

                                          Jim has it ever been considered to put unbound as a package in the package manager instead of only updating it with pfSense updates?

                                          pfSense CE 2.7.2

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

                                            @chrcoluk said in Unbound crashes periodically with signal 11:

                                            Jim has it ever been considered to put unbound as a package in the package manager instead of only updating it with pfSense updates?

                                            It isn't an add-on package, so it doesn't belong there.

                                            That said, we are considering ways to trigger updates on items included in the base system, but that's a longer-term goal.

                                            These kinds of out-of-band updates are rare, though.

                                            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!

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