ajenti-v icon indicating copy to clipboard operation
ajenti-v copied to clipboard

Missing settings for php-fpm

Open TheTechnoMan opened this issue 9 years ago • 3 comments

There is an issue since a very long time. You can set this settings directly with Ajenti:

pm.max_children
pm.start_servers

But you can NOT set this ones:

pm.min_spare_servers
pm.max_spare_servers

It will automatically use

pm.min_spare_servers = 2
pm.max_spare_servers = 6

It will fail to start php-fpm if you have set the other values above this, for example:

pm.max_children = 50
pm.start_servers = 20

Error: pm.start_servers(20) must not be less than pm.min_spare_servers(2) and not greater than pm.max_spare_servers(6)

TheTechnoMan avatar Mar 21 '15 01:03 TheTechnoMan

No response?

TheTechnoMan avatar Apr 12 '15 16:04 TheTechnoMan

Well i can set those setting manually in /etc/php-fpm.conf But after ajenti restart all goes back to

pm.min_spare_servers = 2
pm.max_spare_servers = 6

Евгений?

noizo avatar Mar 11 '16 15:03 noizo

still no solution?

bahadirdogru avatar Dec 13 '20 15:12 bahadirdogru