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

    "PHP Fatal error: Maximum execution time of 900 seconds exceeded in /etc/inc/util.inc on line 3728" after installing latest pfBlockerNG 3.2.0_12

    Scheduled Pinned Locked Moved General pfSense Questions
    104 Posts 20 Posters 25.1k 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.
    • stephenw10S
      stephenw10 Netgate Administrator
      last edited by

      However low the probability that's the only explanation I can think of. However it was selected though if 3.2.0_12 was available then other, incompatible, pkgs likely were and could have been pulled in when you tried to update pfBlocker.

      1 Reply Last reply Reply Quote 1
      • G
        GTR_991
        last edited by GTR_991

        i had the same crush on my PFsense appliance with intel n5105 and latest stable CE version

        Crash report begins.  Anonymous machine information:
        
        amd64
        14.0-CURRENT
        FreeBSD 14.0-CURRENT amd64 1400094 #1 RELENG_2_7_2-n255948-8d2b56da39c: Wed Dec  6 20:45:47 UTC 2023     root@freebsd:/var/jenkins/workspace/pfSense-CE-snapshots-2_7_2-main/obj/amd64/StdASW5b/var/jenkins/workspace/pfSense-CE-snapshots-2_7_2-main/sources/F
        
        Crash report details:
        
        PHP Errors:
        [23-Jul-2024 10:58:33 Etc/UTC] PHP Fatal error:  Maximum execution time of 900 seconds exceeded in /etc/inc/util.inc on line 1990
        [23-Jul-2024 11:01:40 Etc/UTC] PHP Fatal error:  Maximum execution time of 900 seconds exceeded in /etc/inc/util.inc on line 1990
        
        
        
        No FreeBSD crash data found.
        

        alt text

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

          That's in a different function though, executing a command rather than creating config. Did it happen when you were doing something specific?

          G 1 Reply Last reply Reply Quote 0
          • G
            GTR_991 @stephenw10
            last edited by GTR_991

            @stephenw10 Not really, actually after the crash php-fpm was going crazy and fully utilizing the CPU to 100% till i rebooted.
            After that i removed pfblocker, and been working stable since then.

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

              But but no changes preceding the crash?

              G 1 Reply Last reply Reply Quote 0
              • G
                GTR_991 @stephenw10
                last edited by

                @stephenw10 not at all, i was outside home when it crashed.

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

                  Hmm, I can only assume it was part of pfBlockers auto-update process then. Is that set to run around that time?

                  1 Reply Last reply Reply Quote 0
                  • J
                    Jericho46
                    last edited by Jericho46

                    Chiming in; I'm also getting same error in title on a 2100 after selecting to upgrade pfSenseBlockerNG to ver. 3.2.0_13
                    = =
                    PHP ERROR: Type: 1, File: /etc/inc/util.inc, Line: 3728, Message: Maximum execution time of 900 seconds exceeded @ 2024-08-14 18:34:29
                    PHP ERROR: Type: 1, File: /etc/inc/util.inc, Line: 3728, Message: Maximum execution time of 900 seconds exceeded @ 2024-08-14 18:41:55
                    = =

                    Eventually, I did a hard reset. I'm able to get back to the Setup Wizard. I removed packages for snort, wireguard, IPsec but removing blockerNG is a no-go.

                    Also I crashed with: 50x error

                    From package Manager, it hangs on 'reinstall BlockerNG' here:

                    Upgrading pfSense-pkg-pfBlockerNG...
                    Updating pfSense-core repository catalogue...
                    pfSense-core repository is up to date.
                    Updating pfSense repository catalogue...
                    pfSense repository is up to date.
                    All repositories are up to date.
                    Checking integrity... done (0 conflicting)
                    The following 1 package(s) will be affected (of 0 checked):

                    Installed packages to be DOWNGRADED:
                    pfSense-pkg-pfBlockerNG: 3.2.0_13 -> 3.2.0_10 [pfSense]

                    Number of packages to be downgraded: 1
                    [1/1] Downgrading pfSense-pkg-pfBlockerNG from 3.2.0_13 to 3.2.0_10...
                    [1/1] Extracting pfSense-pkg-pfBlockerNG-3.2.0_10: .......... done
                    Removing pfBlockerNG components...
                    Menu items... done.
                    Services... done.
                    Loading package instructions...
                    = crickets =

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

                      @Jericho46 said in "PHP Fatal error: Maximum execution time of 900 seconds exceeded in /etc/inc/util.inc on line 3728" after installing latest pfBlockerNG 3.2.0_12:

                      Installed packages to be DOWNGRADED:
                      pfSense-pkg-pfBlockerNG: 3.2.0_13 -> 3.2.0_10 [pfSense]

                      Hmm, how did you get the _13 pkg version? Did you select 24.08-dev at some point?

                      I would uninstall it entirely and then install it clean.

                      J 1 Reply Last reply Reply Quote 0
                      • J
                        Jericho46 @stephenw10
                        last edited by

                        @stephenw10 That version was available on my status page, and in Package manager, so I selected to (upgrade). That was super late Monday night / Tues after midnight. I usually check the status page every day and there was 4 or 5 updates that night, which is very unusual.

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

                          Hmm that should never have been available in 24.03 AFAIK. 3.2.0_10 is current version of the package in 24.03.

                          I would remove it entirely and then install it again clean.

                          ? 1 Reply Last reply Reply Quote 0
                          • ?
                            A Former User @stephenw10
                            last edited by

                            This post is deleted!
                            1 Reply Last reply Reply Quote 0
                            • stephenw10S
                              stephenw10 Netgate Administrator
                              last edited by stephenw10

                              You also switched to 24.08?

                              If so remove it. Switch the branch back to 24.03 and reinstall 3.2.0_10.

                              I 1 Reply Last reply Reply Quote 0
                              • I
                                incith @stephenw10
                                last edited by incith

                                @stephenw10 uhm hey, I'm getting this error on _15 tonight trying to upgrade from _08

                                PHP ERROR: Type: 1, File: /etc/inc/util.inc, Line: 3631, Message: Maximum execution time of 900 seconds exceeded

                                G 1 Reply Last reply Reply Quote 1
                                • G
                                  gigabitwanted @incith
                                  last edited by

                                  @incith The same has happened to me. The web UI is completely unresponsive; I rebooted and after another 15 minute timeout the console login prompt showed up. PHP is using 100% of the cpu. I tried reverting back to backup #5 (the one that was autocreated before updating pfblockerNG), then rebooting. No change; it’s as if it didn’t restore from the earlier backup at all. I’m now attempting to deinstall pfblockerNG from the command line and it’s been stuck at “loading package instructions” for many minutes.

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

                                    @gigabitwanted said in "PHP Fatal error: Maximum execution time of 900 seconds exceeded in /etc/inc/util.inc on line 3728" after installing latest pfBlockerNG 3.2.0_12:

                                    and it’s been stuck at “loading package instructions” for many minutes

                                    Yep, that's what I saw ....
                                    Interrupting it after 'PHP' staying at 100 % for half on hours or so, and still blocked on “loading package instructions”, pfSense started, to use a previous ZFS ! (I use Plus), so the GUI cert was to old, and because stupid me was using SHTS certs .... :( so locked out nicely.
                                    SSH and console was still ok.
                                    The previous ZFS was based upon the original 24.03 and 24.03_1 was available, so ok lets upgrade ... but no, that re installs packages also so when it reaches pfBlockerng ..... blocked again.
                                    Nice rabbit hole.

                                    De-installed pfBlockerng for the moment.

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

                                    1 Reply Last reply Reply Quote 0
                                    • GertjanG Gertjan referenced this topic on
                                    • W
                                      wufwuf
                                      last edited by wufwuf

                                      similar experience going from _08 to _15 on 2.7.2 CE edition... can no longer get to \status\dashboard menu also, and uninstalling pfblockerng from package manager is unresponsive.

                                      in the meantime internet access and other menus continue to work...

                                      what is the best resolution out there at this moment please?

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

                                        @wufwuf Same here, did an update before coming here. It just hangs until timeout.

                                        >>> Upgrading pfSense-pkg-pfBlockerNG-devel... 
                                        Updating pfSense-core repository catalogue...
                                        Fetching meta.conf: 
                                        Fetching packagesite.pkg: 
                                        pfSense-core repository is up to date.
                                        Updating pfSense repository catalogue...
                                        Fetching meta.conf: 
                                        Fetching packagesite.pkg: 
                                        pfSense repository is up to date.
                                        All repositories are up to date.
                                        The following 1 package(s) will be affected (of 0 checked):
                                        
                                        Installed packages to be UPGRADED:
                                        	pfSense-pkg-pfBlockerNG-devel: 3.2.0_8 -> 3.2.0_15 [pfSense]
                                        
                                        Number of packages to be upgraded: 1
                                        
                                        The operation will free 1 MiB.
                                        2 MiB to be downloaded.
                                        [1/1] Fetching pfSense-pkg-pfBlockerNG-devel-3.2.0_15.pkg: ......... done
                                        Checking integrity... done (0 conflicting)
                                        [1/1] Upgrading pfSense-pkg-pfBlockerNG-devel from 3.2.0_8 to 3.2.0_15...
                                        [1/1] Extracting pfSense-pkg-pfBlockerNG-devel-3.2.0_15: .......... done
                                        Removing pfBlockerNG-devel components...
                                        Menu items... done.
                                        Services... done.
                                        Loading package instructions...
                                        Removing pfBlockerNG...grep: /var/unbound/pfb_dnsbl.conf: No such file or directory
                                         All customizations/data will be retained... done.
                                        Saving updated package information...
                                        overwrite!
                                        Loading package configuration... done.
                                        Configuring package components...
                                        Loading package instructions...
                                        
                                        
                                        1 Reply Last reply Reply Quote 0
                                        • randombitsR
                                          randombits
                                          last edited by

                                          I tried removing pfBlockerNG then reinstall it and it still hangs on update.

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

                                            Mmm, OK seeing that in 2.7.2 with the devel package here too. Appears to be an issue with the pkg install/deinstall script. Digging....

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