Page created: 12 Sep 2019
|
Page updated: 19 Mar 2020
Implement these recommendations in your Windows environment to prevent deployment issues, increase the performance and the capacity of the networking stack (specifically the TCP socket), and thus enabling PingFederate to handle a high volume of concurrent requests.
Increase the number of available ephemeral ports
- Start the Command Prompt application (cmd.exe).
- Type
netsh int ipv4 show dynamicportrange tcp
to view the ephemeral ports. - Type
netsh int ipv4 set dynamicport tcp start=1025 num=64510
to increase the range of the ephemeral ports. (Administrative privileges required.) - Reboot the server.
- Type
netsh int ipv4 show dynamicportrange tcp
to confirm the updated port range.
Reduce socket TIME_WAIT delay
- Start the Registry Editor application (regedit.exe).
- Navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters.
- Create a new DWORD (32 bit) value and set the name as
TcpTimedWaitDelay
. - Set a decimal value of
30
. - Reboot the server.