This property specifies whether socket pooling is used for sites distinguished by IP address (rather than port number or host header name, for example). If DisableSocketPooling is set to FALSE, then socket pooling is enabled and sockets are shared between sites that use the same port number (but different IP addresses). If DisableSocketPooling is set to TRUE, then there is no socket sharing for sites based on IP address.
Note Socket pooling is a new feature in IIS 5.0.
In IIS version 4.0, each Web site was bound to a different IP address, which meant that each site had its own socket that was not shared with sites bound to other IP addresses. These sockets are created when the site starts, and they consume significant nonpaged memory (RAM). This memory consumption limits the number of sites bound to IP addresses that can be created on a single machine.
By default, socket pooling is enabled. In general, this behavior should not be modified. If changed, the change should be made at the site level only so that other sites can continue to take advantage of the socket pooling feature.
Data type | Boolean |
Default value | FALSE |
Inheritance | Inheritable |
This property is accessible at the following locations:
Metabase Path | Key Type |
/LM/MSFTPSVC | IIsFtpService |
/LM/MSFTPSVC/N | IIsFtpServer |
/LM/W3SVC | IIsWebService |
/LM/W3SVC/N | IIsWebServer |
The following table lists additional information required only for code that uses the IIS Admin Base Object.
Metabase identifier | MD_DISABLE_SOCKET_POOLING |
Default value | DWORD_METADATA |
User type | IIS_MD_UT_SERVER |