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

Having to restart pfsense every few hours - drops all connections

General pfSense Questions
4
9
685
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.
  • P
    pnadd
    last edited by Mar 26, 2024, 1:52 AM

    Set up a pfsense on an Optiplex 3070 SFF about a week ago.

    Ran fine the first few days and didn't really mess with it much, but starting 2-3 days ago, it started just randomly losing all connection (can't ping pfsense or any other IP because the pfsense is running DHCP/DNS). Checked system logs but there's nothing obvious failing. Also not sure exactly where to look, but really hard to pinpoint any relevant logs.

    I'd just be streaming YouTube or watching a movie, and the internet suddenly drops.
    I'd check the local ping and sure enough, can't get a hit on anything.
    This sometimes happens every few hours, sometimes within an hour, sometimes after a day or so.
    Restarting the box resolves the issue for a few hours or so.

    Details on the setup:

    • The pfsense box is an Optiplex 3070 SFF running an i5-9500, 8GB of RAM, 128GB SSD, authentic Intel I350-T4V2.
    • Currently running 2 eero 6 Pros in bridge mode for wireless.
    • Only packages I currently have downloaded are iperf and Tailscale. Don't want to add more at the risk of making things worse...
    • Single WAN, single LAN. Nothing complicated, no VLANs setup yet.
    • Only hitting around 2% CPU, 8% RAM usage at idle, spikes to MAYBE 15-20% if I run something like a full speed test.
    • Firmware update was one of the first things I did when I booted up for the first time.

    Has anyone run into this problem with a new setup?
    I've tried so many different random things I've found online like checking/unchecking hardware offloading, disabling hyperthreading, disabling gateway monitoring, changing probe intervals, etc.

    S 1 Reply Last reply Mar 26, 2024, 2:45 AM Reply Quote 0
    • S
      SteveITS Galactic Empire @pnadd
      last edited by Mar 26, 2024, 2:45 AM

      @pnadd Can you plug in a monitor and see if an error is output to the console at that time?

      Pre-2.7.2/23.09: Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
      When upgrading, allow 10-15 minutes to restart, or more depending on packages and device speed.
      Upvote 👍 helpful posts!

      P 2 Replies Last reply Mar 26, 2024, 2:48 AM Reply Quote 1
      • P
        pnadd @SteveITS
        last edited by Mar 26, 2024, 2:48 AM

        @SteveITS Heh that was actually my last resort because my monitors are all being used and the cables are all tied with velcro every few feet...
        It's the step I KNOW I have to do and just kept pushing off because it's going to be a huge PITA to take apart and put back together 😅
        I'll do it next time it cuts out. Just hoped this was a somewhat common issue at first with a relatively simple fix

        1 Reply Last reply Reply Quote 0
        • P
          pnadd @SteveITS
          last edited by pnadd Mar 26, 2024, 4:22 AM Mar 26, 2024, 4:16 AM

          @SteveITS this is pretty much all there is when it crashes. I’m not sure how much it actually has to do with the crash because it comes up shortly after doing a reboot and the network runs fine for a few hours before disconnecting again

          alt text

          Also, I’m using this SSD if there is some sort of compatibility issue I’m unaware of: Patriot 128GB

          G 1 Reply Last reply Mar 26, 2024, 4:49 PM Reply Quote 0
          • S
            stephenw10 Netgate Administrator
            last edited by Mar 26, 2024, 5:09 AM

            Yeah that's a drive or drive controller error.

            Make sure you don't have any power saving options enabled for the drive in the BIOS.

            Steve

            P 1 Reply Last reply Mar 26, 2024, 5:36 AM Reply Quote 1
            • P
              pnadd @stephenw10
              last edited by Mar 26, 2024, 5:36 AM

              @stephenw10 Thanks! I shut off every power saving function I could find in the BIOS.
              ASPM looks to be the biggest offender as that reduces PCIe device power, but we’ll have to see.
              But would that type of power saving to the drive cause the symptoms I was seeing with the network just basically going inactive and having to restart?
              Maybe it was lowering the power to the NIC?

              1 Reply Last reply Reply Quote 0
              • S
                stephenw10 Netgate Administrator
                last edited by Mar 26, 2024, 1:01 PM

                Yes, eventually. If pfSense loses disk access it won't stop routing immediately. However over time services start to fail as they require cache access etc. Usually DNS then DHCP then the webgui etc.

                The drive could be overheating perhaps? ASPM does seems likely suspect though.

                P 1 Reply Last reply Mar 27, 2024, 2:32 AM Reply Quote 1
                • G
                  Gertjan @pnadd
                  last edited by Mar 26, 2024, 4:49 PM

                  @pnadd said in Having to restart pfsense every few hours - drops all connections:

                  I’m not sure how much it actually has to do with the crash

                  An OS like FreeBSD, like Linux or any recent (if not all) Microsoft OSes : if the (boot) drive goes away, it's panic all over the place.
                  "A reboot and all is well" is the good side of things. Soon, it will take the entire file system with => no boot anymore.

                  Better investigate in this drive, test with another one, things 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 1
                  • P
                    pnadd @stephenw10
                    last edited by Mar 27, 2024, 2:32 AM

                    @stephenw10 @Gertjan around 24 hours after switching off all of the power saving modes, and everything is chugging along perfectly with zero errors or logs on the console.
                    I thought I had configured something wrong and would have to do a fresh reinstall and reconfig. Thank you so much!

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