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

pfSense stops working for about 2 minutes after applying any new or changed configuration

General pfSense Questions
3
18
1.4k
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.
  • R
    rafael9908
    last edited by Jul 30, 2022, 4:56 AM

    I'm running a HA installation of pfSense Community on Hyper-V. I've been doing this now for several years and as far as I remember, since the upgrade from 2.5.2 to 2.6.0, every change I make to the configuration, from adding a new port fowarding configuration or changing an IP on a current config everything stops working. I start to receive timeouts from external websites monitoring tools I use for my websites published on pfSense, I lost connectivity to the GUI, my VPN connections drop, internet access for my client computers stops working and everything stays like this for about two minutes. The standby pfSense doesn't kick in and I have to wait for everything to start to work again. It takes longer than if I take the active vm down to the standby one come up.
    Since I've done the upgrade, last night I decided to rebuild the entire environment using a fresh installation for both active and passive pfSenses and even with the fresh installation the problem remains.
    I have no idea where to go from here. Has anybody seen anything like this or have any suggestions?
    Thank you.

    1 Reply Last reply Reply Quote 0
    • S
      stephenw10 Netgate Administrator
      last edited by Aug 1, 2022, 7:52 PM

      Are you using VLANs?
      If so check this: https://forum.netgate.com/topic/169884/after-upgrade-inter-v-lan-communication-is-very-slow-on-hyper-v?page=1

      R 1 Reply Last reply Aug 1, 2022, 8:14 PM Reply Quote 0
      • R
        rafael9908 @stephenw10
        last edited by Aug 1, 2022, 8:14 PM

        @stephenw10
        Thanks for the reply. I use VLANs but my intervlan routing happens mostly on a L3 switch. On my pfSense I have very specific rules only for a single vlan that I use for a guest wifi network.
        It's a more general problem. I don't know if the state table gets reset when the configuration is changed, if it's a default behavior or if it's something else but as in the case you mentioned, I also think it happened after the upgrade from 2.5.2 to 2.6.0, but I don't think of going back. It would be a huge hassle... Well, I can go back, go through the entire configuration process again, but, what's the purpose of using an old version of the software. I really need to understand what's gone wrong here and fix it. That would be the best scenario.

        1 Reply Last reply Reply Quote 0
        • S
          stephenw10 Netgate Administrator
          last edited by Aug 1, 2022, 8:37 PM

          If it's in hyper-v did you not snapshot the VMs before the upgrade?

          Proving it's actually a regression after the update would certainly help in troubleshooting it.

          But otherwise I would run top -HaSP at the console and see what happens when you save apply a change.

          Is there nothing logged when the delay happens?

          Steve

          R 1 Reply Last reply Aug 1, 2022, 9:59 PM Reply Quote 0
          • R
            rafael9908 @stephenw10
            last edited by Aug 1, 2022, 9:59 PM

            @stephenw10
            Hi Stephen. I don't work with production snapshots. The only thing I see on the logs is configuration refresh. I decided to rollback to pfs 2.5.2 with the same configuration to see what happens. It was working before, so I suppose it'll work again. I don't have any specific feature I'm interested on version 2.6.0. I updated just to get the most recent version. I'll let you know what happens after the "forced" rollback.

            S 1 Reply Last reply Aug 1, 2022, 11:42 PM Reply Quote 0
            • S
              stephenw10 Netgate Administrator @rafael9908
              last edited by Aug 1, 2022, 11:42 PM

              @rafael9908 said in pfSense stops working for about 2 minutes after applying any new or changed configuration:

              The only thing I see on the logs is configuration refresh

              But you do see log entries with a 2min delay?

              R 1 Reply Last reply Aug 1, 2022, 11:47 PM Reply Quote 0
              • R
                rafael9908 @stephenw10
                last edited by Aug 1, 2022, 11:47 PM

                @stephenw10
                No I don't. It's like everything is working as it should but it takes two minutes or more for the connections to get established again. I don't see any gaps like these. Things just takes longer to get back.

                R 1 Reply Last reply Aug 1, 2022, 11:49 PM Reply Quote 0
                • S
                  stephenw10 Netgate Administrator
                  last edited by Aug 1, 2022, 11:49 PM

                  Hmm, OK. Well let's see if it's repeatable.

                  Steve

                  1 Reply Last reply Reply Quote 0
                  • R
                    rafael9908 @rafael9908
                    last edited by Aug 1, 2022, 11:49 PM

                    @rafael9908
                    A netgate partner recommended me to go back to 2.5.2 saying there were some incompatibilities with the new version of freebsd and hyper-v...

                    1 Reply Last reply Reply Quote 0
                    • S
                      stephenw10 Netgate Administrator
                      last edited by Aug 1, 2022, 11:53 PM

                      Yes, that thread I pointed to. The RSC support added in the FreeBSD hn(4) driver had a pretty large bug! https://redmine.pfsense.org/issues/12873

                      It's fixed now in 22.05 and 2.7 snapshots.

                      Steve

                      R 1 Reply Last reply Aug 1, 2022, 11:56 PM Reply Quote 0
                      • R
                        rafael9908 @stephenw10
                        last edited by Aug 1, 2022, 11:56 PM

                        @stephenw10
                        I'm running an old version of Hyper-V. I have a 2012 R2 cluster. As far as I understood, that doesn't apply to me. I'm not in a good situation at all here...lol

                        1 Reply Last reply Reply Quote 0
                        • S
                          stephenw10 Netgate Administrator
                          last edited by Aug 1, 2022, 11:58 PM

                          Ah, maybe. You could be hitting some other issue I'm not aware of then....

                          R 1 Reply Last reply Aug 1, 2022, 11:59 PM Reply Quote 0
                          • R
                            rafael9908 @stephenw10
                            last edited by Aug 1, 2022, 11:59 PM

                            @stephenw10
                            After the rollback to 2.5.2 I'll let you know what happened.

                            R 1 Reply Last reply Aug 2, 2022, 7:16 AM Reply Quote 1
                            • R
                              rafael9908 @rafael9908
                              last edited by Aug 2, 2022, 7:16 AM

                              @rafael9908
                              after the rollback to the 2.5.2 everything is working as it should!!!

                              1 Reply Last reply Reply Quote 0
                              • S
                                stephenw10 Netgate Administrator
                                last edited by Aug 2, 2022, 11:39 AM

                                Hmm, OK. And that was a clean 2.5.2 install with the configs restored?

                                Are you able to snapshot that and test the upgrade again? Or even test a 2.7 snap?

                                Steve

                                R 1 Reply Last reply Aug 2, 2022, 2:40 PM Reply Quote 0
                                • J
                                  jimp Rebel Alliance Developer Netgate
                                  last edited by Aug 2, 2022, 12:15 PM

                                  Usually if something stops after applying changes it's because you have the option enabled to kill states when a gateway is down and a gateway is down. Check under System > Advanced on the Misc tab to see if that option is enabled.

                                  It takes a while for your browser to realize the state is gone and make a new connection.

                                  If you try again, check the gateway status to see if maybe one of the gateways is showing as down on the newer version where it didn't on the older one.

                                  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!

                                  R 1 Reply Last reply Aug 2, 2022, 2:43 PM Reply Quote 1
                                  • R
                                    rafael9908 @stephenw10
                                    last edited by Aug 2, 2022, 2:40 PM

                                    @stephenw10
                                    It's a clean install with the config restored.
                                    At least for now I'm not going to do further tests with it. I had too much trouble. I'm gonna rest for a bit.

                                    1 Reply Last reply Reply Quote 1
                                    • R
                                      rafael9908 @jimp
                                      last edited by Aug 2, 2022, 2:43 PM

                                      @jimp
                                      I came across a post talking about this option. My configuration already had it disabled.

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