Assigning Resources to Applications in IIS 6.0

Applies To: Windows Server 2003, Windows Server 2003 R2, Windows Server 2003 with SP1

There are several ways to assign, or limit, the amount of resources an application can use. You can use application property sheets to control performance, cache, and process options of individual applications, or you can use bandwidth throttling to limit resources for an entire site or application pool. A third alternative is to control access to your application through the NTFS file system and Web server security features.

Important

You must be a member of the Administrators group on the local computer to perform the following procedure or procedures. As a security best practice, log on to your computer by using an account that is not in the Administrators group, and then use the runas command to run IIS Manager as an administrator. At a command prompt, type runas /user:Administrative_AccountName "mmc %systemroot%\system32\inetsrv\iis.msc".

Procedures

To assign resources using property sheets

  1. In IIS Manager, expand the local computer, right-click the Web site or root directory of an application, and click Properties.

  2. Click the Home Directory, Virtual Directory, or Directory tab.

  3. In the Application settings section, click Configuration.

  4. On the Mappings and Options tabs, select the appropriate check boxes to enable or disable caching, buffering, and session states.

To globally assign resources using bandwidth throttling

  1. In IIS Manager, expand the local computer, right-click the Web Sites folder, and then click Properties.

  2. Click the Performance tab.

  3. Under Bandwidth throttling, select Limit the total network bandwidth available for all Web sites on this server check box.

  4. In the Maximum bandwidth box, click the up and down arrows or type the maximum number of kilobytes per second you want each site contained in the directory to use.

  5. Under Web site connections, select either Unlimited or Connections limited to:. If you select Connections limited to:, click the up and down arrows in the box or type the maximum number of kilobytes per second you want each site contained in the directory to use.

To assign resources using bandwidth throttling to an individual Web site

  1. In IIS Manager, expand the local computer, expand the Web Sites folder, right-click the Web site to which you want to assign resources, and click Properties.

  2. Click the Performance tab.

  3. Under Bandwidth throttling, select Limit the network bandwidth available to this Web site check box.

  4. In the Maximum bandwidth box click the up and down arrows or type the maximum number of kilobytes per second you want each site contained in the directory to use.

  5. Under Web site connections, select either Unlimited or Connections limited to:. If you select Connections limited to:, click the up and down arrows in the box or type the maximum number of Web site connections.