TCP/IP ports exhaustion

TCP/IP ports exhaustion

book

Article ID: KB0088632

calendar_today

Updated On:

Products Versions
TIBCO DataSynapse GridServer -
Not Applicable -

Description

Resolution:
This article applies to:

    * Large & busy grids with many engines and drivers
    * Broker is running on Windows 2003/2000 SP1 + SP2

Symptoms:

    * Connectivity issues between the broker and engines/drivers
    * Variety of network errors in driver/engine logs
    * Slow respond time and slow task processing

Cause:

The default maximum number of ephemeral TCP ports in Windows 2003 SP1+SP2 is 5000. In large and busy grids the Broker machine can run out of connections.

Resolution:

NOTE: This operation is NOT supported by Datasynapse and support is not responsible for any side effects caused by this.

Edit the following OS registry keys to work around this issue HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesTcpipParameters

Value Name: MaxUserPort

Value Type: DWORD

Value data: 65534

Valid Range: 5000-65534 (decimal)

Default: 0x1388 (5000 decimal)

Value Name: TcpTimedWaitDelay

Value Type: REG_DWORD

Value data: 120

Valid Range:0x1E 0x12C ( 30-300 seconds )

Default: 0xF0 ( 240 seconds = 4 minutes )

HKLMSystemCurrentControlSetServicesAFDParameters EnableDynamicBacklog=0x1

MinimumDynamicBacklog=0x20

MaximumDynamicBacklog=0x1000

DynamicBacklogGrowthDelta=0x10

Further reading:

http://technet.microsoft.com/en-us/library/cc938217.aspx

http://msdn.microsoft.com/en-us/library/aa302363.aspx

http://msdn.microsoft.com/en-us/library/aa560610(BTS.20).aspx

Issue/Introduction

TCP/IP ports exhaustion