This article will detail the action plan you can implement to create a rule in Debug Diagnostic 1.2 to automate the dump generation when a hang of the IIS server or of your application is occurring.
This action plan can be applied when your W3WP.exe process or your application is hanged and that you are quickly aware of the situation to generate a dump yourself before the issue is gone. A hang of a process means the application is no longer responding within a normal execution time or is even not responding at all but the process is not crashing. This means there is no stop or restart of the process and you won't see any change to the Process ID.
Debug Diag can use the answer time of a specific URL to generate a dump file.The main difficulty in this action plan is to decide what is the correct value to generate dumps. If you set a too high value, you'll never get a dump, however, if you set a too low value, you'll get tons of dumps which are may not be relevant to the issue you are trying to resolve.
Note: Those values are just example values so you may need to change them depending on your scenario.
The dumps are located by default in "C:\Program Files\DebugDiag\Logs\Rule_Name".
We hope this article will help you out.
See you soon.
Sylvain Lecerf and the French IIS Microsoft Support Team