Find </IfModule>
Add after:
- Mã: Chọn tất cả
<IfModule mpm_prefork_module>
StartServers 10
MinSpareServers 10
MaxSpareServers 20
MaxClients 4000
MaxRequestWorkers 4000
ServerLimit 5000
MaxConnectionsPerChild 10000
</IfModule>
Restart apache:
service httpd restart
Read more:
https://devops.ionos.com/tutorials/optimize-apache-performance-on-centos-7-1/
https://bobcares.com/blog/server-reached-maxrequestworkers-setting/