Hello!
I’m having the following error when there is high traffic on my website for around 5% of events since I upgraded to Matomo 4.11:
connect() to unix:/run/php/php-fpm.sock failed (11: Resource temporarily unavailable) while connecting to upstream
This is logged here: /srv/encrypted_fs/nginx/error.log
I don’t see any error in /var/log/php7.4-fpm.log
I’ve looked at potential solutions but I already have a high number of max_children.
This is my /etc/php/7.4/fpm/pool.d/www.conf
file:
[www]
user = www-data
group = www-data
listen = /run/php/php7.4-fpm.sock
listen.owner = www-data
listen.group = www-data
pm = static
pm.max_children = 768
pm.start_servers = 20
pm.min_spare_servers = 10
pm.max_spare_servers = 30
pm.max_requests = 1200
How can I fix this?
Thank you!
2 posts - 2 participants