Server timeout seems to disregard MinimumTimeout

Hi,
I'm trying to understand why my server takes so long to timeout a peer. From the limited information available on the server timeout logic, my understanding is that timeout is determined based on the peer latency statistics, but my server seems to resend ACKs until it reaches MaxTimeout regardless of the peer RTT\VAR. to demonstrate, I've set the maxTimeout to 60 seconds and MinTimeout to 5 - this is how the timeout log looks like:

0000000008EFE580 Sent: 2749649140 now: 2749708406 (diff: 59266 >= max: 60000) new rtt timeout: 3200 since last touch:60281
Disc: Seq: 25 CH: 255 RTT: 161 VAR: 13 Now: 2749708406 Sent: 2749649140 Diff: 59266 Resends: 18
Resend: Seq: 63 CH: 0 RTT: 161 VAR: 13 Now: 2749704343 Timeout: 1704 Resend: 3
Resend: Seq: 62 CH: 0 RTT: 161 VAR: 13 Now: 2749704343 Timeout: 1704 Resend: 3
Resend: Seq: 61 CH: 0 RTT: 161 VAR: 13 Now: 2749704343 Timeout: 1704 Resend: 3
Resend: Seq: 60 CH: 0 RTT: 161 VAR: 13 Now: 2749704343 Timeout: 3200 Resend: 4
Resend: Seq: 59 CH: 0 RTT: 161 VAR: 13 Now: 2749704343 Timeout: 3200 Resend: 4
Resend: Seq: 58 CH: 0 RTT: 161 VAR: 13 Now: 2749704343 Timeout: 3200 Resend: 4
Resend: Seq: 57 CH: 0 RTT: 161 VAR: 13 Now: 2749704343 Timeout: 3200 Resend: 5
Resend: Seq: 56 CH: 0 RTT: 161 VAR: 13 Now: 2749704343 Timeout: 3200 Resend: 5
Resend: Seq: 55 CH: 0 RTT: 161 VAR: 13 Now: 2749704343 Timeout: 3200 Resend: 5
Resend: Seq: 54 CH: 0 RTT: 161 VAR: 13 Now: 2749704343 Timeout: 3200 Resend: 6
Resend: Seq: 53 CH: 0 RTT: 161 VAR: 13 Now: 2749704343 Timeout: 3200 Resend: 6
Resend: Seq: 52 CH: 0 RTT: 161 VAR: 13 Now: 2749704343 Timeout: 3200 Resend: 6
Resend: Seq: 51 CH: 0 RTT: 161 VAR: 13 Now: 2749704343 Timeout: 3200 Resend: 8
Resend: Seq: 50 CH: 0 RTT: 161 VAR: 13 Now: 2749704343 Timeout: 3200 Resend: 8
Resend: Seq: 49 CH: 0 RTT: 161 VAR: 13 Now: 2749704343 Timeout: 3200 Resend: 8
Resend: Seq: 48 CH: 0 RTT: 161 VAR: 13 Now: 2749704343 Timeout: 3200 Resend: 8
Resend: Seq: 47 CH: 0 RTT: 161 VAR: 13 Now: 2749704343 Timeout: 3200 Resend: 8
Resend: Seq: 46 CH: 0 RTT: 161 VAR: 13 Now: 2749704343 Timeout: 3200 Resend: 11
Resend: Seq: 45 CH: 0 RTT: 161 VAR: 13 Now: 2749704343 Timeout: 3200 Resend: 11
Resend: Seq: 44 CH: 0 RTT: 161 VAR: 13 Now: 2749704343 Timeout: 3200 Resend: 11
Resend: Seq: 25 CH: 255 RTT: 161 VAR: 13 Now: 2749704343 Timeout: 3200 Resend: 18
Resend: Seq: 63 CH: 0 RTT: 161 VAR: 13 Now: 2749700421 Timeout: 852 Resend: 2
Resend: Seq: 62 CH: 0 RTT: 161 VAR: 13 Now: 2749700421 Timeout: 852 Resend: 2
Resend: Seq: 61 CH: 0 RTT: 161 VAR: 13 Now: 2749700421 Timeout: 852 Resend: 2
Resend: Seq: 60 CH: 0 RTT: 161 VAR: 13 Now: 2749700421 Timeout: 1704 Resend: 3
Resend: Seq: 59 CH: 0 RTT: 161 VAR: 13 Now: 2749700421 Timeout: 1704 Resend: 3
Resend: Seq: 58 CH: 0 RTT: 161 VAR: 13 Now: 2749700421 Timeout: 1704 Resend: 3
Resend: Seq: 57 CH: 0 RTT: 161 VAR: 13 Now: 2749700421 Timeout: 3200 Resend: 4
Resend: Seq: 56 CH: 0 RTT: 161 VAR: 13 Now: 2749700421 Timeout: 3200 Resend: 4
Resend: Seq: 55 CH: 0 RTT: 161 VAR: 13 Now: 2749700421 Timeout: 3200 Resend: 4
Resend: Seq: 54 CH: 0 RTT: 161 VAR: 13 Now: 2749700421 Timeout: 3200 Resend: 5
Resend: Seq: 53 CH: 0 RTT: 161 VAR: 13 Now: 2749700421 Timeout: 3200 Resend: 5
Resend: Seq: 52 CH: 0 RTT: 161 VAR: 13 Now: 2749700421 Timeout: 3200 Resend: 5
Resend: Seq: 51 CH: 0 RTT: 161 VAR: 13 Now: 2749700421 Timeout: 3200 Resend: 7
Resend: Seq: 50 CH: 0 RTT: 161 VAR: 13 Now: 2749700421 Timeout: 3200 Resend: 7
Resend: Seq: 49 CH: 0 RTT: 161 VAR: 13 Now: 2749700421 Timeout: 3200 Resend: 7
Resend: Seq: 48 CH: 0 RTT: 161 VAR: 13 Now: 2749700421 Timeout: 3200 Resend: 7
Resend: Seq: 47 CH: 0 RTT: 161 VAR: 13 Now: 2749700421 Timeout: 3200 Resend: 7
Resend: Seq: 46 CH: 0 RTT: 161 VAR: 13 Now: 2749700421 Timeout: 3200 Resend: 10
Resend: Seq: 45 CH: 0 RTT: 161 VAR: 13 Now: 2749700421 Timeout: 3200 Resend: 10
Resend: Seq: 44 CH: 0 RTT: 161 VAR: 13 Now: 2749700421 Timeout: 3200 Resend: 10
Resend: Seq: 25 CH: 255 RTT: 161 VAR: 13 Now: 2749700421 Timeout: 3200 Resend: 17
Resend: Seq: 63 CH: 0 RTT: 161 VAR: 13 Now: 2749696937 Timeout: 426 Resend: 1
Resend: Seq: 62 CH: 0 RTT: 161 VAR: 13 Now: 2749696937 Timeout: 426 Resend: 1
Resend: Seq: 61 CH: 0 RTT: 161 VAR: 13 Now: 2749696937 Timeout: 426 Resend: 1
Resend: Seq: 60 CH: 0 RTT: 161 VAR: 13 Now: 2749696937 Timeout: 852 Resend: 2
Resend: Seq: 59 CH: 0 RTT: 161 VAR: 13 Now: 2749696937 Timeout: 852 Resend: 2
Resend: Seq: 58 CH: 0 RTT: 161 VAR: 13 Now: 2749696937 Timeout: 852 Resend: 2
Resend: Seq: 57 CH: 0 RTT: 161 VAR: 13 Now: 2749696937 Timeout: 1704 Resend: 3


Can anyone offer any explanation for this weird behaviour? Any parameter which I can configure to fix it?
Thanks,
Sahar
Sign In or Register to comment.