diff --git a/lib.sh b/lib.sh index 2525ca4b..819ddd8f 100644 --- a/lib.sh +++ b/lib.sh @@ -290,7 +290,7 @@ then fi } -caulculate_php_fpm() { +calculate_php_fpm() { # Minimum amount of max children (lower than this won't work with 2 GB RAM) min_max_children=8 # If start servers are lower than this then it's likely that there are room for max_spare_servers diff --git a/nextcloud_install_production.sh b/nextcloud_install_production.sh index b7d95462..317d30a6 100644 --- a/nextcloud_install_production.sh +++ b/nextcloud_install_production.sh @@ -303,7 +303,7 @@ listen = /run/php/php"$PHPVER"-fpm.nextcloud.sock listen.owner = www-data listen.group = www-data pm = dynamic -; max_children is set dynamically with caulculate_php_fpm() +; max_children is set dynamically with calculate_php_fpm() pm.max_children = 8 pm.start_servers = 3 pm.min_spare_servers = 2