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

    pfSense became unresponsive, then no DNS resolution after reboot

    Scheduled Pinned Locked Moved General pfSense Questions
    19 Posts 3 Posters 556 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.
    • stephenw10S
      stephenw10 Netgate Administrator
      last edited by

      Yeah I doubt it's a states problem. 4000 states really isn't that much. Odd that it spiked like that though. Do you have any sort of content sharing applications running? bit torrent creates a lot of states for example.

      S 1 Reply Last reply Reply Quote 0
      • S
        Sherwatt @stephenw10
        last edited by

        @stephenw10 Yes, I am running qBittorrent in a container.

        Can I run some kind of error checking and fixing command on pfSense to look for potentially corrupted files on the disk? Maybe the outage caused a corruption somewhere on the filesystem which is rarely accessed, but when fails, the whole system crashes.

        1 Reply Last reply Reply Quote 0
        • stephenw10S
          stephenw10 Netgate Administrator
          last edited by

          Is it UFS or ZFS?

          S 1 Reply Last reply Reply Quote 0
          • S
            Sherwatt @stephenw10
            last edited by

            @stephenw10 I asked ChatGPT the same question as in my previous post and after a short chat it turns out it is ZFS:

            $ zpool status -v
              pool: pfSense
             state: ONLINE
            config:
            
            	NAME        STATE     READ WRITE CKSUM
            	pfSense     ONLINE       0     0     0
            	  mmcsd0p4  ONLINE       0     0     0
            
            errors: No known data errors
            

            Is there anything else I could use to retroactively diagnose the problem? I already fed the boot log to ChatGPT to look for errors, but it didn't find anything scary. Should I share it with you and if yes, is pasting it in a post acceptable?

            1 Reply Last reply Reply Quote 0
            • stephenw10S
              stephenw10 Netgate Administrator
              last edited by

              Then you can run a zfs pool scrub: zpool scrub pfSense
              https://docs.netgate.com/pfsense/en/latest/troubleshooting/filesystem-check.html

              You can upload the logs here and I can look at them:
              https://nc.netgate.com/nextcloud/s/zgpTGfKio3Fa5eb

              S 1 Reply Last reply Reply Quote 0
              • S
                Sherwatt @stephenw10
                last edited by

                @stephenw10 Thank you. I uploaded boot.txt.

                [2.7.2-RELEASE][admin@pfSense.lan.mydomain.com]/root: zpool scrub pfSense
                [2.7.2-RELEASE][admin@pfSense.lan.mydomain.com]/root: zpool status
                  pool: pfSense
                 state: ONLINE
                  scan: scrub repaired 0B in 00:00:10 with 0 errors on Wed Mar 19 15:11:17 2025
                config:
                
                        NAME        STATE     READ WRITE CKSUM
                        pfSense     ONLINE       0     0     0
                          mmcsd0p4  ONLINE       0     0     0
                
                errors: No known data errors
                
                1 Reply Last reply Reply Quote 0
                • stephenw10S
                  stephenw10 Netgate Administrator
                  last edited by stephenw10

                  That's just the boot log from after the outage happened.

                  We need to see the system covering the event. So from at least some hours before until and including the reboot.

                  You should disable the on-board audio device though. It just uses resources and does nothing in pfSense.

                  hdacc0: <Intel Jasper Lake HDA CODEC> at cad 2 on hdac0
                  hdaa0: <Intel Jasper Lake Audio Function Group> at nid 1 on hdacc0
                  
                  S 1 Reply Last reply Reply Quote 0
                  • S
                    Sherwatt @stephenw10
                    last edited by

                    @stephenw10 Thank you for looking into my issue. I uploaded system.log twice, because I messed up the first one. I guess this is what I should be looking at, right? (from /var/log).
                    I think the issue happened around 17:45 (March 18). I left my computer around 17:40 and when came back pfSense was dead.

                    I should disable the audio device in UEFI, right?

                    stephenw10S 1 Reply Last reply Reply Quote 0
                    • stephenw10S
                      stephenw10 Netgate Administrator @Sherwatt
                      last edited by

                      @Sherwatt said in pfSense became unresponsive, then no DNS resolution after reboot:

                      I should disable the audio device in UEFI, right?

                      Yup somewhere in the EFI/BIOS setup you should be able to disable it completely.

                      1 Reply Last reply Reply Quote 0
                      • stephenw10S
                        stephenw10 Netgate Administrator
                        last edited by

                        Mmm, nothing really shown in the logs at all:

                        Mar 18 17:17:00 pfSense sshguard[62427]: Now monitoring attacks.
                        Mar 18 17:26:00 pfSense sshguard[62427]: Exiting on signal.
                        Mar 18 17:26:00 pfSense sshguard[44994]: Now monitoring attacks.
                        Mar 18 17:35:00 pfSense sshguard[44994]: Exiting on signal.
                        Mar 18 17:35:00 pfSense sshguard[31294]: Now monitoring attacks.
                        Mar 18 17:44:00 pfSense sshguard[31294]: Exiting on signal.
                        Mar 18 17:44:00 pfSense sshguard[11995]: Now monitoring attacks.
                        Mar 18 17:47:09 pfSense syslogd: exiting on signal 15
                        Mar 18 17:48:38 pfSense syslogd: kernel boot file is /boot/kernel/kernel
                        Mar 18 17:48:38 pfSense kernel: ---<<BOOT>>---
                        Mar 18 17:48:38 pfSense kernel: Copyright (c) 1992-2023 The FreeBSD Project.
                        Mar 18 17:48:38 pfSense kernel: Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
                        Mar 18 17:48:38 pfSense kernel:         The Regents of the University of California. All rights reserved.
                        Mar 18 17:48:38 pfSense kernel: FreeBSD is a registered trademark of The FreeBSD Foundation.
                        Mar 18 17:48:38 pfSense kernel: FreeBSD 14.0-CURRENT amd64 1400094 #1 RELENG_2_7_2-n255948-8d2b56da39c: Wed Dec  6 20:45:47 UTC 2023
                        Mar 18 17:48:38 pfSense kernel:     root@freebsd:/var/jenkins/workspace/pfSense-CE-snapshots-2_7_2-main/obj/amd64/StdASW5b/var/jenkins/workspace/pfSense-CE-snapshots-2_7_2-main/sources/FreeBSD-src-RELENG_2_7_2/amd64.amd64/sys/pfSense amd64
                        Mar 18 17:48:38 pfSense kernel: FreeBSD clang version 16.0.6 (https://github.com/llvm/llvm-project.git llvmorg-16.0.6-0-g7cbf1a259152)
                        

                        If nothing is logged at reboot like that it can be a hardware issue.

                        I assume you didn't see a crash report after rebooting? It doesn't look like you have SWAP configured so you wouldn't see one if it panicked.

                        S 1 Reply Last reply Reply Quote 0
                        • S
                          Sherwatt @stephenw10
                          last edited by

                          @stephenw10 Thank you for your time looking into the logs. I did not see any crash reports. Do you think I should configure swap in pfSense in case this happens again?

                          1 Reply Last reply Reply Quote 0
                          • stephenw10S
                            stephenw10 Netgate Administrator
                            last edited by

                            You would need to re-install to do so. But that would then give you a crash report if it was the result of a kernel panic.

                            S 1 Reply Last reply Reply Quote 0
                            • S
                              Sherwatt @stephenw10
                              last edited by

                              @stephenw10 Then I'm just going to stick with my current setup and see if there is anything on the console the next time this happens, if happens.
                              Thank you for your help, much appreciated!

                              1 Reply Last reply Reply Quote 1
                              • S Sherwatt referenced this topic on
                              • First post
                                Last post
                              Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.