* FPM/Container: start more php processes by default and keep them running to better cope with high usage

This commit is contained in:
Ralf Becker 2021-01-25 11:12:46 +02:00
parent 646b299496
commit af686ba8b0

View File

@ -22,6 +22,9 @@ RUN apt-get update \
&& sed -e 's/^;\?listen \?=.*/listen = 9000/g' \
-e '/allowed_clients/d' \
-e '/pm.max_children/s/=.*/= 80/' \
-e '/pm.start_servers/s/=.*/= 10/' \
-e '/pm.min_spare_servers/s/=.*/= 10/' \
-e '/pm.max_spare_servers/s/=.*/= 20/' \
-e '/catch_workers_output/s/^;/;/' \
-e '/error_log/d' \
-e 's/^;\?pm.max_requests =.*/pm.max_requests = 30/' \