How to attach a debugger from the creation time of the Worker Process (w3wp.exe)

Normally the answer for this would be as simple as use the file image execution options (through direct editing the registry or using gflags.exe from Debugging Tools For Windows) and set the “debugger” option to you preferred debugger tool and this would do the job.  At least this is the way we do for troubleshooting…

0

Real case: Application Pool’s worker process (w3wp.exe) crashing during recycling

I was teaching a workshop in London last week and one of the students brought a very interesting issue he had been working on for some time and based on the dump analysis he was not able to point to anything different from our own code (Microsoft’s modules) as the ones causing the crash.  He…

0

Tip: How many users are hitting my web site?

This is a question we hear very often from our customers, in forums or through distribution lists.  The reason we keep hearing the same question over the time is very simple:  There isn’t a definitive answer for that – At least not for IIS since it’s not exactly driven by the number of users hitting…

2

Logparser fails when using the ChartType option

I’m posting this as I couldn’t find this solution documented anywhere (including within MSFT through the discussions around logparser).    Problem: After I installed the Office 2007, my logparser queries which use the parameter “ChartType” no longer work returning the following error:   Error: invalid parameter “chartType”   The solution?  Logparser depends on the Office Web Components to create the charts.  Just intall them…

1

How to Extract SQL info from a thread stack

In the post about troubleshooting Asp.Net poor performance I showed you how to identify one possible cause for high response times when processing Asp.Net pages – the cause we explored on that post was a database server taking too long to respond.  We were able to verify all the information about the SQL side of…

0

How to identify the process and thread being called in a COM call from a thread stack

I’ve just published a post on how to manually identify which classic ASP page is being processed by a specific thread.  Following the same idea you can also identify COM calls being made by a thread.   As always, first identify the thread doing the COM call you want investigate and then look at the thread…

2

How to identify which ASP page is being processed on a specific thread

I’ve been teaching one of our workshops offerings (Workshop Plus: IIS6 Critical Problem Management) and when we go through some debugging samples, one thing I like to demo is how to find which Asp.Net pages are being processed in which threads.  Well, the SOS.dll extension supports the “!aspxpages” command that will make your life really…

2

Tip: Kernel Debugging a VPC Server

Here is little tip for you that want to practice kernel mode debugging but either don’t have 2 machine machines to play the TARGET and HOST roles or simply don’t want to play with (for any reason) with the old null modem serial cable used to connect the HOST to the TARGET:  It’s possible to…

2

Real Case: Random apps running 100% CPU (advanced)

This is another 100% CPU issue.  This time I’m not working on any customer case as the issue is happening on my own Windows XP SP2 machine.  So I resolved trying to troubleshoot that just for fun J. First, let me explain the scenario: Random interactive applications, like Outlook, Word, Excel, Explorer, Internet Explorer etc,…

5