MaxClients too high? (Apache 2)

MaxClients too high? (Apache 2)

Been having issues with our server falling over with memory being exhausted around 10 -12pm (at night). Havn’t completely figured out why, checked /var/log/messages and dmesg but see apache and exim processes spiking. This might be because of the lack of memory – not sure..

Looked at my httpd-mpm.conf and thought that the MaxClients was possibly too high for the server:

<IfModule mpm_prefork_module>
StartServers 5
MinSpareServers 5
MaxSpareServers 10
ServerLimit 450
MaxClients 450
MaxRequestsPerChild 0
</IfModule>

Our server runs on 2gb of ram. Any thoughts?

regards,

Jon

Comments are closed.