forked from pub-solar/infra
Merge pull request 'fix: tune nextcloud / php-fpm pool settings' (#42) from fix/nextcloud-tuning into main
Reviewed-on: pub-solar/infra#42 Reviewed-by: b12f <hello@benjaminbaedorf.eu>
This commit is contained in:
commit
7a7e4ba4b4
|
@ -115,6 +115,17 @@
|
||||||
"opcache.interned_strings_buffer" = "16";
|
"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;
|
caching.redis = true;
|
||||||
autoUpdateApps.enable = true;
|
autoUpdateApps.enable = true;
|
||||||
database.createLocally = true;
|
database.createLocally = true;
|
||||||
|
|
Loading…
Reference in a new issue