ASP.NET supports the following application performance counters, which you can use to monitor the performance of a single instance of an ASP.NET application. A unique instance appears for these counters, named __Total__, which aggregates counters for all applications on a Web server (similar to the global counters described in the first section of this topic). The __Total__ instance is always available. The counters will display zero when no applications are present on the server.
|
Performance Counter
|
Description
|
|
Anonymous Requests
|
The number of requests that are using anonymous authentication.
|
|
Anonymous Requests/Sec
|
The number of requests per second that are using anonymous authentication.
|
|
Cache Total Entries
|
The total number of entries in the cache. This counter includes both internal use of the cache by the ASP.NET page framework and external use of the cache through exposed APIs.
|
|
Cache Total Hits
|
The total number of hits from the cache. This counter includes both internal use of the cache by the ASP.NET page framework and external use of the cache through exposed APIs.
|
|
Cache Total Misses
|
The number of failed cache requests per application. This counter includes both internal use of the cache by ASP.NET and external use of the cache through exposed APIs.
|
|
Cache Total Hit Ratio
|
The ratio of hits to misses for the cache. This counter includes both internal use of the cache by ASP.NET and external use of the cache through exposed APIs.
|
|
Cache Total Turnover Rate
|
The number of additions and removals to the total cache per second. It is useful in helping determine how effectively the cache is being used. If the turnover is large, the cache is not being used efficiently.
|
|
Cache API Entries
|
The total number of entries in the application cache.
|
|
Cache API Hits
|
The total number of hits from the cache when it is accessed through only the external cache APIs. This counter does not track any use of the cache internally by ASP.NET.
|
|
Cache API Misses
|
The total number of failed requests to the cache when accessed through the external cache APIs. This counter does not track any use of the cache internally by ASP.NET.
|
|
Cache API Hit Ratio
|
The cache hit-to-miss ratio when accessed through the external cache APIs. This counter does not track any use of the cache internally by ASP.NET.
|
|
Cache API Turnover Rate
|
The number of additions and removals to the cache per second, when used through the external APIs (excluding internal use by the ASP.NET page framework). It is useful in helping determine how effectively the cache is being used. If the turnover is large, then the cache is not being used effectively.
|
|
Compilations Total
|
The total number of compilations that have taken place during the lifetime of the current Web server process. This occurs when a file with an .aspx, .asmx, .ascx, or .ashx extension, or a code-behind source file, is dynamically compiled on the server.
Note |
|
This number will initially climb to a peak value as requests are made to all parts of an application. Once a compilation occurs, however, the resulting binary is saved to disk, where it is reused until its source file changes. This means that, even in the event of a process restart, the counter can remain at zero (inactive) until the application is modified or redeployed. |
|
|
Debugging Requests
|
The number of requests that occur while debugging is enabled.
|
|
Errors During Preprocessing
|
The number of errors that occurred during parsing. Excludes compilation and run-time errors.
|
|
Errors During Compilation
|
The number of errors that occur during dynamic compilation. Excludes parser and run-time errors.
|
|
Errors During Execution
|
The total number of errors that occur during the execution of an HTTP request. Excludes parser and compilation errors.
|
|
Errors Unhandled During Execution
|
The total number of unhandled errors that occur during the execution of HTTP requests.
Note |
|
An unhandled error is any uncaught run-time exception that escapes user code on the page and enters the ASP.NET internal error-handling logic. Exceptions to this rule occur when: |
-
Custom errors are enabled, an error page is defined, or both.
-
The Page_Error event is defined in user code and either the error is cleared (using the HttpServerUtility.ClearError method) or a redirect is performed.
|
|
Errors Unhandled During Execution/Sec
|
The number of unhandled exceptions per second that occur during the execution of HTTP requests.
|
|
Errors Total
|
The total number of errors that occur during the execution of HTTP requests. Includes any parser, compilation, or run-time errors. This counter is the sum of the Errors During Compilation, Errors During Preprocessing, and Errors During Execution counters. A well-functioning Web server should not generate errors. If errors occur in your ASP.NET Web application, they may skew any throughput results because of very different code paths for error recovery. Investigate and fix any bugs in your application before performance testing.
|
|
Errors Total/Sec
|
The number of errors per second that occur during the execution of HTTP requests. Includes any parser, compilation, or run-time errors.
|
|
Output Cache Entries
|
The total number of entries in the output cache.
|
|
Output Cache Hits
|
The total number of requests serviced from the output cache.
|
|
Output Cache Misses
|
The number of failed output-cache requests per application.
|
|
Output Cache Hit Ratio
|
The percentage of total requests serviced from the output cache.
|
|
Output Cache Turnover Rate
|
The number of additions and removals to the output cache per second. If the turnover is large, the cache is not being used effectively.
|
|
Pipeline Instance Count
|
The number of active request pipeline instances for the specified ASP.NET application. Since only one execution thread can run within a pipeline instance, this number gives the maximum number of concurrent requests that are being processed for a given application. In most circumstances it is better for this number be low when under load, which signifies that the CPU is well utilized.
|
|
Request Bytes In Total
|
The total size, in bytes, of all requests.
|
|
Request Bytes Out Total
|
The total size, in bytes, of responses sent to a client. This does not include standard HTTP response headers.
|
|
Requests Executing
|
The number of requests currently executing.
|
|
Requests Failed
|
The total number of failed requests. Any and all status codes greater than or equal to 400 will increment this counter.
Note |
|
Requests that cause a 401 status code will increment this counter and the Requests Not Authorized counter. Requests that cause a 404 or 414 status code will increment this counter and the Requests Not Found counter. Requests that cause a 500 status code will increment this counter and the Requests Timed Out counter. |
Note |
|
The equivalent ASP counter would also increment on requests rejected, which cannot be done (because the rejection is done by IIS and not the process model). |
|
|
Requests Not Found
|
The number of requests that failed because resources were not found (status code 404, 414).
|
|
Requests Not Authorized
|
The number of requests that failed due to no authorization (status code 401).
|
|
Requests Succeeded
|
The number of requests that executed successfully (status code 200).
|
|
Requests Timed Out
|
The number of requests that timed out (status code 500).
|
|
Requests Total
|
The total number of requests since the service was started.
|
|
Requests/Sec
|
The number of requests executed per second. This represents the current throughput of the application. Under constant load, this number should remain within a certain range, barring other server work (such as garbage collection, cache cleanup thread, external server tools, and so on).
|
|
Sessions Active
|
The number of sessions currently active. This counter is supported only with in-memory session state.
|
|
Sessions Abandoned
|
The number of sessions that have been explicitly abandoned. This counter is supported only with in-memory session state.
|
|
Sessions Timed Out
|
The number of sessions that timed out. This counter is supported only with in-memory session state.
|
|
Sessions Total
|
The number of sessions timed out. This counter is supported only with in-memory session state.
|
|
Transactions Aborted
|
The number of transactions aborted.
|
|
Transactions Committed
|
The number of transactions committed.
|
|
Transactions Pending
|
The number of transactions in progress.
|
|
Transactions Total
|
The total number of transactions since the service was started.
|
|
Transactions/Sec
|
The number of transactions started per second.
|