matomo-org/docker

server reached pm.max_children setting (5), consider raising it

brijoyj opened this issue · 1 comments

Any idea how we can address this issue? We are seeing the errors in logs when the matomo receives more data "server reached pm.max_children setting (5), consider raising it"

After reviewing the docker-library/php#162 (comment) recommendation
We also have the following details
grep -vE '^;|^ *$' /usr/local/etc/php-fpm.d/www.conf.default
[www]
user = www-data
group = www-data
listen = 127.0.0.1:9000
pm = dynamic
pm.max_children = 5
pm.start_servers = 2
pm.min_spare_servers = 1
pm.max_spare_servers = 3

Not sure what other settings we should try?

J0WI commented

You can mount your own config into /usr/local/etc/php-fpm.d/ or, if you use docker-compose, scale the amount of FPM containers.