Follow these recommendations for your Windows environment to prevent deployment issues, to increase the performance and the capacity of the networking stack, specifically the TCP socket, and to enable PingFederate to handle a high volume of concurrent requests.
-
Edit the jvm-memory.options file with a time stamp.
- Start the Command Prompt application cmd.exe.
-
Enter
netsh int ipv4 show dynamicportrange tcp
to view the ephemeral ports. -
Enter
netsh int ipv4 set dynamicport tcp start=1025 num=64510
to increase the range of the ephemeral ports using administrative privileges. - Reboot the server.
-
Enter
netsh int ipv4 show dynamicportrange tcp
to confirm the updated port range.
-
Reduce socket TIME_WAIT delay.
- Start the Registry Editor application regedit.exe.
- Go 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.