Description
The default values for
pm.max_children
pm.start_servers
pm.min_spare_servers
pm.max_spare_servers
are not usable in production in most Nextcloud installations.
In the new docs, there is a part that these settings should be changed depending on the available resources:
https://docs.nextcloud.com/server/26/admin_manual/installation/server_tuning.html#tune-php-fpm
Older docs had some example values:
https://docs.nextcloud.com/server/21/admin_manual/installation/server_tuning.html#tune-php-fpm
If these settings are not changed, the Nextcloud no longer responds when the load increases.
[pool www] server reached pm.max_children setting (5), consider raising it
The docker image should provide better defaults for PHP pm.* settings and environment variables to change them without building the image.