Hi all,
We have problem with one server which can have peaks in visits at times.
Process go to 100%.
PHP works with FPM / Apache.
After various tests, the best configuration of the PHP we could obtain is:
pm.max_children = 450
pm = static
But when there are really too many visitors, the server does not resist.
We are seeing to put two web frontends. My question is: what is the best way to configure the PHP mode to serve the maximum number of customers in a reasonable time?
FPM / Apache
FastCGI / Apache
NB: we can use FPM/Nginx because there is htaccess and i believe it can't work in this case.
For me FPM/Apache is better but how to handle pm.max_children constraints?
We replace the server with an equivalent with 2x more RAM (128G), is that a plus for this parameter? how to optimize it?
All this to avoid to block all the visits as we reach a certain number of visitors.
Thank you for your help.
We have problem with one server which can have peaks in visits at times.
Process go to 100%.
PHP works with FPM / Apache.
After various tests, the best configuration of the PHP we could obtain is:
pm.max_children = 450
pm = static
But when there are really too many visitors, the server does not resist.
We are seeing to put two web frontends. My question is: what is the best way to configure the PHP mode to serve the maximum number of customers in a reasonable time?
FPM / Apache
FastCGI / Apache
NB: we can use FPM/Nginx because there is htaccess and i believe it can't work in this case.
For me FPM/Apache is better but how to handle pm.max_children constraints?
We replace the server with an equivalent with 2x more RAM (128G), is that a plus for this parameter? how to optimize it?
All this to avoid to block all the visits as we reach a certain number of visitors.
Thank you for your help.