<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: What caused that load spike?</title>
	<atom:link href="http://www.rustyrazorblade.com/2007/02/what-caused-that-load-spike/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.rustyrazorblade.com/2007/02/what-caused-that-load-spike/</link>
	<description>Tech Thoughts, Mostly on LAMP - by Jon Haddad</description>
	<lastBuildDate>Fri, 03 Sep 2010 03:50:22 -0700</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: jon</title>
		<link>http://www.rustyrazorblade.com/2007/02/what-caused-that-load-spike/comment-page-1/#comment-15369</link>
		<dc:creator>jon</dc:creator>
		<pubDate>Sun, 24 Feb 2008 05:23:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.rustyrazorblade.com/index.php/2007/02/13/what-caused-that-load-spike/#comment-15369</guid>
		<description>Hey Erik,
We ended up finding a few queries that were causing several simultaneous full table scans.  Other queries that would normally have been very quick (1 row, based on primary key) would backlog.  Due to the number of mysql connections (I think it was around 700) it was difficult to pin down the query in question, but eventually used the mysqldumpslow tool on the slow query log to find the cause.</description>
		<content:encoded><![CDATA[<p>Hey Erik,<br />
We ended up finding a few queries that were causing several simultaneous full table scans.  Other queries that would normally have been very quick (1 row, based on primary key) would backlog.  Due to the number of mysql connections (I think it was around 700) it was difficult to pin down the query in question, but eventually used the mysqldumpslow tool on the slow query log to find the cause.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Erik</title>
		<link>http://www.rustyrazorblade.com/2007/02/what-caused-that-load-spike/comment-page-1/#comment-15361</link>
		<dc:creator>Erik</dc:creator>
		<pubDate>Sat, 23 Feb 2008 23:36:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.rustyrazorblade.com/index.php/2007/02/13/what-caused-that-load-spike/#comment-15361</guid>
		<description>May be a bit late, and I&#039;m guessing you&#039;ve sorted this by now. But hey, someone might stumble upon it and find it useful. mod_log_forensic is very useful for tracking down web requests taking their sweet time. If they end up crashing, mod_whatkilledus might be of help as well. 
As for the database server, you could run `iostat` to see if the disks are working overly much or `vmstat` to see if you&#039;re swapping a lot (horrendous for a DB). Most likely the apache threads are a knock-on effect of the DB being locked up. Could also have been corrupt tables or indices. But most likely it&#039;s a locking issue, difficult to say without the queries or knowing what storage engines etc are involved.

If you ever figured out what it was, I&#039;d be interested in hearing what it was!
Good blog btw!

Erik</description>
		<content:encoded><![CDATA[<p>May be a bit late, and I&#8217;m guessing you&#8217;ve sorted this by now. But hey, someone might stumble upon it and find it useful. mod_log_forensic is very useful for tracking down web requests taking their sweet time. If they end up crashing, mod_whatkilledus might be of help as well.<br />
As for the database server, you could run `iostat` to see if the disks are working overly much or `vmstat` to see if you&#8217;re swapping a lot (horrendous for a DB). Most likely the apache threads are a knock-on effect of the DB being locked up. Could also have been corrupt tables or indices. But most likely it&#8217;s a locking issue, difficult to say without the queries or knowing what storage engines etc are involved.</p>
<p>If you ever figured out what it was, I&#8217;d be interested in hearing what it was!<br />
Good blog btw!</p>
<p>Erik</p>
]]></content:encoded>
	</item>
</channel>
</rss>
