Following a query from a colleague, a few quick tips on troubleshooting and optimizing a slow overloaded VPS/DS hosting a Drupal site based on some of my experiences.
Upgrade your Apache server to the latest version.
Install FW & anti spam-bot Apache modules (ModSecurity and the likes).
Still paying the same money for the same old machine for over a year or two? Why should you keep paying the same price for the same old machine when you can be running on a much better one? Bargain with your hosting service to move your account to one of their newer faster VPSs. That could make a world of difference.
See what’s loading up your Drupal site using the DEVEL module.
If you mostly have anonymous users, consider using file-caching with Boost.
Sometimes caching increases speed, but sometime it unnecessarily loads the machine. Modules/features like block-cache should be used with care. Play around with both caching turned off and on to see which one works best for your site.
Disable all plugins and re-add them one by one to see load impact.
Install WP Super Cache.
Hope that helps somewhat. If you have any other quick tips, I’m interested.
- Affordable Shared, VPS and DS Hosting Provider Reviews
- Tweaking PHP memory limit for Drupal & WordPress errors
- Block Search Engine Traffic Overload – Yahoo, CUIL & Baidu
- Internet Explorer’s annoying 30 CSS files limit bug
- The external links dilemma : How to mark, preview, open-new and AJAX your outgoing links
- PHP accelerators : Give your sites a performance boost