<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Technology Nerd &#187; Media Temple</title>
	<atom:link href="http://tnerd.com/tag/media-temple/feed/" rel="self" type="application/rss+xml" />
	<link>http://tnerd.com</link>
	<description>(Technology, as it happens, When it happens!)</description>
	<lastBuildDate>Sat, 20 Mar 2010 21:36:57 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='tnerd.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
		<item>
		<title>We are Stable Now! Last 14 hours have been Hell! Thanks for Being Patient :)</title>
		<link>http://tnerd.com/2009/05/21/we-are-stable-now-last-14-hours-have-been-hell-thanks-for-being-patient/</link>
		<comments>http://tnerd.com/2009/05/21/we-are-stable-now-last-14-hours-have-been-hell-thanks-for-being-patient/#comments</comments>
		<pubDate>Thu, 21 May 2009 10:15:24 +0000</pubDate>
		<dc:creator>Abbas</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[Tips & Tricks]]></category>
		<category><![CDATA[Backup Database]]></category>
		<category><![CDATA[Media Temple]]></category>
		<category><![CDATA[TNerd]]></category>

		<guid isPermaLink="false">http://tnerd.com/?p=3692</guid>
		<description><![CDATA[It started around 11 PM last night when I started approving  comments for the day. I started approving comments and realized that the site  crashed.
  TNerd is hosted on Media Temple&#8217;s DV-Extreme with added RAM  the server mostly holds up against the traffic it experiences, thanks to  WP-Supercache. Once the [...]]]></description>
			<content:encoded><![CDATA[<p><img width="180" height="64" border="0" align="right" src="http://tnerd.com/wp-content/uploads/2009/05/tnerd.png" alt="TNerd" />It started around 11 PM last night when I started approving  comments for the day. I started approving comments and realized that the site  crashed.</p>
<p>  TNerd is hosted on <a href="http://mediatemple.net/" target="_blank">Media Temple</a>&rsquo;s <a href="http://mediatemple.net/webhosting/dv/" target="_blank">DV-Extreme with added RAM</a>  the server mostly holds up against the traffic it experiences, thanks to  WP-Supercache. Once the server crashed I immediately rebooted the machine which  usually solves the issue but it did not.</p>
<p>  Logged into my SHELL (SSH) to see which process is eating  away all the resources and I noticed MySQL shooting up to 600% of the CPU  power. Called the Media Temple (MT) guys and they initially suggested me to  upgrade RAM which should resolve the issue, I did add more RAM but no luck!</p>
<p>  Called MT guys again and started working with Robert to  solve the issue, we together zeroed down on the issue which was causing MySQL  to consume all the resources.&nbsp;</p>
<p>This query &ldquo;SELECT c . * , p . * FROM wp_comments c INNER  JOIN wp_posts p ON p.&rdquo; with query status &ldquo;Sending Data&rdquo; was jamming the  database by queuing up, up to 50 instances running for over 1500 seconds per  instance. </p>
<p>  <span id="more-3692"></span>So we figured out what the problem was but I simply had no  idea what exactly was causing it or how to resolve it. I tried &ldquo;Flush Tables&rdquo;,  etc in MySQL but no help. </p>
<p>  I put up a new database and installed the latest backup and  pointed the domain to the new database. So far things seem to be normal MySQL  is consuming between 0-12% of CPU resources. </p>
<p>  I still don&rsquo;t know what really went wrong but one thing I  realized is that it is extremely important to have a hosting service with good  technical support and what&rsquo;s even more important is backing up the database.</p>
<p>  TNerd database is backedup every single day as new posts and  comments are published on the site every day. I use <a href="http://www.ilfilosofo.com/blog/wp-db-backup">WordPress Database Backup</a> plugin to take schedule backups. </p>
<p>I would like to thank our readers for being patient, sending e-mails and try to reach me over to phone to let me know that the site is down or to know what is going on. Let&#8217;s hope this does not happen again!</p>
<p><strong>UPDATE:</strong></p>
<p>It happened again and continued to happen everytime I approved comments. The next logical thing to do was to check on the plugins and disable the ones causing trouble, and I did every other thing but that.</p>
<p>Eventually I got to the plugins and figured that a plugin in use, called &quot;Comment Relish&quot; is causing the problem. Removed the plugin and problem solved!!</p>

	Tags: <a href="http://tnerd.com/tag/backup-database/" title="Backup Database" rel="tag">Backup Database</a>, <a href="http://tnerd.com/tag/media-temple/" title="Media Temple" rel="tag">Media Temple</a>, <a href="http://tnerd.com/tag/tnerd/" title="TNerd" rel="tag">TNerd</a><br />
]]></content:encoded>
			<wfw:commentRss>http://tnerd.com/2009/05/21/we-are-stable-now-last-14-hours-have-been-hell-thanks-for-being-patient/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
