Frequent pfSense Plus GUI Crashes and Service Failures
-
Good day!
I'm experiencing an issue with the pfSense Plus GUI—it crashes and becomes inaccessible. When this happens, several firewall services such as VPN and the DHCP server also stop working, requiring me to reboot the firewall to restore functionality.
This problem occurs frequently, around 3 to 5 times a day.
Could you please help identify the cause of this issue and advise on how to resolve it?
Netgate 8200 Max
Version 24.11-RELEASE (amd64)
built on Sun Jan 12 0:11:00 PST 2025
FreeBSD 15.0-CURRENTThank you!
PHP-FPM Failures
Continuous PHP-FPM socket connection errors like:
connect() to unix:/var/run/php-fpm.socket failed (61: Connection refused)
Error messages;
Jun 4 07:03:00 nginx 2025/06/04 07:03:00 [error] 24397#101006: *1993 connect() to unix:/var/run/php-fpm.socket failed (61: Connection refused) while connecting to upstream, client: 192.168.250.25, server: , request: "POST /getstats.php HTTP/2.0", upstream: "fastcgi://unix:/var/run/php-fpm.socket:", host: "192.168.250.1", referrer: "https://192.168.250.1/"
Jun 4 07:03:00 nginx 2025/06/04 07:03:00 [error] 24397#101006: *1993 connect() to unix:/var/run/php-fpm.socket failed (61: Connection refused) while connecting to upstream, client: 192.168.250.25, server: , request: "POST /widgets/widgets/disks.widget.php HTTP/2.0", upstream: "fastcgi://unix:/var/run/php-fpm.socket:", host: "192.168.250.1", referrer: "https://192.168.250.1/"
Jun 4 07:03:00 nginx 2025/06/04 07:03:00 [error] 24397#101006: *1993 connect() to unix:/var/run/php-fpm.socket failed (61: Connection refused) while connecting to upstream, client: 192.168.250.25, server: , request: "POST /widgets/widgets/interfaces.widget.php HTTP/2.0", upstream: "fastcgi://unix:/var/run/php-fpm.socket:", host: "192.168.250.1", referrer: "https://192.168.250.1/"
Jun 4 07:03:00 nginx 2025/06/04 07:03:00 [error] 24397#101006: *1993 connect() to unix:/var/run/php-fpm.socket failed (61: Connection refused) while connecting to upstream, client: 192.168.250.25, server: , request: "POST /widgets/widgets/gateways.widget.php HTTP/2.0", upstream: "fastcgi://unix:/var/run/php-fpm.socket:", host: "192.168.250.1", referrer: "https://192.168.250.1/"
Jun 4 07:03:00 nginx 2025/06/04 07:03:00 [error] 24397#101006: *1993 connect() to unix:/var/run/php-fpm.socket failed (61: Connection refused) while connecting to upstream, client: 192.168.250.25, server: , request: "POST /widgets/widgets/dyn_dns_status.widget.php HTTP/2.0", upstream: "fastcgi://unix:/var/run/php-fpm.socket:", host: "192.168.250.1", referrer: "https://192.168.250.1/"
Jun 4 07:03:04 nginx 2025/06/04 07:03:04 [error] 24397#101006: *1993 upstream timed out (60: Operation timed out) while reading response header from upstream, client: 192.168.250.25, server: , request: "GET /widgets/widgets/pfblockerng.widget.php?getNewWidget=1748991604720 HTTP/2.0", upstream: "fastcgi://unix:/var/run/php-fpm.socket", host: "192.168.250.1", referrer: "https://192.168.250.1/"
Jun 4 07:03:05 nginx 2025/06/04 07:03:05 [error] 24397#101006: *1993 connect() to unix:/var/run/php-fpm.socket failed (61: Connection refused) while connecting to upstream, client: 192.168.250.25, server: , request: "GET /widgets/widgets/pfblockerng.widget.php?getNewWidget=1748991785588 HTTP/2.0", upstream: "fastcgi://unix:/var/run/php-fpm.socket:", host: "192.168.250.1", referrer: "https://192.168.250.1/"
Jun 4 07:03:05 nginx 2025/06/04 07:03:05 [error] 24397#101006: *1993 connect() to unix:/var/run/php-fpm.socket failed (61: Connection refused) while connecting to upstream, client: 192.168.250.25, server: , request: "POST /getstats.php HTTP/2.0", upstream: "fastcgi://unix:/var/run/php-fpm.socket:", host: "192.168.250.1", referrer: "https://192.168.250.1/"
Jun 4 07:03:05 nginx 2025/06/04 07:03:05 [error] 24397#101006: *1993 connect() to unix:/var/run/php-fpm.socket failed (61: Connection refused) while connecting to upstream, client: 192.168.250.25, server: , request: "POST /widgets/widgets/system_information.widget.php HTTP/2.0", upstream: "fastcgi://unix:/var/run/php-fpm.socket:", host: "192.168.250.1", referrer: "https://192.168.250.1/"
Jun 4 07:03:05 nginx 2025/06/04 07:03:05 [error] 24397#101006: *1993 connect() to unix:/var/run/php-fpm.socket failed (61: Connection refused) while connecting to upstream, client: 192.168.250.25, server: , request: "POST /widgets/widgets/disks.widget.php HTTP/2.0", upstream: "fastcgi://unix:/var/run/php-fpm.socket:", host: "192.168.250.1", referrer: "https://192.168.250.1/"
Jun 4 07:03:05 nginx 2025/06/04 07:03:05 [error] 24397#101006: *1993 connect() to unix:/var/run/php-fpm.socket failed (61: Connection refused) while connecting to upstream, client: 192.168.250.25, server: , request: "POST /widgets/widgets/interfaces.widget.php HTTP/2.0", upstream: "fastcgi://unix:/var/run/php-fpm.socket:", host: "192.168.250.1", referrer: "https://192.168.250.1/"
Jun 4 07:03:05 nginx 2025/06/04 07:03:05 [error] 24397#101006: *1993 connect() to unix:/var/run/php-fpm.socket failed (61: Connection refused) while connecting to upstream, client: 192.168.250.25, server: , request: "POST /widgets/widgets/gateways.widget.php HTTP/2.0", upstream: "fastcgi://unix:/var/run/php-fpm.socket:", host: "192.168.250.1", referrer: "https://192.168.250.1/"
Jun 4 07:03:05 nginx 2025/06/04 07:03:05 [error] 24397#101006: *1993 connect() to unix:/var/run/php-fpm.socket failed (61: Connection refused) while connecting to upstream, client: 192.168.250.25, server: , request: "POST /widgets/widgets/dyn_dns_status.widget.php HTTP/2.0", upstream: "fastcgi://unix:/var/run/php-fpm.socket:", host: "192.168.250.1", referrer: "https://192.168.250.1/"
Jun 4 07:03:07 nginx 2025/06/04 07:03:07 [error] 24397#101006: *1993 upstream timed out (60: Operation timed out) while reading response header from upstream, client: 192.168.250.25, server: , request: "POST /getstats.php HTTP/2.0", upstream: "fastcgi://unix:/var/run/php-fpm.socket", host: "192.168.250.1", referrer: "https://192.168.250.1/"
Jun 4 07:03:07 nginx 2025/06/04 07:03:07 [error] 24397#101006: *1993 upstream timed out (60: Operation timed out) while reading response header from upstream, client: 192.168.250.25, server: , request: "POST /widgets/widgets/disks.widget.php HTTP/2.0", upstream: "fastcgi://unix:/var/run/php-fpm.socket", host: "192.168.250.1", referrer: "https://192.168.250.1/"
Jun 4 07:03:07 nginx 2025/06/04 07:03:07 [error] 24397#101006: *1993 upstream timed out (60: Operation timed out) while reading response header from upstream, client: 192.168.250.25, server: , request: "POST /widgets/widgets/interfaces.widget.php HTTP/2.0", upstream: "fastcgi://unix:/var/run/php-fpm.socket", host: "192.168.250.1", referrer: "https://192.168.250.1/"
Jun 4 07:03:07 nginx 2025/06/04 07:03:07 [error] 24397#101006: *1993 upstream timed out (60: Operation timed out) while reading response header from upstream, client: 192.168.250.25, server: , request: "POST /widgets/widgets/gateways.widget.php HTTP/2.0", upstream: "fastcgi://unix:/var/run/php-fpm.socket", host: "192.168.250.1", referrer: "https://192.168.250.1/"
Jun 4 07:03:07 nginx 2025/06/04 07:03:07 [error] 24397#101006: *1993 upstream timed out (60: Operation timed out) while reading response header from upstream, client: 192.168.250.25, server: , request: "POST /widgets/widgets/dyn_dns_status.widget.php HTTP/2.0", upstream: "fastcgi://unix:/var/run/php-fpm.socket", host: "192.168.250.1", referrer: "https://192.168.250.1/"
Jun 4 07:03:10 nginx 2025/06/04 07:03:10 [error] 24397#101006: *1993 connect() to unix:/var/run/php-fpm.socket failed (61: Connection refused) while connecting to upstream, client: 192.168.250.25, server: , request: "POST /getstats.php HTTP/2.0", upstream: "fastcgi://unix:/var/run/php-fpm.socket:", host: "192.168.250.1", referrer: "https://192.168.250.1/"
Jun 4 07:03:10 nginx 2025/06/04 07:03:10 [error] 24397#101006: *1993 connect() to unix:/var/run/php-fpm.socket failed (61: Connection refused) while connecting to upstream, client: 192.168.250.25, server: , request: "POST /widgets/widgets/disks.widget.php HTTP/2.0", upstream: "fastcgi://unix:/var/run/php-fpm.socket:", host: "192.168.250.1", referrer: "https://192.168.250.1/"
Jun 4 07:03:10 nginx 2025/06/04 07:03:10 [error] 24397#101006: *1993 connect() to unix:/var/run/php-fpm.socket failed (61: Connection refused) while connecting to upstream, client: 192.168.250.25, server: , request: "POST /widgets/widgets/interfaces.widget.php HTTP/2.0", upstream: "fastcgi://unix:/var/run/php-fpm.socket:", host: "192.168.250.1", referrer: "https://192.168.250.1/"
Jun 4 07:03:10 nginx 2025/06/04 07:03:10 [error] 24397#101006: *1993 connect() to unix:/var/run/php-fpm.socket failed (61: Connection refused) while connecting to upstream, client: 192.168.250.25, server: , request: "POST /widgets/widgets/gateways.widget.php HTTP/2.0", upstream: "fastcgi://unix:/var/run/php-fpm.socket:", host: "192.168.250.1", referrer: "https://192.168.250.1/"Jun 4 07:03:10 nginx 2025/06/04 07:03:10 [error] 24397#101006: *1993 connect() to unix:/var/run/php-fpm.socket failed (61: Connection refused) while connecting to upstream, client: 192.168.250.25, server: , request: "POST /widgets/widgets/dyn_dns_status.widget.php HTTP/2.0", upstream: "fastcgi://unix:/var/run/php-fpm.socket:", host: "192.168.250.1", referrer: "https://192.168.250.1/"
Jun 4 07:03:15 nginx 2025/06/04 07:03:15 [error] 24397#101006: *1993 connect() to unix:/var/run/php-fpm.socket failed (61: Connection refused) while connecting to upstream, client: 192.168.250.25, server: , request: "GET /widgets/widgets/pfblockerng.widget.php?getNewWidget=1748991795614 HTTP/2.0", upstream: "fastcgi://unix:/var/run/php-fpm.socket:", host: "192.168.250.1", referrer: "https://192.168.250.1/"
Jun 4 07:03:15 nginx 2025/06/04 07:03:15 [error] 24397#101006: *1993 connect() to unix:/var/run/php-fpm.socket failed (61: Connection refused) while connecting to upstream, client: 192.168.250.25, server: , request: "POST /getstats.php HTTP/2.0", upstream: "fastcgi://unix:/var/run/php-fpm.socket:", host: "192.168.250.1", referrer: "https://192.168.250.1/"
Jun 4 07:03:15 nginx 2025/06/04 07:03:15 [error] 24397#101006: *1993 connect() to unix:/var/run/php-fpm.socket failed (61: Connection refused) while connecting to upstream, client: 192.168.250.25, server: , request: "POST /widgets/widgets/disks.widget.php HTTP/2.0", upstream: "fastcgi://unix:/var/run/php-fpm.socket:", host: "192.168.250.1", referrer: "https://192.168.250.1/"
Jun 4 07:03:15 nginx 2025/06/04 07:03:15 [error] 24397#101006: *1993 connect() to unix:/var/run/php-fpm.socket failed (61: Connection refused) while connecting to upstream, client: 192.168.250.25, server: , request: "POST /widgets/widgets/interfaces.widget.php HTTP/2.0", upstream: "fastcgi://unix:/var/run/php-fpm.socket:", host: "192.168.250.1", referrer: "https://192.168.250.1/"
Jun 4 07:03:15 nginx 2025/06/04 07:03:15 [error] 24397#101006: *1993 connect() to unix:/var/run/php-fpm.socket failed (61: Connection refused) while connecting to upstream, client: 192.168.250.25, server: , request: "POST /widgets/widgets/gateways.widget.php HTTP/2.0", upstream: "fastcgi://unix:/var/run/php-fpm.socket:", host: "192.168.250.1", referrer: "https://192.168.250.1/"
Jun 4 07:03:15 nginx 2025/06/04 07:03:15 [error] 24397#101006: *1993 connect() to unix:/var/run/php-fpm.socket failed (61: Connection refused) while connecting to upstream, client: 192.168.250.25, server: , request: "POST /widgets/widgets/dyn_dns_status.widget.php HTTP/2.0", upstream: "fastcgi://unix:/var/run/php-fpm.socket:", host: "192.168.250.1", referrer: "https://192.168.250.1/"
Jun 4 07:03:20 nginx 2025/06/04 07:03:20 [error] 24397#101006: *1993 connect() to unix:/var/run/php-fpm.socket failed (61: Connection refused) while connecting to upstream, client: 192.168.250.25, server: , request: "POST /getstats.php HTTP/2.0", upstream: "fastcgi://unix:/var/run/php-fpm.socket:", host: "192.168.250.1", referrer: "https://192.168.250.1/"
Jun 4 07:03:20 nginx 2025/06/04 07:03:20 [error] 24397#101006: *1993 connect() to unix:/var/run/php-fpm.socket failed (61: Connection refused) while connecting to upstream, client: 192.168.250.25, server: , request: "POST /widgets/widgets/disks.widget.php HTTP/2.0", upstream: "fastcgi://unix:/var/run/php-fpm.socket:", host: "192.168.250.1", referrer: "https://192.168.250.1/"
Jun 4 07:03:20 nginx 2025/06/04 07:03:20 [error] 24397#101006: *1993 connect() to unix:/var/run/php-fpm.socket failed (61: Connection refused) while connecting to upstream, client: 192.168.250.25, server: , request: "POST /widgets/widgets/interfaces.widget.php HTTP/2.0", upstream: "fastcgi://unix:/var/run/php-fpm.socket:", host: "192.168.250.1", referrer: "https://192.168.250.1/"
Jun 4 07:03:20 nginx 2025/06/04 07:03:20 [error] 24397#101006: *1993 connect() to unix:/var/run/php-fpm.socket failed (61: Connection refused) while connecting to upstream, client: 192.168.250.25, server: , request: "POST /widgets/widgets/gateways.widget.php HTTP/2.0", upstream: "fastcgi://unix:/var/run/php-fpm.socket:", host: "192.168.250.1", referrer: "https://192.168.250.1/"
Jun 4 07:03:20 nginx 2025/06/04 07:03:20 [error] 24397#101006: *1993 connect() to unix:/var/run/php-fpm.socket failed (61: Connection refused) while connecting to upstream, client: 192.168.250.25, server: , request: "POST /widgets/widgets/dyn_dns_status.widget.php HTTP/2.0", upstream: "fastcgi://unix:/var/run/php-fpm.socket:", host: "192.168.250.1", referrer: "https://192.168.250.1/"
Jun 4 07:03:25 nginx 2025/06/04 07:03:25 [error] 24397#101006: *1993 connect() to unix:/var/run/php-fpm.socket failed (61: Connection refused) while connecting to upstream, client: 192.168.250.25, server: , request: "GET /widgets/widgets/pfblockerng.widget.php?getNewWidget=1748991805638 HTTP/2.0", upstream: "fastcgi://unix:/var/run/php-fpm.socket:", host: "192.168.250.1", referrer: "https://192.168.250.1/"
Jun 4 07:03:25 nginx 2025/06/04 07:03:25 [error] 24397#101006: *1993 connect() to unix:/var/run/php-fpm.socket failed (61: Connection refused) while connecting to upstream, client: 192.168.250.25, server: , request: "POST /getstats.php HTTP/2.0", upstream: "fastcgi://unix:/var/run/php-fpm.socket:", host: "192.168.250.1", referrer: "https://192.168.250.1/"
Jun 4 07:03:25 nginx 2025/06/04 07:03:25 [error] 24397#101006: *1993 connect() to unix:/var/run/php-fpm.socket failed (61: Connection refused) while connecting to upstream, client: 192.168.250.25, server: , request: "POST /widgets/widgets/disks.widget.php HTTP/2.0", upstream: "fastcgi://unix:/var/run/php-fpm.socket:", host: "192.168.250.1", referrer: "https://192.168.250.1/"
Jun 4 07:03:25 nginx 2025/06/04 07:03:25 [error] 24397#101006: *1993 connect() to unix:/var/run/php-fpm.socket failed (61: Connection refused) while connecting to upstream, client: 192.168.250.25, server: , request: "POST /widgets/widgets/interfaces.widget.php HTTP/2.0", upstream: "fastcgi://unix:/var/run/php-fpm.socket:", host: "192.168.250.1", referrer: "https://192.168.250.1/"
Jun 4 07:03:25 nginx 2025/06/04 07:03:25 [error] 24397#101006: *1993 connect() to unix:/var/run/php-fpm.socket failed (61: Connection refused) while connecting to upstream, client: 192.168.250.25, server: , request: "POST /widgets/widgets/gateways.widget.php HTTP/2.0", upstream: "fastcgi://unix:/var/run/php-fpm.socket:", host: "192.168.250.1", referrer: "https://192.168.250.1/"
Jun 4 07:03:25 nginx 2025/06/04 07:03:25 [error] 24397#101006: *1993 connect() to unix:/var/run/php-fpm.socket failed (61: Connection refused) while connecting to upstream, client: 192.168.250.25, server: , request: "POST /widgets/widgets/dyn_dns_status.widget.php HTTP/2.0", upstream: "fastcgi://unix:/var/run/php-fpm.socket:", host: "192.168.250.1", referrer: "https://192.168.250.1/"Jun 4 07:03:30 nginx 2025/06/04 07:03:30 [error] 24397#101006: *1993 connect() to unix:/var/run/php-fpm.socket failed (61: Connection refused) while connecting to upstream, client: 192.168.250.25, server: , request: "POST /getstats.php HTTP/2.0", upstream: "fastcgi://unix:/var/run/php-fpm.socket:", host: "192.168.250.1", referrer: "https://192.168.250.1/"
Jun 4 07:03:30 nginx 2025/06/04 07:03:30 [error] 24397#101006: *1993 connect() to unix:/var/run/php-fpm.socket failed (61: Connection refused) while connecting to upstream, client: 192.168.250.25, server: , request: "POST /widgets/widgets/disks.widget.php HTTP/2.0", upstream: "fastcgi://unix:/var/run/php-fpm.socket:", host: "192.168.250.1", referrer: "https://192.168.250.1/"
Jun 4 07:03:30 nginx 2025/06/04 07:03:30 [error] 24397#101006: *1993 connect() to unix:/var/run/php-fpm.socket failed (61: Connection refused) while connecting to upstream, client: 192.168.250.25, server: , request: "POST /widgets/widgets/interfaces.widget.php HTTP/2.0", upstream: "fastcgi://unix:/var/run/php-fpm.socket:", host: "192.168.250.1", referrer: "https://192.168.250.1/"
Jun 4 07:03:30 nginx 2025/06/04 07:03:30 [error] 24397#101006: *1993 connect() to unix:/var/run/php-fpm.socket failed (61: Connection refused) while connecting to upstream, client: 192.168.250.25, server: , request: "POST /widgets/widgets/gateways.widget.php HTTP/2.0", upstream: "fastcgi://unix:/var/run/php-fpm.socket:", host: "192.168.250.1", referrer: "https://192.168.250.1/"
Jun 4 07:03:30 nginx 2025/06/04 07:03:30 [error] 24397#101006: *1993 connect() to unix:/var/run/php-fpm.socket failed (61: Connection refused) while connecting to upstream, client: 192.168.250.25, server: , request: "POST /widgets/widgets/dyn_dns_status.widget.php HTTP/2.0", upstream: "fastcgi://unix:/var/run/php-fpm.socket:", host: "192.168.250.1", referrer: "https://192.168.250.1/"
-
@smsigroupit if PHP isn’t running then the web server/GUI isn’t going to work. None of that (PHP) is related to other services like DHCP.
Can you see any reason why PHP isn’t running? Or what’s happening to other services?
-
Hi @SteveITS,
Thanks for the clarification.
I haven’t identified a clear reason why PHP isn’t running yet. However, when the GUI becomes inaccessible, I also observe the following:
The DHCP server stops assigning IP addresses. VPN clients are disconnected.
Are there any specific logs or diagnostics you recommend checking to pinpoint why PHP stops or why the services fail simultaneously?
-
System Patches
Should i apply all the recommended patches?
-
@smsigroupit Check the main system log.
You can apply the patches but I doubt they will change your symptoms.
-
-
What packages are you running?
-
-
Do yo have the service watchdog enabled? If so what things is it checking?
That is really only supposed to be used for troubleshooting and doesn't play nice with everything. If you have it set to watch Suricata for example you can end up with numerous instances running.
But, yes, something is probably using the available php threads and I'd expect to see something in the system logs in the run up to it ceasing to respond.
I assume it' doesn't actually 'crash'? You don't see a kernel panic and crash report?
-
i already remove the service watchdog, will monitor the system status
i dont see any kernel panic in the system logs
if click the Crash Reporter does nothing
-
Hmm, check in /var/crash if you can. Any crash report that's still on the system should be there.
-
there is no files
also im getting this error
Jun 5 07:28:56 nginx 2025/06/05 07:28:56 [error] 12856#100360: send() failed (54: Connection reset by peer) while logging to syslog, server: unix:/var/run/log
-
@smsigroupit That could simply mean, that there's no crash/kernel panic thus no dump. Mostly when there was only a PHP error that gets recorded as "crash".
I guess that the symptoms could match the tracked bug in redmine where the widgets/dashboard is under heavy load/overload through widget handling that got changed/fixed with 25.x then? Don't know if that fix was available as System Patch but remember seeing it in the proposed release notes for 25.x
Cheers
-
Mmm, possibly. Though that usually only makes it slow or use a lot CPU cycles. And the 8200 has a lot of spare CPU cycles to use up so.... it seems unlikely.
DHCP and VPN failures could be a filesystem problem. Is it close to full?
-
-
Thank you!
After applying all the patches, I no longer encountered any crashes in the pfSense GUI.
Will monitor the system status and this error message;
nginx 2025/06/05 07:28:56 [error] 12856#100360: send() failed (54: Connection reset by peer) while logging to syslog, server: unix:/var/run/log