我想更改Apache中默认的max connection numbers,因为进程的数量现在是
# ps -ef | grep apache2 | wc -l
152
ServerLimit
,但我在apache配置文件中没有看到这一点。
# grep -r ServerLimit .
#
我应该在哪里应用呢?
关于MPM模块,我在
mods-available/mpm_prefork.conf
:
<IfModule mpm_prefork_module>
StartServers 5
MinSpareServers 5
MaxSpareServers 10
MaxRequestWorkers 150
MaxConnectionsPerChild 0
</IfModule>
我应该增加吗
MaxRequestWorkers
服务器限制
?