WordPress is notorious for it’s excessive CPU usage especially if you’re using a shared hosting plan. I’ve been on WordPress for a couple of years now, had some experience with two different web hosts and within this time, I’ve had some pretty ugly experiences like twice or so. If your WordPress blog isn’t well managed and optimized the right way, you may just wake up one day to see that your web host has already suspended your account.
I’ve had such issues more than once and the recommendations given in this post are from what I personally implemented on this blog. If your web host just complained about high CPU usage or excess MySQL processes running, there are a few things you can do to rectify this:
1. Reduce your plugins
Contents
Admit it, some of those plugins you installed are unnecessary and you can do without them. Install only important plugins and removing useless ones is the first step to rectify this issue.
Yet Another Related Posts Plugin (YARPP), Contextual Related posts plugin and other related posts plugins eat up resources and should be avoided. The last time I used YARPP on a client’s site, I was getting “Internal Server Error” till I removed it.
If you must use a related post plugin, I recommend nRelate since the whole process doesn’t happen on your server, the script and images needed to display the related posts are hosted on nRelate server.
3. SEO Plugins too can be crazy
I know this may sound weird but believe me, its true. SEO plugins including All in One SEO Plugin, Yoast and others require a high CPU usage. If you’re using Genesis theme framework, using the default SEO feature in Genesis isn’t that bad.
My last experience with SEOPressor too wasn’t that nice though a lot of people use it without complaining but it puts one helluva load on my server.
4. Optimize your database tables regularly
Have you ever logged in to PhpMyAdmin to optimize your database tables? This is very important and should be done regularly to keep things running smoothly
5. Use a good theme
Your themes should be up to date. Themes too can contribute to high CPU usage and if you have a feeling that your theme is heavy, be sure to update it or change to something optimized or simpler. I use Genesis and I think it’s okay. There are in-built features you normally need to install plugins for that already come with it.
6. Statistics plugin
Statistics plugins can create some pretty big problem for you and I’m not only talking of regular stats plugins, SEO Search terms Tagging and similar ones too should be kept to the barest minimum or avoided.
You shouldn’t have more than one stats plugin installed and I think installing Google Analytics code is even enough since it’s more accurate.
7. Upgrade to WordPress latest version
If you’re still using an older WordPress version, I suggest you should upgrade as soon as possible. Lots of patches may have been included for optimization and security.
8. Update your plugins
Updates are pushed to you all the time and there’s always a good reason for that. Be sure you don’t ignore an update.
9. Reduce your widgets
There are some widgets you added that aren’t really necessary. Take a closer look at those widgets, remove those you know that do not actually benefit your readers. The more widgets you have, the more load you put on the server for each page view.
10. Use W3 Total Cache
This plugin can be a life saver and if your host is already telling you to move to a VPS, caching may save you that extra money you’re about to spend.
These tips definitely work and I’m sure by the time you follow them, your CPU usage must have reduced and web host should be off your ass. ๐
Now this is a great & amazing tips you ‘ve pointed out, always great reading articles like this
really a greate share ! learnt new stuff
I never thought that SEO plugins can take up huge resources, don’t they just add up keywords and meta data in post once its built of updated and than leave their job? I was wondering if there is somehow any extra benefit of using SEO plugins with genesis theme.
Hi Don,
Your writing style is always interesting, I must confess.
Now concerning your point #2 and #4; you talked about removing related post plugins which I don’t see as a good idea cos we need them to keep readers for hours. I personally don’t like nRelate plugin cos of it look.
On that of optimizing database table, I had never done it before and had no idea on how to do it, but will go ahead and give it a try after submitting this comment
Yes, it’s not a good idea to totally remove it and that’s why I suggested nRelate which doesn’t eat up your resources at all. It’s the best option there is.
Thanks for the compliment, bro. ๐
thanks….i keep my blog checked
Hi Don
Can you point out tips on how i can optimize my phpmyadmin table,
I’m kinda new to wordpress
You have to login to PhpMyAdmin, select your wp database, scroll down to the the bottom of the tables, select optimize Optimize from the drop-down mean. BE CAREFUL NOT TO SELECT DROP.
Done
Thanks
I really appreciate
subscribe by email plugins also takes lots of cpu usage. my advice is to use feedburner as your “subcribe to” to reduce your cpu usage.
I’ve never used that, been using feedburner since. Thanks for the addition. ๐
i agree with you don,the related post plugings (YARPP) is not a good one,the last time i used it also i got the same internal server error message on my blog untill i had to remove it completely.thanks don.
Hi,
Thanks for your most valuable share for reducing the excessive CPU usage on WordPress.I think that optimization of database tables regularly is the most valuable thing.
Refreshing data by the author. When it comes to blogging the information to help you become a better blogger is endless. If you are up to it and have some of these “Blogger and Affiliate marketer qualities” – willingness to learn and be trained, willingness to invest time and effort even if direct results do not seem at all apparent, self-determination, discipline and optimism you can start your blogging career.
This qualities is for the blogger in the different levels. Aspects to consider when building a blog or website are:
Structure – “Chose the right platform”
Loading speed – “optimized themes, Google app engine, server speed, content distribution network (CDN), etc”
Interactivity – “optimized themes, content organization”
SEO – “Use of meta description and title, optimize the image and videos you use, summit your sitemap, image sitemap and video sitemap”
Network building, social network integration and much much more……. These are a few basic blogging tips to start working on. Best of luck God Bless.
The YARPP was also having critical effect on all my wp blogs until i removed them recently
thanks for the tips,really i was worried about CPU usage don’t want to get my account suspended.
Hey thanks for the tips. Am finding it helpful. Am a learner so am just exploring these kind of infos and its seems good and useful for me.
Great tips to lower usage cpu when you have a wordpress site. Will definately use these tips. I am on a shared hosting too.
Optimising images, css and using sprites are also good ways to make your site faster.
Yes, I guess you should also clean up every uninstalled plugins from your database through Cpanel after deactivation from the WP Dashboard. Be mindful of your images, make them more lightweight, strip them of all unnecessary image metadata by using stripper, etc. Don’t compose your articles within the Dashboard, you may paste from notepad or word. Don’t load viral videos on your wordpress or server, that’s what youtube, vimeo etc are meant for. Limit the number of categories and images and sliders on your index page. No Razzmatazz. Simple is usually better.
Not everyone has a fast internet connection.