12-21-2018, 04:01 PM
Something else to consider if you are using windows,
Fix windows socket configurations (refer https://docs.microsoft.com/en-us/previou...echnet.10))
One of the ways is to increase the dynamic port range. The max by default is 5000. You can set this up to 65534.
HKLM\System\CurrentControlSet\Services\Tcpip\Parameters\MaxUserPort is the key to use.
The second thing you can do is, once the connection does get into an TIME_WAIT state, you can reduce the time it is in that state.
Default is 4 minutes, but you can set this to 30 seconds. (30 is the minimum value)
HKLM\System\CurrentControlSet\Services\Tcpip\Parameters\TCPTimedWaitDelay is the key to use.
Altering these two windows settings greatly assisted my situation, and might be worth looking at.
-Allen
Fix windows socket configurations (refer https://docs.microsoft.com/en-us/previou...echnet.10))
One of the ways is to increase the dynamic port range. The max by default is 5000. You can set this up to 65534.
HKLM\System\CurrentControlSet\Services\Tcpip\Parameters\MaxUserPort is the key to use.
The second thing you can do is, once the connection does get into an TIME_WAIT state, you can reduce the time it is in that state.
Default is 4 minutes, but you can set this to 30 seconds. (30 is the minimum value)
HKLM\System\CurrentControlSet\Services\Tcpip\Parameters\TCPTimedWaitDelay is the key to use.
Altering these two windows settings greatly assisted my situation, and might be worth looking at.
-Allen