My site was down for almost 7hrs with 500 Internal Server Error message.
Immediately I raised a ticket at my hosting service support to look into the issue and fix it. But the Developers said they can’t support this issue, said my site is consuming more CPU usage, and requested me to upgrade the hosting package to avoid this problem. I started exploring – how come all of a sudden site shows 500 Internal Server Error, immediately I started accessing some of the static files hosted – they were working fine – so thought there might be some issue with my WordPress blog.
Here are the steps I have followed to find the main issue:
- Checked .htaccess file whether it exists or not – and checked their entries too, all seems to be OK.
- Checked the wp-config.php file for any misconfiguration, this also seems to be fine.
- As the support team said my site is consuming more CPU usage, my first guess was to check which Search Engine Bots are hitting my site mostly, so started exploring the bots. I went to Google WebMaster Tool and slowed down the crawl rate, but no response – my site was not up even after 1hr, then tried the robots.txt method to disable Search Engine Bot with respective IPs which are hitting my site. Even after doing all these, I was unable to find the problem and was unable to make my site work.
- I became blank – everything was fine but the blog is not accessible. So started google about 500 Internal Server Error with WordPress.
- Immediately I came across the following articles from QuickOnlineTips.com which are really worth checking
Site Down 36 Hours, How I fixed Internal Server Errors
Fix WP Super Cache Errors
When I just read both the articles, I found that this 500 Internal Server Error is something to do with the WP Super Cache WordPress plugin. So just thought to disable it immediately, but couldn’t access my WordPress Admin Interface :(.
Just started exploring the WP Super Cache plugin config files to disable the plugin via FTP.
This is how I managed to disabled the plugin without running out of any errors:
Go to “wp-content” folder, there you will find a file named wp-cache-config.php
Open the page with your favorite editor – find $cache_enabled and $super_cache_enabled and change their value from TRUE to FALSE to disable the plugin.
Immediately after that my site was up with no errors – yuppy thank god somehow I managed to make my site up and running successfully.
And then logged in to my wordpress admin interface to enable the plugin back to check whether I face the problem again, some how there are no errors after enabling WP Super Cache plugin back.
So thought to share this experience with you all for not to waste his/her time to solve this simple problem :)
So guys keep this in mind whenever your wordpress blog is down with 500 Internal Server Error.
I hope this helps couple of blog owners out there :) – Good Luck!