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.
This commit is contained in:
Ad Schellevis 2024-07-26 08:49:38 +02:00
parent 678eaf2fb9
commit 724f8494d6

View File

@ -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"