I have installed Apache 2.2 and it runs like a charm. The problem is, that system sometimes becomes slow on high load, or when a large number of simultaneous users access the same php file.
Going over the server performance logs in Splunk I noticed that Apache uses CPU very efficiently, and create separate treads every time a spike occurs, and deals with the CPU consumption in a very brave way.
Nevertheless this specific server has more available memory than CPU power, and I would like to know, if there is a way, to make Apache rely more on the RAM than CPU when handling different tasks. AT the moment it seems like the best option in increasing the Apache performance in the particular setup.
Our server has 4CPU cores (2.2 GHz) each, and 8GB or RAM.
When a load occurs we usually see only 700MB of RAM used, but 80-90% of all CPU consumed by Apache. Is it logical to assume, that by increasing the "limit" of memory Apache handles, we could push the user limit up?
What would be the steps to change Apache to work this way?