ConnectionTimeout Metabase Property

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

The ConnectionTimeout property assumes the functional role of the IIS 5.0 ServerListenTimeout property.

In IIS 6.0, use this property in conjunction with the HeaderWaitTimeout property, and for Web service nodes, use the MinFileBytesPerSec property instead of the ServerListenTimeout property.

The ConnectionTimeout property specifies the time in seconds that IIS waits before it disconnects a connection considered inactive for any of the following reasons:

  • Timer_ConnectionIdle

    The connection was closed because there was not activity and the Timer_ConnectionIdle timer expired.

  • Timer_EntityBody

    The connection was closed because no data was received, and the Timer_EntityBody timer expired.

    If a request has an entity body, HTTP.sys begins a Timer_EntityBody timer, and sets the ConnectionTimeout value to match the timer. When HTTP.sys receives data on the request, it resets the Timer_EntityBody timer and ConnectionTimeout.

  • Timer_AppPool

    The connection was closed because the request waited longer than the ConnectionTimeout value while sitting in an Application Pool queue, waiting to be processed. Increasing the ConnectionTimeout value increases the time a request can wait in an application pool queue before being disconnected.

Attribute Name Attribute Value

XML Data Type

DWORD

WMI Data Type

SINT32

ADSI Data Type

DWORD

ABO Data Type

DWORD

ABO Metabase Identifier

MD_CONNECTION_TIMEOUT

Attributes

INHERIT

Default Value

120

MetaFlagsEx

CACHE_PROPERTY_MODIFIED

User Type

IIS_MD_UT_SERVER

ID

1013

Configurable Locations

You can configure this property at the following locations in the IIS metabase.

Metabase Path IIS Admin Object Type

/LM/W3SVC/n

IIsWebServer

/LM/MSFTPSVC/n

IIsFtpServer

/LM/W3SVC

IIsWebService

/LM/MSFTPSVC

IIsFtpService

/LM/NNTPSVC

IIsNntpService

/LM/NNTPSVC/n

IIsNntpServer

/LM/SMTPSVC

IIsSmtpService

/LM/SMTPSVC/n

IIsSmtpServer

Code Example

For general code examples, see Code Examples to Configure Metabase Properties.