Thread: Slow Apache2
View Single Post
  #10  
Old 4th June 2012, 13:22
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,735 Times in 2,571 Posts
Default

Try to fine-tune Apache (for example, decrease KeepALiveTimeout to something between 2 and 5 seconds): http://www.howtoforge.com/configurin...um_performance

Also, please use a PHP opcode cacher like Xcache or APC.

If you web app supports it, you can use memcached and/or tmpfs ( http://www.howtoforge.com/storing-fi...ory-with-tmpfs ) to reduce disk I/O.

You should also check if you can fine-tune/optimize MySQL (for example, reading InnoDB tables is much slower than MyISAM).
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote