mpm-prefork-moduleconfiguration似乎不适用

我正在运行Ubuntu 12.10和Apache 2.4.6。

我有

<IfModule mpm_prefork_module> StartServers 20 MinSpareServers 20 MaxSpareServers 30 MaxClients 256 MaxRequestsPerChild 1000 </IfModule> 

在我的apache2.conf文件中,但它似乎没有做任何事情,因为即使在重压力testing下,服务器也只产生多达10个apache进程。

有什么build议?

谢谢。

这些指令的/etc/apache2/mods-enabled/mpm_prefork.conf文件的configuration几乎可以肯定覆盖了你的apache2.conf这个configuration,这是因为Includeapache2.conf后面发生的事情比configuration这些指令。

mpm_prefork.conf更改它们以mpm_prefork.conf更改生效。