Hi there !
I’ve a little problem to create many small servers with Virtualmin. Indeed, Virtualmin give too large resources by virtualserver. I would like change the default configuration of php-fpm.d/*.conf.
The default configuration :
[id]
user = userofsupervirtualser
group = userofsupervirtualser
listen = XXXX
pm = dynamic
pm.max_children = 9999
pm.start_servers = 1
pm.min_spare_servers = 1
pm.max_spare_servers = 5
php_admin_value[upload_tmp_dir] = /something/www/userofsupervirtualser
php_admin_value[session.save_path] = /something/www/userofsupervirtualser
The desired configuration :
[id]
user = userofsupervirtualser
group = userofsupervirtualser
listen = XXXX
pm = dynamic
pm.max_children = 16
pm.start_servers = 6
pm.min_spare_servers = 4
pm.max_spare_servers = 10
pm.max_requests = 100
php_admin_value[upload_tmp_dir] = /something/www/userofsupervirtualser
php_admin_value[session.save_path] = /something/www/userofsupervirtualser
Someone knows how to edit the default configuration values explains above ? Thanks for your help, I can’t get through it!