1
0
mirror of https://github.com/pi-hole/pi-hole synced 2024-12-22 06:48:07 +00:00

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>
This commit is contained in:
RD WebDesign 2023-01-25 14:35:57 -03:00
parent db42ed1e4f
commit b9e401aaa3
No known key found for this signature in database
GPG Key ID: AE3C7FC910687F33

View File

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