IIS monitor performance of websites and application pools

http://www.techrepublic.com/article/setp-by-step-monitoring-and-tuning-your-iis-web-servers/

https://support.microsoft.com/en-in/kb/313064

https://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/86afd5ee-e183-4a5a-91fd-cf795289c34f.mspx?mfr=true

Add counters to your Performance Monitor:


  1. Open Performance Monitor from the Administrative Tools Folder.
  2. Click the Add button and add the appropriate counters.
  3. Click Close.
Another useful feature of the Performance Monitor is the ability to add alerts. For example, you might specify alerts to warn you if your processor utilization becomes too high or if your memory becomes too low.

To configure an alert:
  1. Open Performance Monitor.
  2. Expand Performance Logs And Alerts.
  3. Right-click on Alert and select New Alert Settings.
  4. Select a Name, add your counters, and select your action.

Now let's see how to use the Performance Monitor to look at the two most important performance metrics: memory and CPU.

Memory tuning
Performance of your IIS Web server can be drastically reduced if you do not have enough memory to handle the load. You want to make sure that you have enough memory on your IIS system so that swapping does not occur. Windows 2000 and IIS will cache memory as long as there is enough installed on the box. Caching is much faster than swapping. To make sure that you have enough memory for IIS, you should monitor the following counters:
  • File Cache Hits
  • File Cache Hits %
  • File Cache Misses
  • File Cache Flushes

By monitoring the successful and failed hits, you can determine whether IIS has to rely on paging as opposed to going to cache. Keep in mind that the IIS file cache can use up to 4 GB of RAM for caching.

CPU utilization
Obviously, it is important to take a look at your CPU utilization. Monitoring counters such as %Processor Time and Total Processor Time will give you a bigger picture of how your CPU is handling the load. You processor should not sustain a level of more than 80 percent for either of these counters. If it does, you need to look at upgrading your processor or adding another processor, if the system allows for it.

Task Manager
Another quick and useful tool for monitoring IIS is the Task Manager (in Win2K and WinXP). You can access the task manager quickly by pressing [Ctrl][Shift][Esc]. With the Task Manager, you can:
  • View CPU and memory usage quickly.
  • Monitor the CPU and memory usage of Inetinfo.exe (the global IIS process).
  • Monitor the Index Server and Certificate Server, if applicable.

Furthermore, you can add columns to the graphs on the Processes tab of the Task Manager by clicking View | Select Columns. A good column to add is the Memory Usage Delta column. This is useful in determining which applications might have a memory leak. I have used this many times when troubleshooting third-party applications. I can’t tell you how often third-party tools request memory and don't release it when they are finished. This counter helps in determining memory leaks, which can definitely degrade the performance of your Web server.

Event Viewer
The Event Viewer can give you a detailed first glimpse of a problem. When identifying problems, look for the following keywords in the source column in the Event Viewer:
  • NNTP Service—NNTPSVC
  • WWW Service—W3SVC
  • FTP Service—MSFTPSVC
  • SMTP Service—SMTPSVC
  • Active Server Pages
  • Microsoft COM+ MSDTC
  • Certificate Services CERTSVC

Bandwidth Throttling
Now that you have a basic grasp of the Windows tools used in troubleshooting your IIS systems, let’s take a look at a helpful tip for tuning the performance of your Web server. In some cases, you might need to enable Bandwidth Throttling.

Many companies in today’s market run more than just IIS on a Web server. It is safe to assume that they could also be running DHCP, an SMTP server, DNS, and/or other related services. Bandwidth Throttling allows other applications to use the available bandwidth. In addition, if you use host headers and run more than one Web site on your IIS server, you can throttle bandwidth based on each Web site. To learn how to enable and configure Bandwidth Throttling, read this Microsoft TechNet article.

After you have gone over the basics, go ahead and take a look at Microsoft’s Web Application Stress Tool, which allows you to simulate multiple machines connecting to a Web site. This tool was created so that an administrator can find and eliminate any problems with an IIS Web site prior to bringing the IIS Web server live on the production network.

Comments

  1. These days, a website is not merely a bunch of web pages linked together to give information about you and the services/products that you deal with, but, essentially, it is one of the most important marketing tools to create an image for your organization. Few years back, the websites were only meant to fulfill online presence need but gradually when people started to spend more and more time online, there was whole new shift towards making websites a bit more user friendly necessitating the relevancy of its content to give accurate information to its users. this blog

    ReplyDelete

Post a Comment

Popular posts from this blog

altiris software key

Service Principal Names (SPNs) SetSPN Syntax (Setspn.exe)

Troubleshooting Netlogon Error Codes