limits Element for siteDefaults for sites [IIS Settings Schema]
Note
For more information about the limits element, see the following topic on the Microsoft IIS.net Web site: Default Limits for Web Sites <limits>.
Configures default settings to limit the amount of bandwidth, the number of connections, or the amount of time for connections to sites on the server.
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 valid range is 0 to 1023, or 4294967295 (unlimited). The default value is 4294967295. |
maxConnections |
Optional uint attribute. Specifies the maximum number of simultaneous connections to a 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.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. |
siteDefaults |
Specifies default settings for all sites on the server. |
Remarks
For more information about the limits element, see the following topic on the Microsoft IIS.net Web site: Default Limits for Web Sites <limits>.
Element Information
Configuration locations |
ApplicationHost.config |
Requirements |
Microsoft Internet Information Services (IIS) version 7.0 |