You've got configurations for both Worker and Prefork, which MPM are you actually using?? 6+ seconds for a webpage is insane; I'd be grumpy if my server took more than 1 second to load the page and all the elements in it.
–
Chris S♦Feb 21 '13 at 14:35

3 Answers
3

According to your config, you have MaxClients set at 150. Check if you're hitting your MaxClients limit in the Apache error log, depending on your distribution it can be in a few places:

/var/log/httpd/error_log

/var/log/apache2/error.log

If you are hitting MaxClients and your server isn't maxing it's resources then it's probably safe to raise the limit a bit. All of this needs to be monitored and adjusted over time as resource usage heavily depends on your application code and it's not really possible to say 'here's a config for a server with 32GB RAM, etc'.

Apart from Jake Stubbs's answer, you might also want to have a look at your MySQL logs and settings. The delay could also be due to the SQL server not responding quickly enough to a large number of queries.

Both the apache configurations looks very poor - what have you tried to resolve the problem? You might want to start by finding out if you are running the pre-fork or LWP server. Really you should probably be using the pre-fork. I'd suggest starting with:

You've got numbers all over the place... 15 hits per second => 54,000 per hour; and close to 0.5 MM per day.
–
Chris S♦Feb 21 '13 at 14:55

@EliaszKubala: repeating the numbers doesn't mean they make more sense. While the number of online users can have a slight impact on performance when using a memory based session handler its got NOTHING to do with the load on the server - which is all about concurrent connections and the nature of those connections.
–
symcbeanFeb 21 '13 at 17:03