Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
May 10, 2021 6:24:09 AM
Nov 11, 2015 1:47:47 AM
TCP/IP port exhaustion can occur if the server is engaging in an unusually high number of TCIP/IP socket connections. If all ports are allocated to client applications then the client experiences a condition known as TCP/IP port exhaustion. When TCP/IP port exhaustion occurs, client port reservations cannot be made and errors will occur in Qlik Sense that attempt to connect to a service via TCP/IP sockets.
Port exhaustion is more likely to occur under high load conditions than under normal load conditions such as pushing a lot of concurrent users to Qlik Sense.
Below is the error you will see that indicates this issue from PostgresSQL : " FATAL: remaning connection slots are reserved for non-replication superuser connections "
Error 4227, Tcpip is shown and Unable to read data from the transport connection
Error Transport channel is closed.??Transport channel is closed
Error No connection could be made because the target machine actively refused it
Error:The underlying connection was closed: The connection was closed unexpectedly
To increase the upper range of ephemeral ports that are dynamically allocated to client TCP/IP socket connections.
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters and set the value TcpTimedWaitDelay to 30 seconds.
On the Edit menu, click New, DWORD 32bit Value, and then add the following registry value to add a time delay to allow ports to close:
Value name : TcpTimedWaitDelay
Value data: <Enter a decimal value 30 here
This has been tested on Windows Server 2012/2012 R2 and Windows Server 2016
Note: