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

    How to debug a nano pfsense that crashes every 65+ hours?

    Scheduled Pinned Locked Moved General pfSense Questions
    11 Posts 3 Posters 1.9k 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.
    • K
      kejianshi
      last edited by

      Bad fan? heat?  Failing board or memory? Failing psu?

      1 Reply Last reply Reply Quote 0
      • A
        aleatorvb
        last edited by

        Tested with an IR thermometer - 35 degrees C.  I will try to swap out ram this evening (ordered two new 2gb pieces). 
        I was wondering if there is any way to see from logs what is happening?

        1 Reply Last reply Reply Quote 0
        • K
          kejianshi
          last edited by

          Are you showing core dumps?

          1 Reply Last reply Reply Quote 0
          • A
            aleatorvb
            last edited by

            As far as i can tell all logs are stored in /var (wich is a ramdisk), so when it freezes i loose them all. Also ordered a serial cable to try to see if i can get into pfsense when it locks up.

            1 Reply Last reply Reply Quote 0
            • K
              kejianshi
              last edited by

              Are you running out of ram (ramdisk)?  Resources exhausted?

              This seems abit high, but not exhausted:

              10-25% MBUF Usage

              1 Reply Last reply Reply Quote 0
              • A
                aleatorvb
                last edited by

                Those are values during peak hours during the day. 5-10 desktop / mobile / tablet user plus a few servers doing low traffic.
                Everything is ipv4 only (disable ipv6).
                I switched the ram and we'll see in 3 days if it crashes again.

                I was wondering if there is a way to send logs to another system or if there is a script/option to copy logs automatically with scp/sftp/ftp..

                1 Reply Last reply Reply Quote 0
                • K
                  kejianshi
                  last edited by

                  There is actually a way to offload all the logging.  If seen people describe it but I've never done it.

                  Wait a bit and I'm sure someone will tell you how.

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

                    You can enable an external syslog server for long term logging:
                    https://doc.pfsense.org/index.php/Copying_Logs_to_a_Remote_Host_with_Syslog
                    Of course if the box looses it's network it can't send logs….

                    Steve

                    1 Reply Last reply Reply Quote 0
                    • A
                      aleatorvb
                      last edited by

                      Thank you everyone for your help. As usual, I learned many things from the forum.

                      It seems the motherboard was broken. It crashed with 4 different ram sticks. I got a replacement today and hopefully I will have no more issues.

                      Now I just have build a low-powered system for syslog and general loging…

                      1 Reply Last reply Reply Quote 0
                      • K
                        kejianshi
                        last edited by

                        I should have just stuck with my first guess…  haha

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