Skip to content

Commit 13ad0ab

Browse files
author
Simonx Xu
committed
Acrolinx
1 parent ea39df2 commit 13ad0ab

1 file changed

Lines changed: 18 additions & 18 deletions

File tree

support/developer/webapps/iis/site-behavior-performance/process-termination-crash.md

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,14 @@ This article helps you identify a process termination (more commonly referred to
1111

1212
## Identify a process crash
1313

14-
To identify that there is a process crash, follow these steps:
14+
To identify that there's a process crash, follow these steps:
1515

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.
1717
1. Type **eventvwr** and select <kbd>Enter</kbd> to open the Event Viewer application.
1818
1. In Event Viewer, on the left-hand side, expand the **Windows Logs** folder, and then select the **System** event log.
1919
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**.
2020

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:
2222

2323
`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.`.
2424

@@ -34,11 +34,11 @@ Collect the following key points:
3434
3535
## Identify the cause of the crash
3636

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:
3838

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.
4040
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**.
4242

4343
From the information collected, you should get an idea of what might have caused the crash.
4444

@@ -72,7 +72,7 @@ To collect a crash dump, you can use tools like [Debug Diagnostic Tool](#debug-d
7272
To take crash dumps using Debug Diagnostic Tool, follow these steps:
7373

7474
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**.
7676
1. Select **A specific IIS web application pool** > **Next**.
7777

7878
> [!NOTE]
@@ -81,9 +81,9 @@ To take crash dumps using Debug Diagnostic Tool, follow these steps:
8181
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**.
8282
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.
8383
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**.
8585
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.
8787
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**.
8888

8989
:::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
107107
1. Follow these steps to get PID:
108108
1. Open **IIS Manager**.
109109
1. Select your server name (on the left).
110-
1. Double click **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.
111111
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:
112112

113113
```cmd
@@ -147,7 +147,7 @@ To take crash dumps using Windows Error Reporting, follow these steps:
147147
148148
1. Open Event Viewer and look for Windows Error Reporting events.
149149
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.
151151
152152
- If you have them, open a support ticket and upload them.
153153
- 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:
167167
168168
To perform the analysis for the crash, follow these steps:
169169
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).
171171
1. Open DebugDiag2 Analysis and select **Add Data Files**.
172172
1. In the file chooser dialog, select the dump file you want to analyze.
173173
1. Once you upload the desired file, select **Start Analysis**.
174174
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.
176176
177177
:::image type="content" source="media/process-termination-crash/debugdiag-analysis-report.png" alt-text="Screenshot of DebugDiag Analysis Report.":::
178178
@@ -182,7 +182,7 @@ Once the analysis is complete, you see a file with an **MHT** extension loaded i
182182
183183
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.
184184
185-
Here is an example of a stack overflow error:
185+
Here's an example of a stack overflow error:
186186
187187
:::image type="content" source="media/process-termination-crash/stack-overflow-error-summary.png" alt-text="Screenshot of a stack overflow error summary.":::
188188
@@ -196,16 +196,16 @@ This error usually means a component of your application tried to perform an inv
196196
197197
You see the following summary and the report detail:
198198
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.":::
200200
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.":::
202202
203203
In the report, locate the failing call stack and identify your code within the presented call stack.
204204
205205
### 0xe0434352
206206
207207
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.
208208
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.":::
210210
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

Comments
 (0)