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: learn-pr/advocates/troubleshoot-optimize-internet-information-services/includes/1-introduction.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,7 @@ This module treats troubleshooting and performance tuning as a single workflow:
10
10
11
11
This module teaches you about:
12
12
13
-
-**Failed Request Tracing (FREB):** Captures the full request pipeline with per-module timing, letting you pinpoint exactly where a request stalls or fails.
13
+
-**Failed Request Tracing:** Captures the full request pipeline with per-module timing, letting you pinpoint exactly where a request stalls or fails. In older documentation and some elements of the UI, this is termed Failed Request Event Buffering (FREB).
14
14
-**HTTP.sys error logs:** Show requests that the kernel-mode HTTP driver rejected *before* they ever reached a worker process.
15
15
-**Performance Monitor counters:** Provide quantitative baselines and bottleneck identification for CPU, memory, disk, and request throughput.
16
16
-**Tuning:** Covers application pool recycling, output caching, compression, and concurrency settings that directly impact production performance.
Copy file name to clipboardExpand all lines: learn-pr/advocates/troubleshoot-optimize-internet-information-services/includes/2-logs-tracing.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -84,15 +84,15 @@ Correlate the timestamp and client IP from httperr.log with Event Viewer entries
84
84
85
85
## Failed Request Tracing (FREB)
86
86
87
-
Failed Request Tracing captures a detailed trace of the IIS request pipeline. Each trace records every module that processed the request, how long each module took, and where a failure or delay occurred. The output is written as XML files with XSLT stylesheets that you can open in a browser.
87
+
Failed Request Tracing (also termed Failed Request Event Buffering (FREB)) captures a detailed trace of the IIS request pipeline. Each trace records every module that processed the request, how long each module took, and where a failure or delay occurred. The output is written as XML files with XSLT stylesheets that you can open in a browser.
88
88
89
-
FREB is valuable when:
89
+
Failed Request Tracing is valuable when:
90
90
91
91
- An error is intermittent or difficult to reproduce on demand.
92
92
- A request is slow but returns a 200, and you need to know *where* in the pipeline the time is spent.
93
93
- IIS request logs tell you *what* happened but not *why*.
94
94
95
-
### Enabling FREB
95
+
### Enabling Failed Request Tracing
96
96
97
97
**Using IIS Manager:**
98
98
@@ -109,7 +109,7 @@ FREB is valuable when:
109
109
> The following commands use `::` comment syntax and must be run in a Command Prompt window (`cmd.exe`), not PowerShell.
110
110
111
111
```cmd
112
-
:: Enable FREB on the "Default Web Site"
112
+
:: Enable Failed Request Tracing on the "Default Web Site"
113
113
%SystemRoot%\System32\inetsrv\appcmd set config "Default Web Site" /section:system.applicationHost/sites /"[name='Default Web Site'].traceFailedRequestsLogging.enabled:true" /commit:apphost
114
114
115
115
:: Add a rule for all content
@@ -124,9 +124,9 @@ FREB is valuable when:
124
124
125
125
To trace status-code failures instead, set `failureDefinitions.statusCodes:"500-599"` on the same rule.
126
126
127
-
### Reading FREB output
127
+
### Reading Failed Request Tracing output
128
128
129
-
FREB trace files are written to the directory you configured (default: `%SystemDrive%\inetpub\logs\FailedReqLogFiles\W3SVC<siteId>`). Open the XML file in a browser. The XSLT stylesheet formats it into a navigable report.
129
+
Trace files are written to the directory you configured (default: `%SystemDrive%\inetpub\logs\FailedReqLogFiles\W3SVC<siteId>`). Open the XML file in a browser. The XSLT stylesheet formats it into a navigable report.
130
130
131
131
Key sections to examine:
132
132
@@ -139,7 +139,7 @@ Key sections to examine:
139
139
If you see a large time gap after an event from a specific module (for example, `ManagedPipelineHandler`), the bottleneck is in that module's processing, typically in application code or an external dependency the application is calling.
140
140
141
141
> [!WARNING]
142
-
> Disable FREB as soon as you've captured the data you need. In production, use specific status codes or time-taken thresholds instead of tracing all requests, and set a maximum trace file count (for example, 50) to prevent unbounded growth. FREB writes one XML file per traced request, so high traffic can fill disk quickly and degrade performance.
142
+
> Disable Failed Request Tracing as soon as you've captured the data you need. In production, use specific status codes or time-taken thresholds instead of tracing all requests, and set a maximum trace file count (for example, 50) to prevent unbounded growth. Failed Request Tracing writes one XML file per traced request, so high traffic can fill disk quickly and degrade performance.
0 commit comments