You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: support/developer/webapps/iis/site-behavior-performance/process-termination-crash.md
+18-18Lines changed: 18 additions & 18 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,14 +11,14 @@ This article helps you identify a process termination (more commonly referred to
11
11
12
12
## Identify a process crash
13
13
14
-
To identify that there is a process crash, follow these steps:
14
+
To identify that there's a process crash, follow these steps:
15
15
16
-
1. On the affected server, select <kbd>Win</kbd>+<kbd>R</kbd> on your keyboard to open the **Run** dialog.
16
+
1. On the affected server, select <kbd>Win</kbd>+<kbd>R</kbd> on your keyboard to open the **Run** dialog box.
17
17
1. Type **eventvwr** and select <kbd>Enter</kbd> to open the Event Viewer application.
18
18
1. In Event Viewer, on the left-hand side, expand the **Windows Logs** folder, and then select the **System** event log.
19
19
1. In the **System** event log, you can choose to filter the log so that it shows you only the Windows Process Activation Service (WAS) source logs. The event type is **Warning**, and the **Event ID** is **5011**.
20
20
21
-
If there is any event with the preceding characteristics, it indicates a process crash. The wording for the event might look like the following one:
21
+
If there's any event with the preceding characteristics, it indicates a process crash. The wording for the event might look like the following one:
22
22
23
23
`A process serving application pool <name of the application pool> suffered a fatal communication error with the Windows Process Activation Service. The process id was '<id of process>'. The data field contains the error number.`.
24
24
@@ -34,11 +34,11 @@ Collect the following key points:
34
34
35
35
## Identify the cause of the crash
36
36
37
-
After you confirm there is a crash, follow these steps to determine what caused the application to crash:
37
+
After you confirm there's a crash, follow these steps to determine what caused the application to crash:
38
38
39
-
1. On the affected server, select <kbd>Win</kbd>+<kbd>R</kbd> on your keyboard to open the **Run** dialog.
39
+
1. On the affected server, select <kbd>Win</kbd>+<kbd>R</kbd> on your keyboard to open the **Run** dialog box.
40
40
1. Type **eventvwr** and select <kbd>Enter</kbd> to open the Event Viewer application.
41
-
1. In the **Application** event log, you can locate events that has**Source** labeled as **Application Error**. The event type is **Error** and the **Event ID** is **1000**.
41
+
1. In the **Application** event log, you can locate events that have**Source** labeled as **Application Error**. The event type is **Error** and the **Event ID** is **1000**.
42
42
43
43
From the information collected, you should get an idea of what might have caused the crash.
44
44
@@ -72,7 +72,7 @@ To collect a crash dump, you can use tools like [Debug Diagnostic Tool](#debug-d
72
72
To take crash dumps using Debug Diagnostic Tool, follow these steps:
73
73
74
74
1. Download and install [Debug Diagnostic Tool](https://www.microsoft.com/download/details.aspx?id=103453&msockid=145197b7d1fa6877376482b2d0bf6961).
75
-
1. Open the Debug Diag 2 Collection application and select **Add Rule** > **Crash** > **Next**.
75
+
1. Open the DebugDiag 2 Collection application and select **Add Rule** > **Crash** > **Next**.
76
76
1. Select **A specific IIS web application pool** > **Next**.
77
77
78
78
> [!NOTE]
@@ -81,9 +81,9 @@ To take crash dumps using Debug Diagnostic Tool, follow these steps:
81
81
1. Select the crashing application pool (you can get the application pool name in the [Identify a process crash](#identify-a-process-crash) section) and select **Next**.
82
82
1. In the **Advanced Configuration (Optional)** window, select **Breakpoints** under **Advanced Settings**. Don't change any other options in this window and keep them at their default values.
83
83
1. In the **Configure Breakpoints** window, select **Add Breakpoint**.
84
-
1. Select the first line that reads **Ntdll!ZwTerminateProcess**. Then, select **Full Userdump** in the **Action Type** dropdown and set a value between 3 and 5 in the **Action Limit** field. Once done, click**OK**.
84
+
1. Select the first line that reads **Ntdll!ZwTerminateProcess**. Then, select **Full Userdump** in the **Action Type** dropdown and set a value between 3 and 5 in the **Action Limit** field. Once done, select**OK**.
85
85
1. At this stage, you have successfully created a trigger for when the dumps are generated. Select **Save and Close**.
86
-
1.You are back at the **Advanced Configuration (Optional)** window. Select**Next** to move to the next step in the wizard.
86
+
1.In the **Advanced Configuration (Optional)** window, select**Next** to move to the next step in the wizard.
87
87
1. In the **Select Dump Location And Rule Name (Optional)** window, specify the path where you want to save the dumps. Once done, select **Next**.
88
88
89
89
:::image type="content" source="media/process-termination-crash/select-dump-location-and-rule-name.png" alt-text="Screenshot of the Select Dump Location And Rule Name (Optional) window.":::
@@ -107,7 +107,7 @@ ProcDump is a simpler way to take a memory dump of a process. To take crash dump
107
107
1. Follow these steps to get PID:
108
108
1. Open **IIS Manager**.
109
109
1. Select your server name (on the left).
110
-
1. Doubleclick **Worker Processes**. Take note of the PID value for the worker process that you want to troubleshoot.
110
+
1. Double-click **Worker Processes**. Take note of the PID value for the worker process that you want to troubleshoot.
111
111
1. With the PID value in hand and the exception that you have found in the [Identify a process crash](#identify-a-process-crash) section, type the following command in the administrative **Command Prompt** window:
112
112
113
113
```cmd
@@ -147,7 +147,7 @@ To take crash dumps using Windows Error Reporting, follow these steps:
147
147
148
148
1. Open Event Viewer and look for Windows Error Reporting events.
149
149
1. Check the directories mentioned in the Windows Error Reporting events.
150
-
1. Locate files with the extension **.mdmp** (mini dump) or **.hdmp** (heap dump) in the mentioned directories.
150
+
1. Locate files with the extension `.mdmp` (mini dump) or `.hdmp` (heap dump) in the mentioned directories.
151
151
152
152
- If you have them, open a support ticket and upload them.
153
153
- If you don't have them, follow these steps to set up WER:
@@ -167,12 +167,12 @@ To take crash dumps using Windows Error Reporting, follow these steps:
167
167
168
168
To perform the analysis for the crash, follow these steps:
169
169
170
-
1. Download and install [Debug Diag](https://www.microsoft.com/download/details.aspx?id=103453&msockid=145197b7d1fa6877376482b2d0bf6961) (short for Debug Diagnostic Tool).
170
+
1. Download and install [DebugDiag](https://www.microsoft.com/download/details.aspx?id=103453) (short for Debug Diagnostic Tool).
171
171
1. Open DebugDiag2 Analysis and select **Add Data Files**.
172
172
1. In the file chooser dialog, select the dump file you want to analyze.
173
173
1. Once you upload the desired file, select **Start Analysis**.
174
174
175
-
Once the analysis is complete, you see a file with an **MHT** extension loaded in the browser. The following example is from a dump on Notepad to display the final aspect of the analysis report.
175
+
Once the analysis is complete, you see a file with an `.mht` extension loaded in the browser. The following example is from a dump on Notepad to display the final aspect of the analysis report.
176
176
177
177
:::image type="content" source="media/process-termination-crash/debugdiag-analysis-report.png" alt-text="Screenshot of DebugDiag Analysis Report.":::
178
178
@@ -182,7 +182,7 @@ Once the analysis is complete, you see a file with an **MHT** extension loaded i
182
182
183
183
This error usually means that your code is performing a loop of sorts and calling the same function (or group of functions) until it exhausts the stack.
184
184
185
-
Here is an example of a stack overflow error:
185
+
Here's an example of a stack overflow error:
186
186
187
187
:::image type="content" source="media/process-termination-crash/stack-overflow-error-summary.png" alt-text="Screenshot of a stack overflow error summary.":::
188
188
@@ -196,16 +196,16 @@ This error usually means a component of your application tried to perform an inv
196
196
197
197
You see the following summary and the report detail:
198
198
199
-
:::image type="content" source="media/process-termination-crash/access-violation-summary.png" alt-text="Screenshot of a access violation summary.":::
199
+
:::image type="content" source="media/process-termination-crash/access-violation-summary.png" alt-text="Screenshot of an access violation summary.":::
200
200
201
-
:::image type="content" source="media/process-termination-crash/access-violation-report-detail.png" alt-text="Screenshot of a access violation report detail.":::
201
+
:::image type="content" source="media/process-termination-crash/access-violation-report-detail.png" alt-text="Screenshot of an access violation report detail.":::
202
202
203
203
In the report, locate the failing call stack and identify your code within the presented call stack.
204
204
205
205
### 0xe0434352
206
206
207
207
This exception is generated from your application, so the best way forward is to run the memory dump through the report and identify the call stack that is returning the error.
208
208
209
-
:::image type="content" source="media/process-termination-crash/net-second-hand-exception-summary.png" alt-text="Screenshot of .net second hand exception summary.":::
209
+
:::image type="content" source="media/process-termination-crash/net-second-hand-exception-summary.png" alt-text="Screenshot of .NET second hand exception summary.":::
210
210
211
-
:::image type="content" source="media/process-termination-crash/net-second-hand-exception-report-detail.png" alt-text="Screenshot of .net second hand exception report detail.":::
211
+
:::image type="content" source="media/process-termination-crash/net-second-hand-exception-report-detail.png" alt-text="Screenshot of .NET second hand exception report detail.":::
0 commit comments