apache并发连接数优化
1 2 3 4 5 6 7 8 9 |
<strong>vi /etc/httpd/conf.d/httpd-mpm.conf</strong> <IfModule mpm_prefork_module> StartServers 5 MinSpareServers 5 MaxSpareServers 10 ServerLimit 5500 MaxClients 5000 MaxRequestsPerChild 100 </IfModule> |
services httpd restart
版权声明:
作者:龙魂
链接:https://blog.wlzs.cn/apache%e5%b9%b6%e5%8f%91%e8%bf%9e%e6%8e%a5%e6%95%b0%e4%bc%98%e5%8c%96/
来源:学海无涯
文章版权归作者所有,未经允许请勿转载。
THE END
0
二维码
海报
apache并发连接数优化
Shell
<strong>vi /etc/httpd/conf.d/httpd-mpm.conf</strong>
<IfModule mpm_prefork_module>
StartServers ……

共有 0 条评论