"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
-
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.
-
That's in a different function though, executing a command rather than creating config. Did it happen when you were doing something specific?
-
@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. -
But but no changes preceding the crash?
-
@stephenw10 not at all, i was outside home when it crashed.
-
Hmm, I can only assume it was part of pfBlockers auto-update process then. Is that set to run around that time?
-
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 = -
@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.
-
@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.
-
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.
-
This post is deleted! -
You also switched to 24.08?
If so remove it. Switch the branch back to 24.03 and reinstall 3.2.0_10.
-
@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
-
@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.
-
@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.
-
-
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?
-
@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...
-
I tried removing pfBlockerNG then reinstall it and it still hangs on update.
-
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....
-
Ok one thing you can do is kill the script in another terminal to allow installing the regular package which then restores access to the dashboard etc.
So try to remove the devel version:
Checking integrity... done (0 conflicting) Deinstallation has been requested for the following 1 packages (of 0 packages in the universe): Installed packages to be REMOVED: pfSense-pkg-pfBlockerNG-devel: 3.2.0_15 Number of packages to be removed: 1 The operation will free 6 MiB. Proceed with deinstalling packages? [y/N]: y [1/1] Deinstalling pfSense-pkg-pfBlockerNG-devel-3.2.0_15... Removing pfBlockerNG-devel components... Menu items... done. Services... done. Loading package instructions... ^C
It hangs there. I ^C'd out of it.
Try to install the regular pkg:[2.7.2-RELEASE][admin@t70.stevew.lan]/root: pkg-static install pfSense-pkg-pfBlockerNG Updating pfSense-core repository catalogue... Fetching meta.conf: 0% Fetching packagesite.pkg: 0% pfSense-core repository is up to date. Updating pfSense repository catalogue... Fetching meta.conf: 0% Fetching packagesite.pkg: 0% pfSense repository is up to date. All repositories are up to date. The following 1 package(s) will be affected (of 0 checked): New packages to be INSTALLED: pfSense-pkg-pfBlockerNG: 3.2.0_8 [pfSense] Number of packages to be installed: 1 The process will require 7 MiB more space. 2 MiB to be downloaded. Proceed with this action? [y/N]: y [1/1] Fetching pfSense-pkg-pfBlockerNG-3.2.0_8.pkg: 100% 2 MiB 2.1MB/s 00:01 Checking integrity... done (1 conflicting) - pfSense-pkg-pfBlockerNG-3.2.0_8 [pfSense] conflicts with pfSense-pkg-pfBlockerNG-devel-3.2.0_15 [installed] on /etc/inc/priv/pfblockerng.priv.inc Checking integrity... done (0 conflicting) Conflicts with the existing packages have been found. One more solver iteration is needed to resolve them. The following 2 package(s) will be affected (of 0 checked): Installed packages to be REMOVED: pfSense-pkg-pfBlockerNG-devel: 3.2.0_15 New packages to be INSTALLED: pfSense-pkg-pfBlockerNG: 3.2.0_8 [pfSense] Number of packages to be removed: 1 Number of packages to be installed: 1 The process will require 1 MiB more space. Proceed with this action? [y/N]: y [1/2] Deinstalling pfSense-pkg-pfBlockerNG-devel-3.2.0_15... Removing pfBlockerNG-devel components... Menu items... done. Services... done. Loading package instructions...
It also hangs there. In another terminal kill the stuck process:
USER PID %CPU %MEM VSZ RSS TT STAT STARTED TIME COMMAND root 99141 0.0 0.1 13204 2824 u0 Is 27Jul24 0:00.01 login [pam] (login) root 896 0.0 0.2 13320 3200 u0 I 27Jul24 0:00.01 - -sh (sh) root 37739 0.0 0.2 13320 2928 u0 I+ 27Jul24 0:00.00 `-- /bin/sh /etc/rc.initial root 98197 0.0 0.1 13204 2832 v0 Is 27Jul24 0:00.01 login [pam] (login) root 2303 0.0 0.2 13320 3196 v0 I 27Jul24 0:00.02 - -sh (sh) root 4905 0.0 0.2 13320 2924 v0 I+ 27Jul24 0:00.00 `-- /bin/sh /etc/rc.initial root 98282 0.0 0.1 12788 2248 v1 Is+ 27Jul24 0:00.00 /usr/libexec/getty Pc ttyv1 root 98300 0.0 0.1 12788 2248 v2 Is+ 27Jul24 0:00.00 /usr/libexec/getty Pc ttyv2 root 98341 0.0 0.1 12788 2248 v3 Is+ 27Jul24 0:00.02 /usr/libexec/getty Pc ttyv3 root 98507 0.0 0.1 12788 2252 v4 Is+ 27Jul24 0:00.00 /usr/libexec/getty Pc ttyv4 root 98752 0.0 0.1 12788 2244 v5 Is+ 27Jul24 0:00.00 /usr/libexec/getty Pc ttyv5 root 98885 0.0 0.1 12788 2252 v6 Is+ 27Jul24 0:00.00 /usr/libexec/getty Pc ttyv6 root 98886 0.0 0.1 12788 2252 v7 Is+ 27Jul24 0:00.00 /usr/libexec/getty Pc ttyv7 root 66619 0.0 0.2 13320 2940 0 Is 11:47 0:00.01 /bin/sh /etc/rc.initial root 70940 0.0 0.3 16352 5176 0 I 11:47 0:00.08 - /bin/tcsh root 16321 0.0 0.4 19568 7300 0 I+ 11:59 0:00.00 `-- pkg-static install pfSense-pkg-pfBlockerNG root 16500 0.0 1.5 59988 29392 0 S+ 11:59 0:01.00 `-- pkg-static install pfSense-pkg-pfBlockerNG root 42185 69.1 2.5 70404 49340 0 R+ 11:59 0:40.13 `-- /usr/local/bin/php -f /etc/rc.packages pfSense-pkg-pfBlockerNG-devel DEINSTALL root 56040 0.0 0.2 13320 2940 1 Is 12:00 0:00.01 /bin/sh /etc/rc.initial root 60610 0.0 0.2 13792 4556 1 S 12:00 0:00.06 - /bin/tcsh root 74022 0.0 0.2 13388 3176 1 R+ 12:01 0:00.00 `-- ps -auwwd [2.7.2-RELEASE][admin@t70.stevew.lan]/root: kill 42185
The pkg then finishes installing and access is restored:
[1/2] Deleting files for pfSense-pkg-pfBlockerNG-devel-3.2.0_15: 100% Removing pfBlockerNG-devel components... Configuration... done. [2/2] Installing pfSense-pkg-pfBlockerNG-3.2.0_8... [2/2] Extracting pfSense-pkg-pfBlockerNG-3.2.0_8: 100% 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. pkg-static: Package database is busy while closing!
Or wait for a pkg update that fixes this.
Steve
-