I have allocated 5GB of memory for Apache processes.
While basing on the fact that each Apache process consume in average 42.5MB I've set the following on my server (while calculating as if each process consumes 50MB of memory):
<IfModule mpm_prefork_module> StartServers 5 MinSpareServers 5 MaxSpareServers 10 MaxClients 100 MaxRequestsPerChild 0 </IfModule>
Now for the questions:
- How can I determine how much
- While not being able to set
Worker mpm(PHP etc.), does load balancing is my best option for high traffic?
- How can I reduce Apache process memory? my website use CDN to serve assets to the user while the server eventually serve HTML only.
I've read answers here and searched a lot in Google for that questions and couldn't find anything specific enough.