Php fpm pool manager Static vs dynamic vs ondemand
; static –
; dynamic –
php fpm Static pool manager
php – fpm pool manager Dynamic
fixing php-fpm pool high cpu usage
available memory in LEMP stack
1GB for MySQL, 512MB for linux, 1GB for nginx
php max memory limit (128MB or 256MB)
max execution time 60s or 300s 1 minute or 5 minutes
slow query log threshold 1s.
enable php fpm slow query log
slowlog = /var/log/php-slow.log
request_slowlog_timeout = 10s
slowlog = /var/log/$pool.log.slow
equest_slowlog_timeout = 10s
uncomment the lines in /etc/php/7.3/fpm/pool.d/www.conf
Deciding the Slow query threshold if you updates wordpress plugins it takes times,
if you upload 8MB files its takes time.
Best php query time for wordpress is ….? (wordpress load in 1-3 secs) (php execution time time , request terminate timeout ).