<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>.NET Debugging Demos Lab 4: High CPU hang</title><link>http://blogs.msdn.com/tess/archive/2008/02/22/net-debugging-demos-lab-4-high-cpu-hang.aspx</link><description>So we finished the first round of performance issues, crashes and memory leaks. This time we are going to dive in to a high CPU situation and I know that this is giving it away a little but before you go through the lab you might want to have a look at</description><dc:language>sv-SE</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>re: .NET Debugging Demos Lab 4: High CPU hang</title><link>http://blogs.msdn.com/tess/archive/2008/02/22/net-debugging-demos-lab-4-high-cpu-hang.aspx#7848390</link><pubDate>Fri, 22 Feb 2008 18:10:26 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7848390</guid><dc:creator>Richard Szalay</dc:creator><description>&lt;p&gt;!runaway doesn't seem to work on an XP machine, it throws the following error:&lt;/p&gt;
&lt;p&gt;The call to LoadLibrary(ext) failed, Win32 error 0n2&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;&amp;quot;The system cannot find the file specified.&amp;quot;&lt;/p&gt;
&lt;p&gt;Please check your debugger configuration and/or network access.&lt;/p&gt;
&lt;p&gt;The call to LoadLibrary(uext) failed, Win32 error 0n2&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;&amp;quot;The system cannot find the file specified.&amp;quot;&lt;/p&gt;
&lt;p&gt;Please check your debugger configuration and/or network access.&lt;/p&gt;
&lt;p&gt;could not get process information, 6&lt;/p&gt;
&lt;p&gt;Everything else (clrstack, dumpheap, do, etc) all work fine. Any ideas?&lt;/p&gt;</description></item><item><title>re: .NET Debugging Demos Lab 4: High CPU hang</title><link>http://blogs.msdn.com/tess/archive/2008/02/22/net-debugging-demos-lab-4-high-cpu-hang.aspx#7848535</link><pubDate>Fri, 22 Feb 2008 18:30:33 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7848535</guid><dc:creator>Tess</dc:creator><description>&lt;p&gt;very curious, it should work... the problem seems to be that it doesnt find the extensions ext.dll and uext.dll that are supposed to be in the winext directory under the debuggers directory... &lt;/p&gt;
&lt;p&gt;!runaway is defined in uext.dll and ntsdexts.dll &lt;/p&gt;
&lt;p&gt;I haven't debugged on an XP machine for quite some time and I did notice that there was a winxp directory under the debuggers directory. &amp;nbsp;&lt;/p&gt;
&lt;p&gt;Try running .chain to see what extensions it has loaded and if it doesnt have ext.dll and uext.dll loaded you might want to try &lt;/p&gt;
&lt;p&gt;.load winext\ext.dll&lt;/p&gt;
&lt;p&gt;.load winext\uext.dll &lt;/p&gt;
&lt;p&gt;and try !runaway again... &lt;/p&gt;
</description></item><item><title>Link Listing - February 22, 2008</title><link>http://blogs.msdn.com/tess/archive/2008/02/22/net-debugging-demos-lab-4-high-cpu-hang.aspx#7854620</link><pubDate>Sat, 23 Feb 2008 08:31:37 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7854620</guid><dc:creator>Christopher Steen</dc:creator><description>&lt;p&gt;ASP.NET Group Enabled Web Form Control Extensions [Via: andrewrea ] Sharepoint An easier way to Create...&lt;/p&gt;
</description></item><item><title>Link Listing - February 22, 2008</title><link>http://blogs.msdn.com/tess/archive/2008/02/22/net-debugging-demos-lab-4-high-cpu-hang.aspx#7854630</link><pubDate>Sat, 23 Feb 2008 08:32:22 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7854630</guid><dc:creator>Christopher Steen</dc:creator><description>&lt;p&gt;Link Listing - February 22, 2008&lt;/p&gt;
</description></item><item><title>re: .NET Debugging Demos Lab 4: High CPU hang</title><link>http://blogs.msdn.com/tess/archive/2008/02/22/net-debugging-demos-lab-4-high-cpu-hang.aspx#7873747</link><pubDate>Sun, 24 Feb 2008 11:16:41 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7873747</guid><dc:creator>charju</dc:creator><description>&lt;p&gt;Cause reason: string concat. Too many &amp;quot;new string&amp;quot; should be create and allocated in the heap. And then, strings will fill out the generation 0, then generation 1, at last is generation 2. So, gc should work to &amp;quot;move&amp;quot; some of them and collect .&lt;/p&gt;
&lt;p&gt;Code :&lt;/p&gt;
&lt;p&gt;ProductsTable += &amp;quot;&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;&amp;quot; + dr[0] + &amp;quot;&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&amp;quot; + dr[1] + &amp;quot;&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&amp;quot; + dr[2] + &amp;quot;&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&amp;quot; ;&lt;/p&gt;</description></item><item><title>Generational GC (Garbage Collector) - A post-it analogy</title><link>http://blogs.msdn.com/tess/archive/2008/02/22/net-debugging-demos-lab-4-high-cpu-hang.aspx#7905286</link><pubDate>Tue, 26 Feb 2008 18:08:50 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7905286</guid><dc:creator>If broken it is, fix it you should</dc:creator><description>&lt;p&gt;I was working through the High CPU Lab Review which is basically caused by high CPU in GC. To understand&lt;/p&gt;
</description></item><item><title>.NET Debugging Demos Lab 4: High CPU Hang - Review</title><link>http://blogs.msdn.com/tess/archive/2008/02/22/net-debugging-demos-lab-4-high-cpu-hang.aspx#7917188</link><pubDate>Wed, 27 Feb 2008 14:31:26 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7917188</guid><dc:creator>If broken it is, fix it you should</dc:creator><description>&lt;p&gt;Hope you have had a chance to go through the high CPU lab... Some people already commented with the solution&lt;/p&gt;
</description></item><item><title>re: .NET Debugging Demos Lab 4: High CPU hang</title><link>http://blogs.msdn.com/tess/archive/2008/02/22/net-debugging-demos-lab-4-high-cpu-hang.aspx#7919683</link><pubDate>Wed, 27 Feb 2008 19:11:57 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7919683</guid><dc:creator>Richard Szalay</dc:creator><description>&lt;p&gt;No luck finding uext.dll and I don't have a winext directory in the debugging tools directory.&lt;/p&gt;
&lt;p&gt;If I .load winxp\ntsdexts.dll then !runaway resolves but gives me:&lt;/p&gt;
&lt;p&gt;could not get process information, 6&lt;/p&gt;
&lt;p&gt;Any ideas?&lt;/p&gt;</description></item><item><title>re: .NET Debugging Demos Lab 4: High CPU hang</title><link>http://blogs.msdn.com/tess/archive/2008/02/22/net-debugging-demos-lab-4-high-cpu-hang.aspx#7919742</link><pubDate>Wed, 27 Feb 2008 19:19:22 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7919742</guid><dc:creator>Tess</dc:creator><description>&lt;p&gt;I'm not 100% sure, but I can't see why there would be a difference between the installation on XP and other platforms. &amp;nbsp;If I were you I would just uninstall it and install/reinstall the latest version... if that doesnt work, try with an earlier version.&lt;/p&gt;
</description></item><item><title>Troubleshooting High CPU issues. (Part 2)</title><link>http://blogs.msdn.com/tess/archive/2008/02/22/net-debugging-demos-lab-4-high-cpu-hang.aspx#8652656</link><pubDate>Wed, 25 Jun 2008 21:14:04 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8652656</guid><dc:creator>Adventures in IIS, Commerce and whatever else comes into my head.</dc:creator><description>&lt;p&gt;Here's some more information on troubleshooting a High CPU Issue. I'm using a Test Scenario which means&lt;/p&gt;
</description></item><item><title>Using VSTS Test and Profilers to troubleshoot a High CPU in GC issue</title><link>http://blogs.msdn.com/tess/archive/2008/02/22/net-debugging-demos-lab-4-high-cpu-hang.aspx#8991027</link><pubDate>Wed, 08 Oct 2008 11:24:08 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8991027</guid><dc:creator>If broken it is, fix it you should</dc:creator><description>&lt;p&gt;Following my post about how to troubleshoot a low CPU performance issue with VSTS Test, I will now do&lt;/p&gt;
</description></item><item><title>re: .NET Debugging Demos Lab 4: High CPU hang</title><link>http://blogs.msdn.com/tess/archive/2008/02/22/net-debugging-demos-lab-4-high-cpu-hang.aspx#9133013</link><pubDate>Sun, 23 Nov 2008 00:46:06 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9133013</guid><dc:creator>Ralf Hoeppner</dc:creator><description>&lt;p&gt;Hi Tess,&lt;/p&gt;
&lt;p&gt;I was trying to apply the steps from you lab to my website, but couldn't get the clrstack command to work. &lt;/p&gt;
&lt;p&gt;I always get messages like that for all dlls:&lt;/p&gt;
&lt;p&gt;** WARNING: Unable to verify checksum for App_Web_sa_cb2o9.dll&lt;/p&gt;
&lt;p&gt;*** ERROR: Module load completed but symbols could not be loaded for App_Web_sa_cb2o9.dll&lt;/p&gt;
&lt;p&gt;Can you give me a hint whats wrong?&lt;/p&gt;
&lt;p&gt;Thanks in Advance!!&lt;/p&gt;
&lt;p&gt;Ralf&lt;/p&gt;</description></item><item><title>re: .NET Debugging Demos Lab 4: High CPU hang</title><link>http://blogs.msdn.com/tess/archive/2008/02/22/net-debugging-demos-lab-4-high-cpu-hang.aspx#9133067</link><pubDate>Sun, 23 Nov 2008 03:38:01 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9133067</guid><dc:creator>Tess</dc:creator><description>&lt;p&gt;if it starts loading symbols when you run a command like &lt;/p&gt;
&lt;p&gt;!clrstack that usually mean that it is misstyped somehow and windbg treats it like a symbol. &amp;nbsp;More specifically it will happen if you run clrstack instead of !clrstack&lt;/p&gt;
</description></item></channel></rss>