12.12. Configuring Web Site QoS Settings

Problem

You want to tune IIS performance by configuring quality of service (QoS) settings.

Solution

Using a graphical user interface

To limit the number of simultaneous incoming HTTP connections for a web site, do the following:

  1. Open Internet Information Services (IIS) Manager.

  2. In the left pane, expand the console tree to display your web site, right-click on the site, and select Properties.

  3. Select the Performance tab.

  4. Change the Web site connections setting from its default value of Unlimited to a value you specify.

  5. Click OK.

To configure the connection timeout value for a web site, do the following:

  1. Open Internet Information Services (IIS) Manager.

  2. In the left pane, expand the console tree to display your web site, right-click on the site, and select Properties.

  3. Select the Web Site tab.

  4. Make sure that Enable HTTP Keep-Alives is selected (which is the default).

  5. Change the value of Connection timeout as desired.

  6. Click OK.

To control the amount of network bandwidth used by a web site, do the following:

  1. Open Internet Information Services (IIS) Manager.

  2. In the left pane, expand the console tree to display your web site, right-click on the site, and select Properties.

  3. Select the Performance tab.

  4. Select the checkbox labeled Limit the total network bandwidth available to this web site.

  5. Specify the maximum desired bandwidth allowed in kilobytes per second.

  6. Click OK.

Using a command-line interface

The following command helps prevent attackers from consuming resources ...

Get Windows Server Cookbook now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.