This post contains affiliate links.
500 – Internal Server Access Errors
In the apache error log I would get:
[Sun Jul 19 17:36:42 2009] [error] [client 188.8.131.52] Premature end of script headers: index.php
[Sun Jul 19 17:36:46 2009] [error] [client 184.108.40.206] Premature end of script headers: index.php
[Sun Jul 19 17:36:56 2009] [error] [client 220.127.116.11] Premature end of script headers: index.php
[Sun Jul 19 17:36:59 2009] [error] [client 18.104.22.168] 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.