Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
This commit is contained in:
Daniel Kesselberg 2019-09-01 20:29:40 +02:00 committed by Daniel Hansson
parent cf133de652
commit fa1544c294
2 changed files with 2 additions and 2 deletions

2
lib.sh
View File

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

View File

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