It is common to install or uninstall Web Server features. You need these features to execute ASP.NET pages, perform logging, authenticate user requests, etc…. Figure 1 shows a sub-set list of features which you may choose to install. Figure 1, Add Roles and Features list, small example Try walking through the ‘Add Roles and Features’ […]
Read More →Category: IIS
How to capture a memory dump of a W3WP process that consumes too much CPU
If you want to find out why a W3WP worker process is consuming so much CPU, you can use ProcDump. You might also use LogParser to look at the time-taken field, but to get to the root cause you will need to get deep into the source. Before you can get a memory dump, you […]
Read More →StaticCompressionDisableCpuUsage and DynamicCompressionDisableCpuUsage
Performance problems are generally difficult to find the root cause of and fix. There are so many ‘touch points’ that where to start looking much less finding the root cause while the issue is happening, can be a challenge. I found these 4 Compression settings very interesting and a system administrator should review them and […]
Read More →Professional Microsoft IIS 8, co-author Benjamin Perkins
The Professional Microsoft IIS 8 book is now available, check it out. I had the opportunity to contribute a few chapters to it. What an awesome experience! There are lots of examples, experiences, discussions and reviews of the new features found in IIS 8. You can get an inside look at the contents on Amazon […]
Read More →Change or modify a Response Header value using URL Rewrite
If you have ever used a tool that allows you to view the request and response headers, you certainly know that there is some information being passed back and forth between the client and the server that is not simply visible. An example of possible fields can be found here or here. New in IIS […]
Read More →New ProcDump version 5.0 released, using the –f parameter
I really like to use ProcDump for troubleshooting crashes, memory/cpu utilization issues and hangs. I have written a number of other blogs that discuss how to use it here, here and here. The tool is small and unobtrusive, yet very powerful. The new version of the tool has recently been released and can be downloaded […]
Read More →Application Request Routing (ARR) – HTTP Error 400.0 – Bad Request
I was working on setting up an ARR solution the other day and I ran into this error, and shown in Figure 1. The request cannot be routed because it has reached the Max-Forwards limit. The server may be self-referencing itself in request routing topology. Figure 1, HTTP Error 400.0 – Bad Request The message […]
Read More →Application Request Router (ARR) – HTTP Error 502.3 – Bad Gateway
I was setting up a web farm with Web Farm Framework (WFF) and Application Request Router (ARR) and received the error shown in Figure 1/2. Figure 1, HTTP Error 502.3 – Bad Gateway Figure 2, HTTP Error 502.3 – Bad Gateway I checked the Monitoring and Management window to see if the Health Status of […]
Read More →Using !DumpThreadConfig (!dtc) within WinDbg
I have written articles about how to capture a W3WP memory dump on Windows 2003 and Windows 2008. Once you have the memory dump, you need to analyze it to find out what is causing the problem. One command I use while analyzing a memory dump is !DumpThreadConfig or !dtc. Figure 1 shows the output […]
Read More →Recycling a worker process due to deadlock
There are many reasons why an IIS worker process can hang. For example, a long running SQL query, searching through a Dictionary object, a non-optimal Regex command, hitting the limits of the process model configuration, etc… can all cause performance to slow. Previously, I wrote a blog about using the !dtc command in WinDbg. This […]
Read More →