Change `min_procs` value to `1`

The original configuration used the default `min_procs=<max_procs_value>`.
A recent change set this value to zero, but a lot of systems started to
receive error messages about the socket file and in some systems lighttpd
wasn't able to restart the PHP process, returning HTTP error 503.
Setting this to 1 fixed those errors.

Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
pull/5149/head
RD WebDesign 1 year ago
parent db42ed1e4f
commit b9e401aaa3
No known key found for this signature in database
GPG Key ID: AE3C7FC910687F33

@ -25,7 +25,7 @@ $HTTP["url"] =~ "^/admin/" {
"localhost" => (
"socket" => "/run/lighttpd/pihole-php-fastcgi.socket",
"bin-path" => "/usr/bin/php-cgi",
"min-procs" => 0,
"min-procs" => 1,
"max-procs" => 1,
"bin-environment" => (
"PHP_FCGI_CHILDREN" => "4",

Loading…
Cancel
Save