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

Fault tolerance on return of power

Official Netgate® Hardware
4
21
1.3k
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.
  • F
    fg @stephenw10
    last edited by May 16, 2024, 7:25 PM

    @stephenw10 It would come back up so you could terminal in with the cable to fix things but the website GUI even restarted wouldn't work and internet access went off line. It kind of goes with the uncaught error regarding line 76 in the file interfaces.inc.

    S S 2 Replies Last reply May 16, 2024, 7:55 PM Reply Quote 0
    • F
      fg @stephenw10
      last edited by May 16, 2024, 7:45 PM

      This post is deleted!
      1 Reply Last reply Reply Quote 0
      • S
        SteveITS Galactic Empire @fg
        last edited by May 16, 2024, 7:55 PM

        @fg Wait, so you're saying if you pull power you get that error at boot every time? That's not normal. We had a bunch of 3100s in the field and I'm sure some have lost power over the years.

        What happens if you Diagnostics/Reboot?

        Pulling power isn't great but it's not usually fatal unless there is file system corruption from that incident.
        https://docs.netgate.com/pfsense/en/latest/troubleshooting/filesystem-check.html

        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!

        1 Reply Last reply Reply Quote 0
        • F
          fg @MaxK 0
          last edited by May 16, 2024, 7:59 PM

          @MaxK-0

          This might be my solution.

          I guess the power goes out. The Apcupsd package then monitors the UPS so that when three minutes are left it halts the 3100 but the 3100 stays powered on, right? Halt doesn't cut power so the battery keeps draining and then finally is used up. In this state when the power comes back on the UPS sends a "wake-on-lan" signal through the USB cable and the 3100 comes back on? What if the UPS doesn't get completely used up when the power comes back on while the 3100 is still lit up on halt? Does the "wake on lan" via usb cable still restarts the 3100?

          Thank you for you help on this.

          S 1 Reply Last reply May 16, 2024, 8:03 PM Reply Quote 0
          • S
            SteveITS Galactic Empire @fg
            last edited by May 16, 2024, 8:03 PM

            @fg The “Hibernate UPS on powerfail” checkbox I mentioned above should turn off the UPS after the pfSense shutdown happens. That way power is cut to the 3100. Then when power returns the UPS turns on and the 3100 has power again.

            login-to-view

            I believe that defaults to unchecked.

            WOL is for across the network. I don't think Netgate routers support WOL. (One can send a WOL to a MAC address from pfSense IIRC).

            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!

            F 1 Reply Last reply May 16, 2024, 8:08 PM Reply Quote 1
            • F
              fg @SteveITS
              last edited by May 16, 2024, 8:06 PM

              @SteveITS I agree with you. I did go with 100 and 150 before going back down to 40 and 60. Testing to see the issue. Like I said last night my memory usage was 31% and right now 15%. I would have increased it to higher memory reservation pending results.

              I wonder why the error I saw was about line 76 in the interfaces.inc file that was reported. Do the interfaces cut off when too much memory is alloted?

              S 1 Reply Last reply May 16, 2024, 8:10 PM Reply Quote 0
              • F
                fg @SteveITS
                last edited by May 16, 2024, 8:08 PM

                @SteveITS Thanks. You've cleared it up very well for me. Take care if I don't come back to pick your brains some more.

                1 Reply Last reply Reply Quote 0
                • S
                  SteveITS Galactic Empire @fg
                  last edited by May 16, 2024, 8:10 PM

                  @fg I don't know about the interface error you're seeing.

                  As of a few versions (years) ago pfSense uses tmpfs for RAM disks so no longer preallocates the RAM....it is allocated when files are written. We used 128 and 512 MB on 3100s without issue but YMMV of course. (like I wrote above at least one big pfBlocker list uses well over 1 GB)

                  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!

                  F 1 Reply Last reply May 26, 2024, 5:26 AM Reply Quote 1
                  • S
                    stephenw10 Netgate Administrator @fg
                    last edited by May 16, 2024, 8:27 PM

                    @fg said in Fault tolerance on return of power:

                    It kind of goes with the uncaught error regarding line 76 in the file interfaces.inc.

                    But just to be clear you are seeing that error after simply rebooting? Or after forcibly power cycling it?

                    Because there should never happen by simply rebooting it.

                    And, yes, if a UPS does not remove power to the 3100 it will not boot up after being halted. It needs to be power cycled at that point.

                    F 1 Reply Last reply May 26, 2024, 5:29 AM Reply Quote 1
                    • F
                      fg @SteveITS
                      last edited by May 26, 2024, 5:26 AM

                      @SteveITS

                      Thanks Steve. I'm going to be taking the 3100 up North for that property and going back to community on an Atom 27xx board I built some time ago. More hardware capacity.

                      I like the 3100 but the 16 gig RAM atom will do me better short term until I get the 4xxx Netgate. ;-)

                      Thanks for all your help.

                      1 Reply Last reply Reply Quote 1
                      • F
                        fg @stephenw10
                        last edited by May 26, 2024, 5:29 AM

                        @stephenw10

                        Well, to be clear... it was on rebooting I got the error message. It has been explained to me that tmpfs(?) has taken over ramdisk duties. With only two gigs I'm more comfortable going back to a community appliance I built. Taking the 3100 to a cabin in the woods and letting time sort out what NextGate I might get. Thanks for all the help. Couldn't be more appreciated.

                        1 Reply Last reply Reply Quote 3
                        • M MaxK 0 referenced this topic on Jul 28, 2024, 11:44 AM
                        • First post
                          Last post
                        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.