Post your project for free and start receiving proposals from freelancers within minutes after publication!
Configuration of Debian 11 nginx php-fm
There is a dedicated server Ryzen 5 3600, 64 GB RAM (6 core 12 streams)
Installed by Debian 11, nginx php8.1-fm
You need to make an optimization of settings (probably there is a problem with php-fm)
The problem is that 30 sites create an incredible burden on the procs.All nuclei are charged below 100% and the LA server holds 19+ and by the idea the maximum possible may not be more than 12.The HTOP and Top Screens
LA 19+ and all nuclei below 100 are charged almost constantly.
The work of the site seems not to be influenced yet (visually)
I don’t know what causes such a overload now.
Config of Ningx
pm.max_requests = 5000
pm.max_children = 1750 (reduction to 500 and interpretation of zero)
Children think with such an operation as on the server can be more and more put in mind.It is important for me that there are no simple requests.There is no error in nginx in the log file
The load is created by php-fm, i.e. the idea of the performance of the scripts is loaded, but I tried to unlock almost all the php scripts and no result it gave.It’s worth the task to add another 15-30 sites and I’m already afraid that the server will stop and the scripts will be eternally performed.The speed of charging is important.The tasks:
1) to find the cause of overload and to correct
2) optimize productivity
Installed by Debian 11, nginx php8.1-fm
You need to make an optimization of settings (probably there is a problem with php-fm)
The problem is that 30 sites create an incredible burden on the procs.All nuclei are charged below 100% and the LA server holds 19+ and by the idea the maximum possible may not be more than 12.The HTOP and Top Screens
LA 19+ and all nuclei below 100 are charged almost constantly.
The work of the site seems not to be influenced yet (visually)
I don’t know what causes such a overload now.
Config of Ningx
pm.max_requests = 5000
pm.max_children = 1750 (reduction to 500 and interpretation of zero)
Children think with such an operation as on the server can be more and more put in mind.It is important for me that there are no simple requests.There is no error in nginx in the log file
The load is created by php-fm, i.e. the idea of the performance of the scripts is loaded, but I tried to unlock almost all the php scripts and no result it gave.It’s worth the task to add another 15-30 sites and I’m already afraid that the server will stop and the scripts will be eternally performed.The speed of charging is important.The tasks:
1) to find the cause of overload and to correct
2) optimize productivity
Applications 2
Application viewing is only available registered users.
1 proposal concealed
-
Вадим Наумов правильные вещи говорит.
php-fpm - это грубо говоря среда выполнения php скриптов. Скорей всего у вас проблема не в настрокай php-fpm, а в самом скрипре/тах которые выполняются. Даже если взять самый мощиный процессор "кривой/не оптимизированный" скрипт нагрузит процессор под 100%. Как вариант отключить все сайты, проверить нагрузку и дальше по одному включать сайты и смотреть.
-