feed->entry['circulation']; ?>

Wordpress Internal Server Errors

Today I had to deal with several hours of outages for my wife’s music production company site Rock Along Productions as the Wordpress kept erroring out with:

500 – Internal Server Access Errors

In the apache error log I would get:
[Sun Jul 19 17:36:42 2009] [error] [client 66.235.116.128] Premature end of script headers: index.php
[Sun Jul 19 17:36:46 2009] [error] [client 70.176.170.126] Premature end of script headers: index.php
[Sun Jul 19 17:36:56 2009] [error] [client 209.85.238.11] Premature end of script headers: index.php
[Sun Jul 19 17:36:59 2009] [error] [client 74.125.44.136] Premature end of script headers: index.php

As it turns out my Hosting Company has scripts setup to kill your php and apache processes when they consume too much RAM, this is a common issue with shared web hosting plans where to prevent one website from negatively impacting the rest you have to put such measures in place. My hosting company informed me that php plug-ins for wordpress were the most likely cause, and I disabled all of them, but it looks like my All-In-One-SEO pack and the Google-XML-SiteMaps are the worst offenders of plug-ins. These in my opinion are really important plug-ins for your blog though, and as a result I have decided to upgrade my shared hosting plan to Virtual Private Hosting instead. Though I will be paying more per month, I need dedicated processor and memory usage that I can tweak so that I can avoid site outages and run the optimization plug-ins I need.

-Justin Germino

Share This Post

If you enjoyed this article, Subscribe to my blog via Email:

POSTED BY dragonblogger on Jul 19 under Blogging

Tags: , , , , , , , , ,

Leave a Comment

If you would like to make a comment, please fill out the form below.

Name (required)

Email (required)

Website

CommentLuv Enabled

This site uses KeywordLuv. Enter YourName@YourKeywords in the Name field to take advantage.

Comments

7 Comments so far
  1. Klaus at TechPatio July 20, 2009 2:31 pm

    How much extra did you have to shell out to get VPS instead of the shared hosting?

    I’m also waiting for my current provider to offer VPS at which they promised that SAFE MODE will be OFF for PHP, unfortunately it’s ON for their shared PHP servers now. But I’m a loyal customer and never had problems with this host, so don’t want to move away just yet (VPS solutions should be available late this summer).
    Klaus at TechPatio´s last blog ..Mobile Apps To Become “As Big As The Internet”? My ComLuv Profile

  2. dragonblogger July 20, 2009 2:38 pm

    Through my hosting provider VPS is $1 per 10mb of RAM peak usage over the $6.99 per month normal hosting, so the minimum is $15.00 per month for 150mb or RAM, which would make the total package round $21.99 per month, which is cheaper than the $30 per month I have seen with many other hosting providers offering VPS.

  3. Glenn Jimerson July 25, 2009 9:11 am

    That seems really odd that those plugins are taxing their server. I use the same two plugins but never had a run away process with either. If your site is growing then yes a VPS will do. It’s nice to be able to control the hosting environment. Just make sure you’ve got a decent amount of dedicated RAM and processor. Sometimes they put so many VPS’ on a system you get a really small trickle of processor despite having a lot of RAM and hard drive space. Then, you’d be worse off than with shared hosting.

    I’ve got a dedicated server for my stuff and there’s no way I could ever go back to shared hosting.

  4. dragonblogger July 25, 2009 1:58 pm

    Your single dedicated server, where is it located? You have a facility,or a house, or do you lease it from a web hosting provider?

  5. Atniz from Work At Home September 25, 2009 1:22 am

    I never thought Google XML and All In One SEO pack plugin can create such trouble. It is one of the best SEO plugin recommended by many probloggers. Can you share what hosting company you were using on shared hosting that always blocked php and apachee process? I hope it’s not hostgator because I never come accross this problem before.
    Atniz@Work At Home´s last blog ..Starting Second Blog Is A Bad Idea My ComLuv Profile

  6. dragonblogger September 25, 2009 7:15 am

    DreamHost is my hosting provider, but the problem has almost disappeared since I converted to mod_proxy on apache instead of using the FASTCGI, now that I am private server with mod_proxy, I don’t have runaway php.cgi processes anymore. I do sometimes hit server performance issues, but my servers can handle 5x the load they were able to previously now.

  7. liz from Christmas Outdoor Decorations November 11, 2009 7:12 am

    I use all the plug-ins you mentioned without problems but only recently my site reported the 500 internal server error when i used the simple link cloaker through my own mistake. Its been sorted out though and works fine now.
    liz @ Christmas Outdoor Decorations´s last blog ..Lighted Christmas Outdoor Reindeer My ComLuv Profile

Copyright Personal Blog of Justin Germino | Powered by WordPress | Using the GreenTech Theme