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 1.9k 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.
    • randombitsR
      randombits
      last edited by

      I just updated to 2.8 and pfsense reports a crash error to do with php ?

      Is it anything to worry about and how do I fix it please ?

      Crash report begins.  Anonymous machine information:
      
      amd64
      15.0-CURRENT
      FreeBSD 15.0-CURRENT #1 RELENG_2_8_0-n256081-401ec5f685b9: Wed May 21 23:53:51 UTC 2025     root@freebsd:/var/jenkins/workspace/pfSense-CE-snapshots-2_8_0-main/obj/amd64/0q9vjGjc/var/jenkins/workspace/pfSense-CE-snapshots-2_8_0-main/sources/FreeBSD-src-RE
      
      Crash report details:
      
      PHP Errors:
      [29-May-2025 10:26:19 Europe/London] PHP Fatal error:  Allowed memory size of 536870912 bytes exhausted (tried to allocate 20480 bytes) in /usr/local/bin/kea2unbound on line 528
      [29-May-2025 10:31:57 Europe/London] PHP Fatal error:  Allowed memory size of 536870912 bytes exhausted (tried to allocate 20480 bytes) in /usr/local/bin/kea2unbound on line 528
      [29-May-2025 10:36:09 Europe/London] PHP Fatal error:  Allowed memory size of 536870912 bytes exhausted (tried to allocate 20480 bytes) in /usr/local/bin/kea2unbound on line 528
      [29-May-2025 10:48:05 Europe/London] PHP Fatal error:  Allowed memory size of 536870912 bytes exhausted (tried to allocate 20480 bytes) in /usr/local/bin/kea2unbound on line 528
      
      
      
      No FreeBSD crash data found.
      			
      
      randombitsR 1 Reply Last reply Reply Quote 0
      • randombitsR
        randombits @randombits
        last edited by

        Just cleared it and rebooted again and it didn't come back - so guess it's ok now.

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

          That error is probably caused by trying to load large lists from pfBlockerng?

          If so, and it happens again, try setting DNSBL in Python mode.

          randombitsR M 2 Replies Last reply Reply Quote 0
          • randombitsR
            randombits @stephenw10
            last edited by

            @stephenw10 Yes, just looked and it has has come back. I'll try python mode.

            I have noticed in the last couple of days, before the 2.8 update, that smokeping I run on docker has had an increased in packet loss. So I did also enlarge the ram pfsense has from 2 to 4 gb - I run pfsense as a proxmox VM. It could be the pfblocker lists had been enlarged from updates.

            1 Reply Last reply Reply Quote 1
            • stephenw10S
              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
                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
                  stephenw10 Netgate Administrator
                  last edited by

                  You can set it in System > Advanced > Miscellaneous.

                  randombitsR 1 Reply Last reply Reply Quote 1
                  • randombitsR
                    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
                      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
                        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
                          stephenw10 Netgate Administrator
                          last edited by

                          Mmm, quite a lot! 😁

                          randombitsR 1 Reply Last reply Reply Quote 0
                          • randombitsR
                            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
                              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
                                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
                                  rpsmith
                                  last edited by

                                  It ultimately had problems and had to be reflashed!

                                  RPSmith...

                                  1 Reply Last reply Reply Quote 0
                                  • stephenw10S
                                    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
                                      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
                                        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
                                          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
                                            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.