Create a memory dump for your slow performing Web App

Azure App Service
Azure App Service

There are numerous ways to create a memory dump for a slow performing Web App, but I find this one the simplest and quickest.  Follow these steps to capture a memory dump of the W3WP process responding to requests which are slower than expected.  Here are the steps: 1. Login to your KUDU console.  I…

0

MEX Debugging Extension for WinDbg

WinDbg Debugging
WinDbg Debugging

This has been my favorite WinDbg extension for a long time and I am very happy to see that it has been made public.  It can be downloaded from here. To load the MEX extension, copy the MEX.DLL into the winext directory under which your WinDbg client is running.  It can be placed any where…

2

How to take a memory dump from a specific App Service instance

Azure App Service
Azure App Service

I wrote this article that discussed how to monitor the different instances of an Azure App Service. As you know, when you access the KUDU console, as I discussed here, you are accessing only 1 of the multiple instances, which may or may not be having a problem. So, if you take a memory dump…

0

Create a W3WP memory dump, quick and easy

WinDbg Debugging
WinDbg Debugging

I have written a number of articles on how to create memory dumps for troubleshooting W3WP process hangs, crashes or memory consumption issues. • Create a memory dump when the W3WP process terminates using Procdump • Creating a W3WP Memory dump on Windows Server 2003 • Creating a W3WP Memory dump on Windows Server 2008 R2 • Configure Debug…

0

Debugging a hung application with WinDbg

WinDbg Debugging
WinDbg Debugging

There are many reasons that threads can be blocked causing an application to hang.  This is an example of one of those situations.  I loaded a memory dump into WinDbg and loaded the PSSCOR2 extension.  When I executed !syncblk,  I received the following result shown in Table 1. 0:000> !syncblk Index   SyncBlock   MonitorHeld   Recursion      Owning   Thread     Info     SyncBlock                 Owner…

0

New ProcDump version 5.0 released, using the –f parameter

WinDbg Debugging
WinDbg Debugging

I really like to use ProcDump for troubleshooting crashes, memory/cpu utilization issues and hangs.  I have written a number of other blogs that discuss how to use it here, here and here. The tool is small and unobtrusive, yet very powerful.  The new version of the tool has recently been released and can be downloaded…

0

Why does my !runaway command not work

WinDbg Debugging
WinDbg Debugging

Sometimes when I execute: !runaway in WinDbg I receive the following error: ERROR: !runaway: extension exception 0x80004002.  “Unable to get thread times – dumps may not have time information” The error message says it all, but how do you fix it.  In my case ProcDump was used to create the dump and it appears that…

4