How to reduce wordpress's server load on Shared Hosting

by Avinash on 2009/05/11

advertisement

For everyone of you, who use wordpress as a platform with shared hosting for his/her blog will know the importance of this post. So before i start writing about how to reduce server load due to wordpress on shared hosting, i would talk a bit on wha prompted me to write this.

My another blog  Avinashtech – Software tips and tricks was hosted on a webhost which suspended my account as i have said in my previosu post due to high server use as they alleged. That all lead to me doing a bit of research on ways to reduce server load.

Many of you may not be knowing whats the limit of CPU usage you can have for your blog on your Shared hosting package. Generally this varies from 1-8%  but webhosts that oversell put the limit to just 1% of total server resourcs.

As wordpress runs using php excuting so many queries through php, hence if your site isnt optimised it may result in your blog exceeding the server resource limit. Apart from just the wordpress, its the plugins often that result in excessive server usages. Normally every wordpress blog is run along with 5-10 plugins.

The few things you can do is start disabling few plugins which cause excess server load. I have identified some of the plugins and will talk about them. apart from this, you need to install a caching plugin that will produce static html pages to your visitors instead of excecuting php scripts.

So, you need to install a plugin called WP Super Cache . This is the best  for wordpress caching pages of your blog. It helps reduce your server load as it generates static html files from your dynamic WordPress blog. whenever visitors come to your blog. After a html file is generated your webserver will serve that file instead of processing the comparatively heavier and more expensive WordPress PHP scripts.

And the plugins which you should deactivate and delete from your blog till you solve the server issue atleast :

  • Google XML sitemap generator and
  • Global translator plugin.

Google XML sitemap generator plugin generates XML sitemap for your blog which is needed for SEO. For this sitemap generation, it takes too much memory everytime you change something on your blog. This may take too much memory usage if your blog has too many posts. Even if you dont optimise this plugin option it may lead to high server usage. But sitemap is important. If you still want to use it, you need to optimise its settings. If someone want me to write about it, i will write a separate post for  how to optimise settings for this plugin.

Other culprit may be Global translator plugin if you use its transaltion services . More resources if you have checked all 41 languages in its settings. The reason is it keeps connecting to translation engines like google to translate your pages every three minutes.

Also Global translator generates too many blog pages at same time in different languages. This often results in more spiders and robots of search engibne hitting your blog resulting in high server load. wana me write in more details about it, ask me to post a new post.

I hope these facts will help you solve your high server load problem on a shared hosting.

Reblog this post [with Zemanta]

{ 1 trackback }

Optimise Google XML sitemap Generator Plugin to reduce Server Load
2009/10/31 at 2:21 PM

{ 9 comments… read them below or add one }

Vikram 2009/07/25 at 11:08 AM

Thank You Very Much. I was looking for this solution as my website http://www.dailylatestnews.com also went down due to server load problem

Thnx a lot again. very useful post

Reply

Augusto 2009/09/08 at 5:52 PM

hello, I would like to know more about how you otimized Google XML sitemap generator. Could you please send me this info to my email? augustodroit [arroba]hotmail.com . Thank you.

Reply

mang 2009/10/21 at 3:29 PM

Yes please! Please tell us more about optimizing the XML sitemap plug in – I use that on a site I run, and I've been warned about high resource usage.

Reply

mang 2009/10/22 at 3:29 AM

Yes please! Please tell us more about optimizing the XML sitemap plug in – I use that on a site I run, and I've been warned about high resource usage.

Reply

Avinash 2009/10/31 at 2:24 PM

Thank you for the feedback mate. I have written a post on Google XML sitemap settings as you requested. Check it out here.

http://www.wpbuster.com/hosting/optimise-google...

Reply

Vikas|vikas-gupta.in 2009/12/10 at 9:28 PM

Useful post.

Reply

Vikas|vikas-gupta.in 2009/12/10 at 9:29 PM

Your hosting link in the post returns 404 error!

Reply

Tiksan 2010/01/27 at 3:53 PM

Hi AVINASH,

Is it possible to check which WP plugin has high resource usage?

Thanks,

Reply

Cell tracker 2010/03/05 at 7:29 AM

I have come to know some MYSQL cache plugin which will not generate any static pages but store the queries in memory, does this have any effect on sever load?

Thanks

Reply

Leave a Comment

Previous post:

Next post: