FwxListenerToKillPercent Property of the IFPCLowLevelSettings Interface

The FwxListenerToKillPercent property gets or sets the percentage of the current number of sockets waiting for an incoming connection or for the first block of data on a Web listener for which new waiting sockets will not be created as they complete their pending operations when the percentage of sockets that are waiting for the first block of data out of the total number of waiting sockets on the Web listener drops to the minimum specified in the FwxListenerMinPercent property.

[C++]
HRESULT put_FwxListenerToKillPercent(
	long lPercentToKill
);
HRESULT get_FwxListenerToKillPercent(
	long* plPercentToKill
);

Parameters

plPercentToKill

Pointer to a variable that on return receives a 32-bit integer specifying the percentage of the current number of sockets waiting for an incoming connection or for the first block of data on a Web listener for which new waiting sockets will not be created as they complete their pending operations when the percentage of sockets that are waiting for the first block of data out of the total number of waiting sockets on the Web listener drops to the minimum specified in the FwxListenerMinPercent property.

lPercentToKill

A 32-bit integer that specifies the percentage of the current number of sockets waiting for an incoming connection or for the first block of data on a Web listener for which new waiting sockets will not be created as they complete their pending operations when the percentage of sockets that are waiting for the first block of data out of the total number of waiting sockets on the Web listener drops to the minimum specified in the FwxListenerMinPercent property.

Return Value

These property methods return S_OK if the call is successful; otherwise, they return an error code.

[Visual Basic]
Property FwxListenerToKillPercent As Long

Property Value

A 32-bit integer that specifies the percentage of the current number of sockets waiting for an incoming connection or for the first block of data on a Web listener for which new waiting sockets will not be created as they complete their pending operations when the percentage of sockets that are waiting for the first block of data out of the total number of waiting sockets on the Web listener drops to the minimum specified in the FwxListenerMinPercent property.

Remarks

This property is read/write. Its default value is 5, and its range of permissible values is from 1 through 99. In common scenarios, there is no need to deviate from the default value. This value should be adjusted only for achieving improved performance.

For each Web listener, the Microsoft Firewall service initially creates 50 sockets that wait to accept a new incoming connection and to receive the first block of data. As each of these sockets completes its tasks of accepting a new incoming connection and receiving the first block of data, a new waiting socket is created for the Web listener.

Some of the waiting sockets can be in a state in which they have accepted an incoming connection, but have not received the first block of data. The Firewall service monitors the number of sockets in this state for each Web listener and maintains the percentage of waiting sockets that are in this state between the minimum percentage specified by the FwxListenerMinPercent property and the maximum percentage specified by the FwxListenerMaxPercent property. When the percentage drops to the minimum value, the Firewall service stops creating new waiting sockets for the Web listener until the number of waiting sockets decreases by the current number multiplied by the percentage specified in the FwxListenerToKillPercent property. When the percentage reaches the maximum value, the Firewall service creates new waiting sockets for the Web listener. The number of sockets created equals the current number of waiting sockets multiplied by the percentage specified in the FwxListenerToCreatePercent property.

If the total number of waiting sockets on all Web listeners defined in the array exceeds the number specified by the FwxListenerMaxPendingAccepts property, no new sockets are created.

After the value of this property has been modified, the change must be written to persistent storage by calling the Save method on an object containing FPCLowLevelSettings as a subobject, and the Microsoft Firewall service must be restarted for the change to take effect. For more information about restarting the Firewall service to apply changes, see Restarting Services After Configuration Changes.

This property cannot be accessed through Forefront TMG Management.

Requirements

Client Requires Windows Vista or Windows XP.
Server Requires Windows Server 2008.
Version Requires Forefront Threat Management Gateway (TMG).
IDL

Declared in Msfpccom.idl.

DLL

Requires Msfpccom.dll.

See Also

FPCLowLevelSettings


Send comments about this topic to Microsoft

Build date: 11/30/2009

© 2008 Microsoft Corporation. All rights reserved.

508 Resource Limit Is Reached

Resource Limit Is Reached

The website is temporarily unable to service your request as it exceeded resource limit. Please try again later.