You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
check_command sed -i "s|pm.max_spare_servers.*|pm.max_spare_servers = $((PHP_FPM_MAX_CHILDREN -30))|g"$PHP_POOL_DIR/nextcloud.conf
346
-
restart_webserver
347
345
print_text_in_color "$IGreen""pm.max_spare_servers was set to $((PHP_FPM_MAX_CHILDREN -30))"
348
346
fi
349
347
fi
@@ -359,8 +357,8 @@ then
359
357
check_command sed -i "s|pm.max_spare_servers.*|pm.max_spare_servers = 3|g"$PHP_POOL_DIR/nextcloud.conf
360
358
print_text_in_color "$ICyan""All PHP-INI values were set back to default values as the value for pm.max_children ($PHP_FPM_MAX_CHILDREN) was lower than the sum of all the current values ($CURRENT_SUM)"
361
359
print_text_in_color "$ICyan""Please run this again to set optimal values"
0 commit comments