fix: tune nextcloud / php-fpm pool settings

Calculated on https://spot13.com/pmcalculator/
with 4GiB RAM available, average php-fpm process size 80MiB

Original settings are
pm = dynamic
pm.max_children = 32
pm.max_requests = 500
pm.max_spare_servers = 4
pm.min_spare_servers = 2
pm.start_servers = 2
This commit is contained in:
teutat3s 2023-10-31 21:24:27 +01:00
parent 92996fb0c0
commit 9fc42c44a8
Signed by: teutat3s
GPG key ID: 4FA1D3FA524F22C1

View file

@ -115,6 +115,17 @@
"opcache.interned_strings_buffer" = "16";
};
# Calculated with 4GiB RAM, 80MiB process size available on
# https://spot13.com/pmcalculator/
poolSettings = {
pm = "dynamic";
"pm.max_children" = "52";
"pm.max_requests" = "500";
"pm.max_spare_servers" = "39";
"pm.min_spare_servers" = "13";
"pm.start_servers" = "13";
};
caching.redis = true;
autoUpdateApps.enable = true;
database.createLocally = true;