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

    pfSense GUI unresponsive when WAN drops

    Scheduled Pinned Locked Moved General pfSense Questions
    16 Posts 4 Posters 2.7k 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.
    • F
      flarednostril @bmeeks
      last edited by

      @bmeeks I have the "nut" package installed for my UPS. Nothing else.

      It's not like what you are suggesting. It doesn't get busy for a while then come good. CPU usage is always close to 0. The GUI just gets slower progressively until it stops working altogether and never comes back.

      1 Reply Last reply Reply Quote 0
      • bmeeksB
        bmeeks
        last edited by

        That is indeed strange behavior then. I would expect it to be sporadically slow, especially when dpinger (if enabled) goes into its "alarm" mode and restarts things in an attempt to recover connectivity. But to eventually spin down to a complete hang is strange.

        That particular URL requested in your posted log snippet is strange as well. Were you actively trying to view that page, or do you have some kind of automated logging set up? What device was using the 192.168.0.194 IP address? Was it your workstation?

        F 1 Reply Last reply Reply Quote 0
        • bingo600B
          bingo600 @flarednostril
          last edited by bingo600

          @flarednostril

          Wasn't this setting a workaround , for the "Gui issue" if was is down ?

          8b1ef159-6c26-4e7d-b325-5fe778d638de-image.png

          One of the things the gui does (eagerly) , is to check if there are any updates.
          And you need a working WAN for that.

          This one disables that check. I suppose you might loose the automatic update check, if disabling

          Edit: I have not seen a real timeout here on wan down , just a super slow gui response.

          /Bingo

          If you find my answer useful - Please give the post a šŸ‘ - "thumbs up"

          pfSense+ 23.05.1 (ZFS)

          QOTOM-Q355G4 Quad Lan.
          CPUĀ  : Core i5 5250U, Ram : 8GB Kingston DDR3LV 1600
          LANĀ  : 4 x Intel 211, DiskĀ  : 240G SAMSUNG MZ7L3240HCHQ SSD

          F 1 Reply Last reply Reply Quote 0
          • F
            flarednostril @bmeeks
            last edited by

            @bmeeks Yes I was actively trying to view that page. I was just randomly clicking on things watching the GUI get slower and slower until I got the 504 Gateway Time-out. It's nothing to do with that particular page the whole GUI is affected.

            192.168.0.194 was firefox on my Mac.

            GertjanG 1 Reply Last reply Reply Quote 0
            • GertjanG
              Gertjan @flarednostril
              last edited by

              If you haven('t already done so, enable the SSH access.
              Or use the console.
              Menu option 8.
              Optional, as it looks better/nicer :

              pkg install htop
              

              'top' is installed by default.
              No use top or htop
              Have it sorted on CPU utilsation (hit F6 and select CPU percentage).

              Now, make the WAN go down. Look at what processes are using the CPU - these are at the top.

              Btw : when your uplink connection goes down, is it the pfSense WAN interface that goes down, or the link upstream becomes bad while the pfSEnse WAN interface stays up ?

              No "help me" PM's please. Use the forum, the community will thank you.
              Edit : and where are the logs ??

              F 1 Reply Last reply Reply Quote 0
              • F
                flarednostril @bingo600
                last edited by

                @bingo600 Ok I'll test with auto-update check disabled. Thanks for the suggestion.

                1 Reply Last reply Reply Quote 0
                • F
                  flarednostril @Gertjan
                  last edited by

                  @gertjan thanks but as I said above it's not an issue of CPU utilisation and the box being busy. CPU utilisation is always close to 0%. There is no process causing any problem like that. The GUI simply stops responding and I have to "Restart PHP-FPM". Then it works again for a few minutes before it gives me a 504 Gateway Time-out again.

                  GertjanG 1 Reply Last reply Reply Quote 0
                  • GertjanG
                    Gertjan @flarednostril
                    last edited by

                    It's not the cpu utilisation, but more what processes are running at that moment. These will rise to the top of the queue.

                    It's time to find out if it's related to the web server (nginx) or the PHP engine.
                    What does the System log mentions when the issue happens ?
                    And the DNS log ?
                    DHCP log nothing special ?

                    Btw, : I'm also using the NUT package.

                    No "help me" PM's please. Use the forum, the community will thank you.
                    Edit : and where are the logs ??

                    F 1 Reply Last reply Reply Quote 0
                    • F
                      flarednostril @Gertjan
                      last edited by

                      @gertjan Ok thanks I'll check what htop shows. I'm pretty sure there is nothing in dns/dhcp/system logs of interest apart from the "fastcgi://unix:/var/run/php-fpm.socket" error above.

                      GertjanG 1 Reply Last reply Reply Quote 0
                      • GertjanG
                        Gertjan @flarednostril
                        last edited by

                        What you could try is this :
                        Backup your config.
                        Go to the console or SSH access and use option 4 : 'reset to default'.
                        Don't change any settings. If needed, make WAN work. WAN is set up to be a DHCP client, so pfSense could work out of the box.
                        Do not change anything else.
                        ( ok for changing the password )

                        Now, test.
                        Same behaviour ?

                        Go go back to the set up with issues : import your backed up config back in again.

                        No "help me" PM's please. Use the forum, the community will thank you.
                        Edit : and where are the logs ??

                        F 1 Reply Last reply Reply Quote 0
                        • F
                          flarednostril @Gertjan
                          last edited by flarednostril

                          @gertjan Yep reset to default. Then try disconnecting WAN. I suppose I will have to try that. Just surprised I'm the only one apparently having this problem. I will try reset to default and see if I get the same behaviour.

                          bmeeksB 1 Reply Last reply Reply Quote 0
                          • bmeeksB
                            bmeeks @flarednostril
                            last edited by

                            @flarednostril said in pfSense GUI unresponsive when WAN drops:

                            @gertjan Yep reset to default. Then try disconnecting WAN. I suppose I will have to try that. Just surprised I'm the only one apparently having this problem. I will try reset to default and see if I get the same behaviour.

                            We all agree the GUI may get a bit sluggish with no WAN connection, especially so if the Dashboard "home page" is being viewed and "Check for Updates" is checked. But I personally have never seen the pfSense GUI just basically slowly die as you describe.

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