From 724f8494d64074e0384b9f593e699daf2d84d604 Mon Sep 17 00:00:00 2001 From: Ad Schellevis Date: Fri, 26 Jul 2024 08:49:38 +0200 Subject: [PATCH] webgui: long lasting calls and locking the request pipeline. work-around for https://github.com/opnsense/core/issues/7651 The number of php processes we offer to lighttpd is quite low (2 x 3), which results in a global lock when 2 dashboards are open at the same time. Although we should increase the limit, we also should figure out a way to limit the number of long running processes as well. --- src/etc/inc/plugins.inc.d/webgui.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/etc/inc/plugins.inc.d/webgui.inc b/src/etc/inc/plugins.inc.d/webgui.inc index 88cf886d1..6aaef8cd8 100644 --- a/src/etc/inc/plugins.inc.d/webgui.inc +++ b/src/etc/inc/plugins.inc.d/webgui.inc @@ -239,7 +239,7 @@ fastcgi.server = ( ".php" => "socket" => "{$fast_cgi_path}", "max-procs" => 2, "bin-environment" => ( - "PHP_FCGI_CHILDREN" => "3", + "PHP_FCGI_CHILDREN" => "20", "PHP_FCGI_MAX_REQUESTS" => "100" ), "bin-path" => "/usr/local/bin/php-cgi"