We use several VPS – Virtual Private Servers – to host a number of sites. Yesterday one of them came crashing down. How could that be when we knew we had over 300 megabytes of free space two days before?! It was time to do some sleuthing.
First off, we deleted all bloated log files. Might sound stupid – logs contain critical information - but you can’t work with gigantic log files when pressed with time. What you need is to get the server back up and running. By the time we created some space by removing some of the access_log files from various directories, we noticed the space available was back to normal levels, but decreased by 3 or 4 megabytes per 10 minutes. Not a good situation.
More forensic analysis was needed. Time to watch the system closely. We soon discovered one error_log file would grow incredibly fast when one specific site was loaded in the browser. We immediately downloaded the log, opened it while it was still manageable and there was the problem: one specific plugin was creating error upon errors. Some wordpress table was likely damaged or dropped during a Wordpress upgrade so the plugin would send multiple requests to the server and bloat the error_log.
No time to investigate further, this was not an essential plugin, delete, delete and remove!
If you server starts crashing after little or no increase in traffic, investigate methodically, you’ll find out sooner or later the cause. In this case, a simple PLUGIN brought down an entire server by plugging the plumbing …
What We Tell The World
- About this server
- The hostname: websiteforensics.com
- This server address: 209.237.150.20
What You Tell The World
- Your IP address: 38.107.191.111
- Your hostname: 38.107.191.111
- Your country domain: .111
- You came from:
- Requested URL: /wordpress/how-a-simple-plugin-can-bring-down-your-site/
- Browser INFO: CCBot/1.0 (+http://www.commoncrawl.org/bot.html)
October 18th, 2009 at 11:28 am
Looks similar to I problem I saw with a Wordpress Plugin. Which plugin was it that was causing problems for you?
October 18th, 2009 at 8:46 pm
I believe it was a Flickr plugin that didn’t connect to our flicker account any more thus creating a massive log file.
January 19th, 2010 at 6:38 pm
Trying out the twitter to @wordpress plugin for my blog. Not sure if it works well though.
January 19th, 2010 at 6:39 pm
Begin with the End in Mind, How? | Motivational, and Health Link: Powered by WP Greet Box WordPress Plugin What ca… http://bit.ly/8D9iAm
January 19th, 2010 at 6:44 pm
Wordpress Datababse Manager Plugin http://topblo.gs/4xMtLl
January 20th, 2010 at 6:40 am
Wordpress plugin auto-sending your new blog posts to Delicious, Twitter, Tumblr and Diigo – http://bit.ly/5HQRuv
January 20th, 2010 at 3:07 pm
Webtrends WordPress plugin Beta now available « Official Webtrends Company Blog http://bit.ly/5sY2DI
January 20th, 2010 at 3:44 pm
Blogged:- Wordpress Page Numbers Plugin http://bit.ly/8C5xhU