+ -
当前位置:首页 → 问答吧 → linux 下 MaxClients 问题

linux 下 MaxClients 问题

时间:2009-01-19

来源:互联网

我在linux下
httpd.conf文件中
加入了
<IfModule mpm_prefork_module>
StartServers 10
MinSpareServers 10
MaxSpareServers 15
ServerLimit 1000
MaxClients 1000  
MaxRequestsPerChild 10000
</IfModule>


然后通过ab测试
./ab -c 1000 -n 1000 http://localhost/passport/register

结果用ps查询的时候
ps -ef | grep httpd | wc -l
显示 258   后就再也上不去了,不知道这是什么情况

作者: ironcrane   发布时间: 2009-01-19

晕,reboot了一下操作系统,好了

作者: ironcrane   发布时间: 2009-01-19

热门下载

更多