Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Combining the details found in SO and MSDN Social threads referenced by me and eol led me to these registry settings:</p> <blockquote> <p>HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces{xxxxxxxx-xxxx-xxxx-xxxxxxxxxxxx}\TcpInitialRTT</p> <p>Value Type: REG_DWORD—number</p> <p>Valid Range: 0–0xFFFF</p> <p>Default: 3 seconds</p> <p>Description: This parameter controls the initial time-out used for a TCP connection request and initial data retransmission on a per-interface basis. Use caution when tuning with this parameter because exponential backoff is used. Setting this value to larger than 3 results in much longer time-outs to nonexistent addresses.</p> </blockquote> <p>.</p> <blockquote> <p>HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces{xxxxxxxx-xxxx-xxxx-xxxxxxxxxxxx}\TcpMaxConnectRetransmissions</p> <p>Value Type: REG_DWORD—number</p> <p>Valid Range: 0–255 (decimal)</p> <p>Default: 2</p> <p>Description: This parameter determines the number of times that TCP retransmits a connect request (SYN) before aborting the attempt. The retransmission time-out is doubled with each successive retransmission in a given connect attempt. The initial time-out is controlled by the TcpInitialRtt registry value.</p> </blockquote> <p>.</p> <blockquote> <p>HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces{xxxxxxxx-xxxx-xxxx-xxxxxxxxxxxx}\TcpMaxDataRetransmissions</p> <p>Value Type: REG_DWORD—number</p> <p>Valid Range: 0–0xFFFFFFFF</p> <p>Default: 5</p> <p>Description: This parameter controls the number of times that TCP retransmits an individual data segment (not connection request segments) before aborting the connection. The retransmission time-out is doubled with each successive retransmission on a connection. It is reset when responses resume. The Retransmission Timeout (RTO) value is dynamically adjusted, using the historical measured round-trip time (Smoothed Round Trip Time, or SRTT) on each connection. The starting RTO on a new connection is controlled by the TcpInitialRtt registry value.</p> </blockquote> <p>Since the timeout value on a failed connect is doubled for each retry, the default values make the first attempt fail in 3 seconds, the second fail in 6, and the third and final attempt fail in 12 seconds, or 21 seconds total. BTW, the <em>TcpMaxDataRetransmissions</em> key has nothing to do with this, I include it for completeness and those who come later.</p> <p>None of these values are present by default, you have to add them to change them. Figuring out which interface(s) to do this on is easy, each interface has a key containing its current IP address. (There's even one for localhost.) In my own case, just setting the <em>TcpMaxConnectRetransmissions</em> to zero (0) on the VM interfaces defaults my socket timeout for them to 3 seconds, which is close enough to 2.5 to work. My load balancing works when a WCF service crashes now.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload