I'm running Ubuntu 12.10 and Apache 2.4.6.
I've got
<IfModule mpm_prefork_module>
StartServers 20
MinSpareServers 20
MaxSpareServers 30
MaxClients 256
MaxRequestsPerChild 1000
</IfModule>
In my apache2.conf file, but it doesn't seem to do anything, as even under heavy stress testing, the server only spawns up to 10 apache processes.
Any advice?
Thanks.
Best Answer
The
/etc/apache2/mods-enabled/mpm_prefork.conf
file's configuration of these directives is almost certainly overriding this configuration in yourapache2.conf
, due to theInclude
happening later in theapache2.conf
than those directives are configured.Change them in
mpm_prefork.conf
for your changes to take effect.