<?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>Another Wordpress Blog &#187; PluginHogDetector</title>
	<atom:link href="http://money.bigbucksblogger.com/category/my-plugins/pluginhogdetector/feed/" rel="self" type="application/rss+xml" />
	<link>http://money.bigbucksblogger.com</link>
	<description></description>
	<lastBuildDate>Mon, 05 Jul 2010 17:53:34 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>PluginHogDetector Plugin: Helps you find CPU hogging plugins.</title>
		<link>http://money.bigbucksblogger.com/pluginhogdetector-plugin-helps-you-find-cpu-hogging-plugins/</link>
		<comments>http://money.bigbucksblogger.com/pluginhogdetector-plugin-helps-you-find-cpu-hogging-plugins/#comments</comments>
		<pubDate>Fri, 20 Jul 2007 17:39:15 +0000</pubDate>
		<dc:creator>Bucks</dc:creator>
				<category><![CDATA[My Plugins]]></category>
		<category><![CDATA[PluginHogDetector]]></category>

		<guid isPermaLink="false">http://money.bigbucksblogger.com/pluginhogdetector-plugin-helps-you-find-cpu-hogging-plugins/</guid>
		<description><![CDATA[Has your service provider complained you are using too many server resources? This could happen because you have a really popular blog or blogs (like  Tricia) or it could happen if you have installed a poorly written plugin that&#8217;s a real CPU hog or it could be a combination of both!   Regardless [...]]]></description>
			<content:encoded><![CDATA[<p>Has your service provider complained you are using too many server resources? This could happen because you have a really popular blog or blogs (like  Tricia) <i>or</i> it could happen if you have installed a poorly written plugin that&#8217;s a real CPU hog or it could be a combination of both!   Regardless of the reason, you can continue to run your blog by paying more for a <a href="http://www.singlehop.com">dedicated server</a>, but that costs big money. </p>
<div style="float:left;margin:2px 10px 2px 2px;"><!--adsense#200by200--></div>
<p>If all your plugins are reasonable efficient and provide essential services, then spending for a dedicated server is well worth the money.But how can you make a lot of money if you waste money paying for a dedicated server just to run a CPU <em>hogging</em> plugin?</p>
<p>Unfortunately, it&#8217;s difficult to identify which of the zillions of plugins you use is the hog.  Bloggers randomly turn things on and off hoping to find the problem.  Now &#8220;PluginHogDetector&#8221; will at least help you identify the problem.</p>
<h3>How to detect the CPU hog!</h3>
<p><span id="more-201"></span>
<ol>
<li>Dowload  <a href="http://money.bigbucksblogger.com/wp-content/plugins/pluginhogdetector.zip">PluginHogDetector</a>.  Unzip, upload into your plugin folder, activate.</li>
<li>Turn off WP-Cache. Load a page of your blog. (If you are using any plugins that modify comments in any way &#8211;for example, a dofollow plugin &#8212; I strongly advise you pick a page that displays an article and comments. )
<p>After you load the page, scroll down, you will find a hideous table that resembles the one below: <center><a href='http://money.bigbucksblogger.com/pluginhogdetector-plugin-helps-you-find-cpu-hogging-plugins/find-the-cpu-hog/' rel='attachment wp-att-202' title='Find the  CPU hog!'><img src='http://money.bigbucksblogger.com/wp-content/uploads/2007/07/plugininhogtable.gif' alt='Find the  CPU hog!' /></a></center></p>
<p>Note the time circled in blue; record it. That&#8217;s pretty much the time it took for Wordpress to serve your whole page.  </p>
<p>Reload the page, and record that time again. Do this a third time. That&#8217;s probably enough data.</li>
<li>Go to your plugin control panel. Turn off the plugin you suspect might be &#8220;the  hog&#8221;.  Reload the <i>same</i> exact page you loaded previously and note the total time to circled in blue. Do this three times.
<p>Compare these values to the ones you got when the plugin was not running. If the times required when the plugin is running are distinctly higher than those when the plugin is not running, you  have found <i>a CPU hogging plugin!</i>   </li>
</ol>
<p>That&#8217;s the basic procedure. But you can use other data to help guess which plugins are &#8220;suspicious&#8221;. </p>
<h3>Advanced Troubleshooting.</h3>
<p>I&#8217;m sure you noticed I provided &#8220;incremental times&#8221; in the third row of the table?   By repeating the procedure described above and recording times in the &#8220;incremental time&#8221; row, you can isolate <i>where</i> the big jump in CPU is occurring. </p>
<p>Notice the final row in the table suggests which &#8220;areas&#8221;, like &#8220;content &#038; comments&#8221;, &#8220;header&#8221;, &#8220;sidebar&#8221; or &#8220;footer&#8221;, where your plugin may be bogging down your blog.  </p>
<p>Some plugins do most their work in the header. These include spam filters and a few others. You need the spamfilter, but it&#8217;s worth being aware of this fact. </p>
<p>Some plugins do their &#8220;heavy lifting&#8221; in contents or comments. For example that&#8217;s where Kontera Control and  Do Follow plugins do their work in contents and comments. If you see the time for comments &#038; contents  jumping, you should suspect plugins that do &#8220;something&#8221; in contents or comments! </p>
<p>Other plugins do their heavy lifting in the sidebar; very few do anything CPU intensive in the footer.   If you read the final row, you&#8217;ll notice the time sucked up by the sidebar affect the second or the fourth incremental time listed in the row.   </p>
<p>Where is your sidebar data? Well, I started writing a four paragraph explanation of template organization, but all you need to know is that,  for <i>most</i>  templates, the time to load both sidebar affects the <i>last</i> time in the  &#8220;Incremental time&#8221; row. For these templates, the second time in that row will be very, very close to zero, because that&#8217;s &#8220;time to do nothing&#8221;. Notice that time is listed as &#8220;0&#8243; in my table?  It rarely takes more than 0.03 seconds to &#8220;do nothing&#8221;. </p>
<p>But what if you don&#8217;t see a &#8220;0&#8243; or at worst a &#8220;0.03&#8243; in that box? Well, you&#8217;ve found the time to required to load your sidebar! </p>
<p>What type of plugins run in the sidebar? Well, <i>look</i> at your sidebar. See recent comments? Recent posts? Cloud tags? If a plugin affects something that displays in the sidebar, it could be a sidebar CPU hog.  </p>
<h4>Quick trouble shooting to identify the &#8220;suspicious&#8221; plugins.</h4>
<p>Now, you can use this information to do some quick trouble shooting.  Turn off <i>all</i> your plugins, check the incremental times. Turn all the plugins on. Did the time jump in the &#8220;contents &#038; comments&#8221; area, or the sidebar?  If it&#8217;s one and not the other, you now can start guessing which plugins are worth looking at first.  That will save you some time testing every single plugin! </p>
<h3>Hope this saves you Big Bucks</h3>
<p>I hope this plugin helps you find your the plugins that may be hogging CPU at your site.  Then you can deactivate and save money by staying with your current low cost hosting serving. </p>
<p>Or, maybe it will help you discover that it&#8217;s not your plugins and you will need to get the dedicated server. (In which case, I envy you your traffic!)  Or, you&#8217;ll discover it&#8217;s something else altogether.  </p>
<p>Either way, good luck with your blogging.  (And let me know if you have any trouble with the plugin.)</p>
 <div class='series_toc'></div>  ]]></content:encoded>
			<wfw:commentRss>http://money.bigbucksblogger.com/pluginhogdetector-plugin-helps-you-find-cpu-hogging-plugins/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.241 seconds -->
