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

    Pfsense updated to 2.8 and now get an crash report

    Scheduled Pinned Locked Moved General pfSense Questions
    20 Posts 4 Posters 2.5k Views 5 Watching
    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.
    • stephenw10S Offline
      stephenw10 Netgate Administrator
      last edited by

      It's not the total available memory you're exhausting it's the 512MB limit in php. Which is why using python mode there should prevent it.

      randombitsR 1 Reply Last reply Reply Quote 1
      • randombitsR Offline
        randombits @stephenw10
        last edited by randombits

        @stephenw10 Ah ok, I assumed memory pfsense is running on. Although swap usage has gone to zero now from about 20-30%

        Is the 512MB limit 'hardcoded' or adjustable ?

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

          You can set it in System > Advanced > Miscellaneous.

          randombitsR 1 Reply Last reply Reply Quote 1
          • randombitsR Offline
            randombits @stephenw10
            last edited by

            @stephenw10 Thanks, Is it wise to enlarge it leave it in python mode. At a quick glance at cpu usage it appears lower with python mode that could my imagination though. It runs around 25-30% with 2 virtual cores of a i5 6500t looking at the weekly average graph in proxmox.

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

              I would leave it at the default 512MB and enable python mode. That is the expected/tested workaround there.

              If you still see issues then revisit.

              randombitsR 1 Reply Last reply Reply Quote 1
              • randombitsR Offline
                randombits @stephenw10
                last edited by

                @stephenw10 Thanks Stephen, I appear to have around 3 million blocks in block lists.

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

                  Mmm, quite a lot! 😁

                  randombitsR 1 Reply Last reply Reply Quote 0
                  • randombitsR Offline
                    randombits @stephenw10
                    last edited by

                    @stephenw10 Probably too many. I went a bit overboard selecting lists.

                    As an aside, my whole set up EVERYTHING network from the ONT, switch, VOIP ATA, server to wifi uses around ~36 watts

                    1 Reply Last reply Reply Quote 1
                    • M Offline
                      MBILC @stephenw10
                      last edited by

                      @stephenw10 Is this something that may change in the future as a default setting, since it seems not using python mode just causes problems? Or that would be on the pfblocker dev's to make that change?

                      stephenw10S 1 Reply Last reply Reply Quote 0
                      • R Offline
                        rpsmith
                        last edited by

                        Mine locked-up early in the upgrade process but a quick push of the power button on my Vault caused it to powered down after a short delay and when it came back up it was still working fine on 2.7.2.

                        RPSmith...

                        1 Reply Last reply Reply Quote 0
                        • R Offline
                          rpsmith
                          last edited by

                          It ultimately had problems and had to be reflashed!

                          RPSmith...

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

                            @MBILC said in Pfsense updated to 2.8 and now get an crash report:

                            Is this something that may change in the future as a default setting, since it seems not using python mode just causes problems?

                            Unclear. Python mode also introduces complexity many users don't need. But, yes, that would be a choice the pfBlockerNG dev makes IMO.

                            1 Reply Last reply Reply Quote 2
                            • randombitsR Offline
                              randombits
                              last edited by

                              Changing over to python mode has significantly reduced cpu usage on my system from around 25% to less than 10%.

                              1 Reply Last reply Reply Quote 1
                              • randombitsR Offline
                                randombits
                                last edited by

                                Just checking the power log for the server and showing a saving of about 75-100 watts per day since changing over to python mode. Or about £8 a year in electricity.

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

                                  You mean Watt-hours per day? That's significant. Nice

                                  randombitsR 1 Reply Last reply Reply Quote 0
                                  • randombitsR Offline
                                    randombits @stephenw10
                                    last edited by randombits

                                    @stephenw10 Yes, I meant Wh it went from ~900 watt hours to ~825 watt hours per day.
                                    2025-06-10 13_46_34-Microsoft Excel - Yesterday.txt.png

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