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 23.4k 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.
    • J
      jrgmartinez @stephenw10
      last edited by

      It's a good thing I found your suggestion here @stephenw10!

      My box was running hot for the past few hours!

      5c09d135-7f5f-4fcf-9020-a3c71b580544-image.png

      M J 2 Replies Last reply Reply Quote 0
      • M
        mcury @jrgmartinez
        last edited by

        What I'm asking myself right now is the reason why that package remains there for update.
        It needs to be pulled out asap..

        dead on arrival, nowhere to be found.

        1 Reply Last reply Reply Quote 2
        • J
          jrgmartinez @jrgmartinez
          last edited by

          Hmmm....

          Seeing PHP using up a lot of CPU usage still...

          PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU COMMAND
          97521 root 1 135 0 69M 46M CPU1 1 80:11 100.16% php
          93401 root 1 135 0 69M 46M CPU2 2 140:02 100.16% php
          80957 root 1 135 0 69M 46M CPU0 0 111:35 99.82% php
          19662 root 1 21 0 146M 55M accept 2 0:16 0.32% php-fpm
          44487 root 1 20 0 14M 3812K CPU3 3 0:00 0.08% top

          I will try a reboot...

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

            I had to reboot. pfBlocker cron job was stuck at 100% before that.

            W 1 Reply Last reply Reply Quote 1
            • W
              wufwuf @stephenw10
              last edited by

              @stephenw10 the pfsense box upon reboot is stuck on this line:

              [fib_algo] inet.0 (bsearch4#20) rebuild_fd_flm: switching algo to radix4_lockless

              line. ie not able to get into terminal - is this expected from this bug or is the box suffering from some other issue before this pfblockerng issue?

              May require a complete reinstall of pfsense???

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

                Nope that looks like something different. That line is not actually an error, that's always shown.

                Try hitting ctl+t and see if it responds with whatever process is stuck.

                W 1 Reply Last reply Reply Quote 0
                • T
                  TheNarc @stephenw10
                  last edited by

                  @stephenw10 Thank you for this! What an unmitigated clusterfornication this has been. Well, that's not true, you've helped mitigate it! But wow.

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

                    Mmm, this is the devel package where new code is added for testing. So normally this should not affect that many people but in pfBlocker the dev pkg has almost become the default so.....

                    We are working on it....

                    T 1 Reply Last reply Reply Quote 0
                    • T
                      TheNarc @stephenw10
                      last edited by

                      @stephenw10 Definitely understood and appreciated! The whole situation with the "devel" and "normal" packages becoming (to my knowledge) equivalent was always confusing. Much credit for addressing this and getting help out incredibly rapidly!

                      S 1 Reply Last reply Reply Quote 1
                      • W
                        wufwuf @stephenw10
                        last edited by

                        @stephenw10 indeed, after a netflix episode it is back to the interface list / numbered menu again...

                        but how do i do the uninstall per above screen cap - given can't get into the GUI now? is there a CL command to uninstall as you described above?

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

                          Yup as shown in the above post: https://forum.netgate.com/post/1185688

                          1 Reply Last reply Reply Quote 0
                          • S
                            SteveITS Galactic Empire @TheNarc
                            last edited by

                            @TheNarc 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:

                            whole situation with the "devel" and "normal" packages becoming (to my knowledge) equivalent was always confusing

                            Driving on by, from what I've seen the not-devel was not being updated much for a while so everyone started using -devel. I know we had to at one point to get MaxMind to work on all our clients. We moved back to not-devel when they became equivalent, since we follow the recommendations and uninstall packages like that during upgrades, anyway. The maintainer has posted he's going to use -devel as more like a beta version, which I think was the original intent (?). Stuff like:

                            @BBcan177 said in pfBlockerNG-devel v3.2.0_15:

                            Once these changes have baked for a few days in pfBlockerNG-devel, I will push these changes to pfBlockerNG.

                            Pre-2.7.2/23.09: Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
                            When upgrading, allow 10-15 minutes to restart, or more depending on packages and device speed.
                            Upvote 👍 helpful posts!

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

                              Yup, exactly.

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

                                @wufwuf
                                found out how by searching:

                                https://forums.freebsd.org/threads/questions-about-installing-removing-packages.93430/

                                now there is version _16 - being installed now...

                                with message 'package database is busy while closing!'

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

                                  Version _16 reverts the last change but it appears the issue is deeper than that...

                                  S 1 Reply Last reply Reply Quote 0
                                  • S
                                    SteveITS Galactic Empire @stephenw10
                                    last edited by

                                    @stephenw10 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:

                                    Version _16 reverts the last change but it appears the issue is deeper than that...

                                    Heh, heh, classic programming...introduce bug, completely revert code, bug still exists. ٩(͡๏̯͡๏)۶

                                    Pre-2.7.2/23.09: Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
                                    When upgrading, allow 10-15 minutes to restart, or more depending on packages and device speed.
                                    Upvote 👍 helpful posts!

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

                                      Ha, yup. Testing _17....

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

                                        Looks good:

                                        >>> Installing 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 12 package(s) will be affected (of 0 checked):
                                        
                                        New packages to be INSTALLED:
                                        	gnugrep: 3.11 [pfSense]
                                        	grepcidr: 2.0 [pfSense]
                                        	iprange: 1.0.4 [pfSense]
                                        	jq: 1.7_1 [pfSense]
                                        	lighttpd: 1.4.72 [pfSense]
                                        	lua54: 5.4.6 [pfSense]
                                        	nettle: 3.9.1 [pfSense]
                                        	pfSense-pkg-pfBlockerNG-devel: 3.2.0_17 [pfSense]
                                        	py311-maxminddb: 2.4.0 [pfSense]
                                        	py311-sqlite3: 3.11.6_8 [pfSense]
                                        	rsync: 3.2.7 [pfSense]
                                        	xxhash: 0.8.2 [pfSense]
                                        
                                        Number of packages to be installed: 12
                                        
                                        The process will require 18 MiB more space.
                                        5 MiB to be downloaded.
                                        [1/12] Fetching py311-sqlite3-3.11.6_8.pkg: ... done
                                        [2/12] Fetching lighttpd-1.4.72.pkg: .......... done
                                        [3/12] Fetching gnugrep-3.11.pkg: .......... done
                                        [4/12] Fetching nettle-3.9.1.pkg: .......... done
                                        [5/12] Fetching lua54-5.4.6.pkg: .......... done
                                        [6/12] Fetching jq-1.7_1.pkg: .......... done
                                        [7/12] Fetching grepcidr-2.0.pkg: . done
                                        [8/12] Fetching xxhash-0.8.2.pkg: ...... done
                                        [9/12] Fetching iprange-1.0.4.pkg: .. done
                                        [10/12] Fetching rsync-3.2.7.pkg: .......... done
                                        [11/12] Fetching pfSense-pkg-pfBlockerNG-devel-3.2.0_17.pkg: ........ done
                                        [12/12] Fetching py311-maxminddb-2.4.0.pkg: .. done
                                        Checking integrity... done (0 conflicting)
                                        [1/12] Installing nettle-3.9.1...
                                        [1/12] Extracting nettle-3.9.1: .......... done
                                        [2/12] Installing lua54-5.4.6...
                                        [2/12] Extracting lua54-5.4.6: ......... done
                                        [3/12] Installing xxhash-0.8.2...
                                        [3/12] Extracting xxhash-0.8.2: .......... done
                                        [4/12] Installing py311-sqlite3-3.11.6_8...
                                        [4/12] Extracting py311-sqlite3-3.11.6_8: ........ done
                                        [5/12] Installing lighttpd-1.4.72...
                                        ===> Creating groups.
                                        Using existing group 'www'.
                                        ===> Creating users
                                        Using existing user 'www'.
                                        [5/12] Extracting lighttpd-1.4.72: .......... done
                                        [6/12] Installing gnugrep-3.11...
                                        [6/12] Extracting gnugrep-3.11: .......... done
                                        [7/12] Installing jq-1.7_1...
                                        [7/12] Extracting jq-1.7_1: .......... done
                                        [8/12] Installing grepcidr-2.0...
                                        [8/12] Extracting grepcidr-2.0: ..... done
                                        [9/12] Installing iprange-1.0.4...
                                        [9/12] Extracting iprange-1.0.4: ..... done
                                        [10/12] Installing rsync-3.2.7...
                                        [10/12] Extracting rsync-3.2.7: .......... done
                                        [11/12] Installing py311-maxminddb-2.4.0...
                                        [11/12] Extracting py311-maxminddb-2.4.0: .......... done
                                        [12/12] Installing pfSense-pkg-pfBlockerNG-devel-3.2.0_17...
                                        [12/12] Extracting pfSense-pkg-pfBlockerNG-devel-3.2.0_17: .......... done
                                        Saving updated package information...
                                        done.
                                        Loading package configuration... done.
                                        Configuring package components...
                                        Loading package instructions...
                                        Custom commands...
                                        Executing custom_php_install_command()...
                                        Rebuilding GeoIP tabs... done.
                                        Creating Firewall filter service... done.
                                        Renew Firewall filter executables... done.
                                        Starting Firewall filter Service... done.
                                        
                                        Creating DNSBL service... done.
                                        Renew DNSBL lighttpd executable... done.
                                        Creating DNSBL web server config ... done.
                                        Creating DNSBL Certificate... done.
                                        Starting DNSBL Service... done.
                                        
                                        Upgrading previous settings:
                                         Adv. Inbound firewall rule settings... no changes required ... done.
                                         OpenVPN/IPSec interface selections... no changes required ... done.
                                         Proofpoint/ET IQRisk settings... no changes required ... done.
                                         General Tab -> IP Tab settings... no changes required ... done.
                                         pfBlockerNGSuppress Alias -> IPv4 Suppression Customlist... no changes required ... done.
                                         Upgrading previous EasyLists to new format... no changes required ... done.
                                         Upgrading previous Firefox DoH to new format... no changes required ... done.
                                         MaxMind License Key configuration setting... no changes required ... done.
                                         Validating Widget cron settings... no changes required ... done.
                                        Upgrading... done
                                        
                                        Custom commands completed ... done.
                                        Executing custom_php_resync_config_command()...done.
                                        Menu items... done.
                                        Services... done.
                                        Writing configuration... done.
                                        =====
                                        Message from grepcidr-2.0:
                                        
                                        --
                                        ===>   NOTICE:
                                        
                                        The grepcidr port currently does not have a maintainer. As a result, it is
                                        more likely to have unresolved issues, not be up-to-date, or even be removed in
                                        the future. To volunteer to maintain this port, please create an issue at:
                                        
                                        https://bugs.freebsd.org/bugzilla
                                        
                                        More information about port maintainership is available at:
                                        
                                        https://docs.freebsd.org/en/articles/contributing/#ports-contributing
                                        =====
                                        Message from rsync-3.2.7:
                                        
                                        --
                                        Some scripts provided by rsync, such as rrsync,
                                        require Python, which is not installed by default.
                                        >>> Cleaning up cache... done.
                                        Success
                                        

                                        Bug reverted. Thanks @marcosm

                                        Digging further commences....

                                        GertjanG 1 Reply Last reply Reply Quote 1
                                        • M
                                          mcury @stephenw10
                                          last edited by

                                          @stephenw10 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:

                                          Ha, yup. Testing _17....

                                          If _17 has been reverted, we should expect a _18 in a near future ?
                                          If so, I'll just wait for that release.

                                          Bug reverted. Thanks @marcosm

                                          Nice, thanks everyone 👍

                                          dead on arrival, nowhere to be found.

                                          S 1 Reply Last reply Reply Quote 0
                                          • S
                                            SteveITS Galactic Empire @mcury
                                            last edited by

                                            @mcury 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:

                                            If _17 has been reverted, we should expect a _18

                                            Too far, it was _15, then _16, now _17 is the one he is discussing:

                                            @stephenw10 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:

                                            [12/12] Extracting pfSense-pkg-pfBlockerNG-devel-3.2.0_17: .......... done

                                            Pre-2.7.2/23.09: Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
                                            When upgrading, allow 10-15 minutes to restart, or more depending on packages and device speed.
                                            Upvote 👍 helpful posts!

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