Eugeny / ajenti-v

Virtual Hosting addon for Ajenti
ajenti.org/#product-ajenti-v
MIT License
225 stars 80 forks source link

Missing settings for php-fpm #155

Open TheTechnoMan opened 9 years ago

TheTechnoMan commented 9 years ago

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 commented 9 years ago

No response?

noizo commented 8 years ago

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

Евгений?

bahadirdogru commented 3 years ago

still no solution?