limits element for site for sites [IIS Settings Schema]
Note
For more information about the limits element, see the following topic on the Microsoft IIS.net Web site: Limits for a Web Site <limits>.
Configures settings to limit the amount of bandwidth, the number of connections, or the amount of time for connections to a site.
Syntax
Attributes and Elements
The following sections describe attributes, child elements, and parent elements for this section.
Attributes
Attribute |
Description |
---|---|
connectionTimeout |
Optional timeSpan attribute. Specifies the time (in seconds) that IIS waits before it disconnects a connection that is considered inactive. Connections can be considered inactive for the following reasons:
The default value is 00:02:00 (two minutes). |
maxBandwidth |
Optional uint attribute. Specifies the maximum network bandwidth used for a site. Use this setting to help prevent overloading the network with IIS activity. The default value is 4294967295. |
maxConnections |
Optional uint attribute. Specifies the maximum number of simultaneous connections to the site. The valid range is 0 to 4294967295 (unlimited). The default value is 4294967295. |
Child Elements
None.
Parent Elements
Element |
Description |
---|---|
configuration |
Specifies the root element in every configuration file that is used by IIS 7. |
system.webServer |
Specifies the top-level section group (in ApplicationHost.config) in which this element is defined. |
system.applicationHost |
Specifies the root element for configuring Web process settings. |
sites |
Specifies configuration settings for all sites on the server, and includes settings for applications and virtual directories in those sites. |
site |
Specifies configuration settings for a site. |
Remarks
For more information about the limits element, see the following topic on the Microsoft IIS.net Web site: Limits for a Web Site <limits>.
Element Information
Configuration locations |
ApplicationHost.config |
Requirements |
Microsoft Internet Information Services (IIS) version 7.0 |