[This is preliminary documentation and subject to change]

DisableSocketPooling

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 Note    Socket pooling was first introduced 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.

Attribute NameAttribute Value
Data TypeBOOL
AttributesINHERIT
Default ValueFALSE
MetaFlagsExCACHE_PROPERTY_MODIFIED
User TypeIIS_MD_UT_SERVER
StartingNumber
EndingNumber0
ID1029

Access Locations

This property is accessible at the following locations:

Metabase PathIIS Admin Object Type
/LM/MSFTPSVC/Info/Templates/Public FTP SiteIIsFtpServer
/LM/MSFTPSVCIIsFtpService
/LM/W3SVC/1IIsWebServer
/LM/W3SVC/2IIsWebServer
/LM/W3SVC/Info/Templates/Public Web SiteIIsWebServer
/LM/W3SVC/Info/Templates/Secure Web SiteIIsWebServer
/LM/W3SVCIIsWebService

IIS Admin Base Object Information

The following table lists additional information required only for code that uses the IIS Admin Base Object.

Metabase identifier
MD_DISABLE_SOCKET_POOLING
Data typeBOOL
User typeIIS_MD_UT_SERVER

© 1997-2001 Microsoft Corporation. All rights reserved.