I have 64G ram Server 8 core, but my but i have one of my site is very large and heavy, and all the times the admin site is extremely sluggish
this is my PHP-FPM config customization
this is my PHP-FPM config customization
./data/users/admin/php/php-fpm83.conf
- [admin]
- user = $pool
- group = $pool
- listen = /usr/local/php83/sockets/$pool.sock
- listen.owner = $pool
- listen.group = apache
- listen.mode = 660
- pm = ondemand
- pm.max_children = 10
- pm.process_idle_timeout = 20
- pm.max_requests = 500
Now I am convinced that I shouldn't switch pm = Ondemand to Dynamic, it should stay the same as Ondemand ok fine.
but what about the rest
pm.max_children = 10
pm.process_idle_timeout = 20
pm.max_requests = 500
in fact some recommendation to add
pm.max_children = 60
pm.start_servers = 6
pm.min_spare_servers = 4
pm.max_spare_servers = 10
any recommendation I want to change pm.max_children = 60 (increase it more than the default 10)
Thank you