This is our old Q&A Site. Please post any new questions and answers at ask.wireshark.org.

In this scenaraio the client is asking the server for a file and then (deliberatly) slows down the rate at which it reads. From the log, the client's receive window size gradually decreaese to zero and then the server stops sending. The question is why there is a quite a large time gap between the [ TCP Window Full ] message and the last client ACK (Packets 72, 102 in the stream)

No.     Time        Source                Destination           Protocol Length Info
     53 16.344495   192.168.4.114         192.168.4.101         HTTP     61     Continuation or non-HTTP traffic

Frame 53: 61 bytes on wire (488 bits), 61 bytes captured (488 bits)
Ethernet II, Src: AsustekC_7f:f4:b5 (20:cf:30:7f:f4:b5), Dst: D-Link_09:1b:61 (00:24:01:09:1b:61)
Internet Protocol Version 4, Src: 192.168.4.114 (192.168.4.114), Dst: 192.168.4.101 (192.168.4.101)
Transmission Control Protocol, Src Port: data-port (3578), Dst Port: 57856 (57856), Seq: 111, Ack: 1, Len: 7
Hypertext Transfer Protocol

No.     Time        Source                Destination           Protocol Length Info
     54 16.344710   192.168.4.101         192.168.4.114         TCP      60     57856 > data-port [ACK] Seq=1 Ack=118 Win=65536 Len=0

Frame 54: 60 bytes on wire (480 bits), 60 bytes captured (480 bits)
Ethernet II, Src: D-Link_09:1b:61 (00:24:01:09:1b:61), Dst: AsustekC_7f:f4:b5 (20:cf:30:7f:f4:b5)
Internet Protocol Version 4, Src: 192.168.4.101 (192.168.4.101), Dst: 192.168.4.114 (192.168.4.114)
Transmission Control Protocol, Src Port: 57856 (57856), Dst Port: data-port (3578), Seq: 1, Ack: 118, Len: 0

No.     Time        Source                Destination           Protocol Length Info
     57 16.354841   192.168.4.101         192.168.4.114         TCP      494    [TCP segment of a reassembled PDU]

Frame 57: 494 bytes on wire (3952 bits), 494 bytes captured (3952 bits)
Ethernet II, Src: D-Link_09:1b:61 (00:24:01:09:1b:61), Dst: AsustekC_7f:f4:b5 (20:cf:30:7f:f4:b5)
Internet Protocol Version 4, Src: 192.168.4.101 (192.168.4.101), Dst: 192.168.4.114 (192.168.4.114)
Transmission Control Protocol, Src Port: 57856 (57856), Dst Port: data-port (3578), Seq: 1, Ack: 118, Len: 440

No.     Time        Source                Destination           Protocol Length Info
     58 16.355109   192.168.4.101         192.168.4.114         TCP      60     [TCP segment of a reassembled PDU]

Frame 58: 60 bytes on wire (480 bits), 60 bytes captured (480 bits)
Ethernet II, Src: D-Link_09:1b:61 (00:24:01:09:1b:61), Dst: AsustekC_7f:f4:b5 (20:cf:30:7f:f4:b5)
Internet Protocol Version 4, Src: 192.168.4.101 (192.168.4.101), Dst: 192.168.4.114 (192.168.4.114)
Transmission Control Protocol, Src Port: 57856 (57856), Dst Port: data-port (3578), Seq: 441, Ack: 118, Len: 6

No.     Time        Source                Destination           Protocol Length Info
     59 16.355193   192.168.4.114         192.168.4.101         TCP      54     data-port > 57856 [ACK] Seq=118 Ack=447 Win=7748 Len=0

Frame 59: 54 bytes on wire (432 bits), 54 bytes captured (432 bits)
Ethernet II, Src: AsustekC_7f:f4:b5 (20:cf:30:7f:f4:b5), Dst: D-Link_09:1b:61 (00:24:01:09:1b:61)
Internet Protocol Version 4, Src: 192.168.4.114 (192.168.4.114), Dst: 192.168.4.101 (192.168.4.101)
Transmission Control Protocol, Src Port: data-port (3578), Dst Port: 57856 (57856), Seq: 118, Ack: 447, Len: 0

No.     Time        Source                Destination           Protocol Length Info
     60 16.355608   192.168.4.101         192.168.4.114         TCP      1514   [TCP segment of a reassembled PDU]

Frame 60: 1514 bytes on wire (12112 bits), 1514 bytes captured (12112 bits)
Ethernet II, Src: D-Link_09:1b:61 (00:24:01:09:1b:61), Dst: AsustekC_7f:f4:b5 (20:cf:30:7f:f4:b5)
Internet Protocol Version 4, Src: 192.168.4.101 (192.168.4.101), Dst: 192.168.4.114 (192.168.4.114)
Transmission Control Protocol, Src Port: 57856 (57856), Dst Port: data-port (3578), Seq: 447, Ack: 118, Len: 1460

No.     Time        Source                Destination           Protocol Length Info
     61 16.355807   192.168.4.101         192.168.4.114         TCP      1514   [TCP segment of a reassembled PDU]

Frame 61: 1514 bytes on wire (12112 bits), 1514 bytes captured (12112 bits)
Ethernet II, Src: D-Link_09:1b:61 (00:24:01:09:1b:61), Dst: AsustekC_7f:f4:b5 (20:cf:30:7f:f4:b5)
Internet Protocol Version 4, Src: 192.168.4.101 (192.168.4.101), Dst: 192.168.4.114 (192.168.4.114)
Transmission Control Protocol, Src Port: 57856 (57856), Dst Port: data-port (3578), Seq: 1907, Ack: 118, Len: 1460

No.     Time        Source                Destination           Protocol Length Info
     62 16.355861   192.168.4.114         192.168.4.101         TCP      54     data-port > 57856 [ACK] Seq=118 Ack=3367 Win=8192 Len=0

Frame 62: 54 bytes on wire (432 bits), 54 bytes captured (432 bits)
Ethernet II, Src: AsustekC_7f:f4:b5 (20:cf:30:7f:f4:b5), Dst: D-Link_09:1b:61 (00:24:01:09:1b:61)
Internet Protocol Version 4, Src: 192.168.4.114 (192.168.4.114), Dst: 192.168.4.101 (192.168.4.101)
Transmission Control Protocol, Src Port: data-port (3578), Dst Port: 57856 (57856), Seq: 118, Ack: 3367, Len: 0

No.     Time        Source                Destination           Protocol Length Info
     63 16.356285   192.168.4.101         192.168.4.114         TCP      1514   [TCP segment of a reassembled PDU]

Frame 63: 1514 bytes on wire (12112 bits), 1514 bytes captured (12112 bits)
Ethernet II, Src: D-Link_09:1b:61 (00:24:01:09:1b:61), Dst: AsustekC_7f:f4:b5 (20:cf:30:7f:f4:b5)
Internet Protocol Version 4, Src: 192.168.4.101 (192.168.4.101), Dst: 192.168.4.114 (192.168.4.114)
Transmission Control Protocol, Src Port: 57856 (57856), Dst Port: data-port (3578), Seq: 3367, Ack: 118, Len: 1460

No.     Time        Source                Destination           Protocol Length Info
     64 16.356495   192.168.4.101         192.168.4.114         TCP      1514   [TCP segment of a reassembled PDU]

Frame 64: 1514 bytes on wire (12112 bits), 1514 bytes captured (12112 bits)
Ethernet II, Src: D-Link_09:1b:61 (00:24:01:09:1b:61), Dst: AsustekC_7f:f4:b5 (20:cf:30:7f:f4:b5)
Internet Protocol Version 4, Src: 192.168.4.101 (192.168.4.101), Dst: 192.168.4.114 (192.168.4.114)
Transmission Control Protocol, Src Port: 57856 (57856), Dst Port: data-port (3578), Seq: 4827, Ack: 118, Len: 1460

No.     Time        Source                Destination           Protocol Length Info
     65 16.356564   192.168.4.114         192.168.4.101         TCP      54     data-port > 57856 [ACK] Seq=118 Ack=6287 Win=8192 Len=0

Frame 65: 54 bytes on wire (432 bits), 54 bytes captured (432 bits)
Ethernet II, Src: AsustekC_7f:f4:b5 (20:cf:30:7f:f4:b5), Dst: D-Link_09:1b:61 (00:24:01:09:1b:61)
Internet Protocol Version 4, Src: 192.168.4.114 (192.168.4.114), Dst: 192.168.4.101 (192.168.4.101)
Transmission Control Protocol, Src Port: data-port (3578), Dst Port: 57856 (57856), Seq: 118, Ack: 6287, Len: 0

No.     Time        Source                Destination           Protocol Length Info
     66 16.356618   192.168.4.101         192.168.4.114         TCP      1514   [TCP segment of a reassembled PDU]

Frame 66: 1514 bytes on wire (12112 bits), 1514 bytes captured (12112 bits)
Ethernet II, Src: D-Link_09:1b:61 (00:24:01:09:1b:61), Dst: AsustekC_7f:f4:b5 (20:cf:30:7f:f4:b5)
Internet Protocol Version 4, Src: 192.168.4.101 (192.168.4.101), Dst: 192.168.4.114 (192.168.4.114)
Transmission Control Protocol, Src Port: 57856 (57856), Dst Port: data-port (3578), Seq: 6287, Ack: 118, Len: 1460

No.     Time        Source                Destination           Protocol Length Info
     67 16.356702   192.168.4.101         192.168.4.114         TCP      1514   [TCP segment of a reassembled PDU]

Frame 67: 1514 bytes on wire (12112 bits), 1514 bytes captured (12112 bits)
Ethernet II, Src: D-Link_09:1b:61 (00:24:01:09:1b:61), Dst: AsustekC_7f:f4:b5 (20:cf:30:7f:f4:b5)
Internet Protocol Version 4, Src: 192.168.4.101 (192.168.4.101), Dst: 192.168.4.114 (192.168.4.114)
Transmission Control Protocol, Src Port: 57856 (57856), Dst Port: data-port (3578), Seq: 7747, Ack: 118, Len: 1460

No.     Time        Source                Destination           Protocol Length Info
     68 16.356765   192.168.4.114         192.168.4.101         TCP      54     data-port > 57856 [ACK] Seq=118 Ack=9207 Win=8192 Len=0

Frame 68: 54 bytes on wire (432 bits), 54 bytes captured (432 bits)
Ethernet II, Src: AsustekC_7f:f4:b5 (20:cf:30:7f:f4:b5), Dst: D-Link_09:1b:61 (00:24:01:09:1b:61)
Internet Protocol Version 4, Src: 192.168.4.114 (192.168.4.114), Dst: 192.168.4.101 (192.168.4.101)
Transmission Control Protocol, Src Port: data-port (3578), Dst Port: 57856 (57856), Seq: 118, Ack: 9207, Len: 0

No.     Time        Source                Destination           Protocol Length Info
     69 16.356979   192.168.4.101         192.168.4.114         TCP      1514   [TCP segment of a reassembled PDU]

Frame 69: 1514 bytes on wire (12112 bits), 1514 bytes captured (12112 bits)
Ethernet II, Src: D-Link_09:1b:61 (00:24:01:09:1b:61), Dst: AsustekC_7f:f4:b5 (20:cf:30:7f:f4:b5)
Internet Protocol Version 4, Src: 192.168.4.101 (192.168.4.101), Dst: 192.168.4.114 (192.168.4.114)
Transmission Control Protocol, Src Port: 57856 (57856), Dst Port: data-port (3578), Seq: 9207, Ack: 118, Len: 1460

No.     Time        Source                Destination           Protocol Length Info
     70 16.357185   192.168.4.101         192.168.4.114         TCP      1514   [TCP segment of a reassembled PDU]

Frame 70: 1514 bytes on wire (12112 bits), 1514 bytes captured (12112 bits)
Ethernet II, Src: D-Link_09:1b:61 (00:24:01:09:1b:61), Dst: AsustekC_7f:f4:b5 (20:cf:30:7f:f4:b5)
Internet Protocol Version 4, Src: 192.168.4.101 (192.168.4.101), Dst: 192.168.4.114 (192.168.4.114)
Transmission Control Protocol, Src Port: 57856 (57856), Dst Port: data-port (3578), Seq: 10667, Ack: 118, Len: 1460

No.     Time        Source                Destination           Protocol Length Info
     71 16.357247   192.168.4.114         192.168.4.101         TCP      54     data-port > 57856 [ACK] Seq=118 Ack=12127 Win=5272 Len=0

Frame 71: 54 bytes on wire (432 bits), 54 bytes captured (432 bits)
Ethernet II, Src: AsustekC_7f:f4:b5 (20:cf:30:7f:f4:b5), Dst: D-Link_09:1b:61 (00:24:01:09:1b:61)
Internet Protocol Version 4, Src: 192.168.4.114 (192.168.4.114), Dst: 192.168.4.101 (192.168.4.101)
Transmission Control Protocol, Src Port: data-port (3578), Dst Port: 57856 (57856), Seq: 118, Ack: 12127, Len: 0

No.     Time        Source                Destination           Protocol Length Info
     72 16.357304   192.168.4.101         192.168.4.114         TCP      1514   [TCP segment of a reassembled PDU]

Frame 72: 1514 bytes on wire (12112 bits), 1514 bytes captured (12112 bits)
Ethernet II, Src: D-Link_09:1b:61 (00:24:01:09:1b:61), Dst: AsustekC_7f:f4:b5 (20:cf:30:7f:f4:b5)
Internet Protocol Version 4, Src: 192.168.4.101 (192.168.4.101), Dst: 192.168.4.114 (192.168.4.114)
Transmission Control Protocol, Src Port: 57856 (57856), Dst Port: data-port (3578), Seq: 12127, Ack: 118, Len: 1460

No.     Time        Source                Destination           Protocol Length Info
     73 16.357408   192.168.4.101         192.168.4.114         TCP      1514   [TCP segment of a reassembled PDU]

Frame 73: 1514 bytes on wire (12112 bits), 1514 bytes captured (12112 bits)
Ethernet II, Src: D-Link_09:1b:61 (00:24:01:09:1b:61), Dst: AsustekC_7f:f4:b5 (20:cf:30:7f:f4:b5)
Internet Protocol Version 4, Src: 192.168.4.101 (192.168.4.101), Dst: 192.168.4.114 (192.168.4.114)
Transmission Control Protocol, Src Port: 57856 (57856), Dst Port: data-port (3578), Seq: 13587, Ack: 118, Len: 1460

No.     Time        Source                Destination           Protocol Length Info
     74 16.357459   192.168.4.114         192.168.4.101         TCP      54     data-port > 57856 [ACK] Seq=118 Ack=15047 Win=2352 Len=0

Frame 74: 54 bytes on wire (432 bits), 54 bytes captured (432 bits)
Ethernet II, Src: AsustekC_7f:f4:b5 (20:cf:30:7f:f4:b5), Dst: D-Link_09:1b:61 (00:24:01:09:1b:61)
Internet Protocol Version 4, Src: 192.168.4.114 (192.168.4.114), Dst: 192.168.4.101 (192.168.4.101)
Transmission Control Protocol, Src Port: data-port (3578), Dst Port: 57856 (57856), Seq: 118, Ack: 15047, Len: 0

No.     Time        Source                Destination           Protocol Length Info
     75 16.357619   192.168.4.101         192.168.4.114         TCP      1514   [TCP segment of a reassembled PDU]

Frame 75: 1514 bytes on wire (12112 bits), 1514 bytes captured (12112 bits)
Ethernet II, Src: D-Link_09:1b:61 (00:24:01:09:1b:61), Dst: AsustekC_7f:f4:b5 (20:cf:30:7f:f4:b5)
Internet Protocol Version 4, Src: 192.168.4.101 (192.168.4.101), Dst: 192.168.4.114 (192.168.4.114)
Transmission Control Protocol, Src Port: 57856 (57856), Dst Port: data-port (3578), Seq: 15047, Ack: 118, Len: 1460

No.     Time        Source                Destination           Protocol Length Info
     77 16.554222   192.168.4.114         192.168.4.101         TCP      54     data-port > 57856 [ACK] Seq=118 Ack=16507 Win=892 Len=0

Frame 77: 54 bytes on wire (432 bits), 54 bytes captured (432 bits)
Ethernet II, Src: AsustekC_7f:f4:b5 (20:cf:30:7f:f4:b5), Dst: D-Link_09:1b:61 (00:24:01:09:1b:61)
Internet Protocol Version 4, Src: 192.168.4.114 (192.168.4.114), Dst: 192.168.4.101 (192.168.4.101)
Transmission Control Protocol, Src Port: data-port (3578), Dst Port: 57856 (57856), Seq: 118, Ack: 16507, Len: 0

No.     Time        Source                Destination           Protocol Length Info
    102 21.355650   192.168.4.101         192.168.4.114         TCP      946    [TCP Window Full] [TCP segment of a reassembled PDU]

Frame 102: 946 bytes on wire (7568 bits), 946 bytes captured (7568 bits)
Ethernet II, Src: D-Link_09:1b:61 (00:24:01:09:1b:61), Dst: AsustekC_7f:f4:b5 (20:cf:30:7f:f4:b5)
Internet Protocol Version 4, Src: 192.168.4.101 (192.168.4.101), Dst: 192.168.4.114 (192.168.4.114)
Transmission Control Protocol, Src Port: 57856 (57856), Dst Port: data-port (3578), Seq: 16507, Ack: 118, Len: 892

No.     Time        Source                Destination           Protocol Length Info
    104 21.554174   192.168.4.114         192.168.4.101         TCP      54     [TCP ZeroWindow] data-port > 57856 [ACK] Seq=118 Ack=17399 Win=0 Len=0

Frame 104: 54 bytes on wire (432 bits), 54 bytes captured (432 bits)
Ethernet II, Src: AsustekC_7f:f4:b5 (20:cf:30:7f:f4:b5), Dst: D-Link_09:1b:61 (00:24:01:09:1b:61)
Internet Protocol Version 4, Src: 192.168.4.114 (192.168.4.114), Dst: 192.168.4.101 (192.168.4.101)
Transmission Control Protocol, Src Port: data-port (3578), Dst Port: 57856 (57856), Seq: 118, Ack: 17399, Len: 0

No.     Time        Source                Destination           Protocol Length Info
    105 21.870026   192.168.4.101         192.168.4.114         TCP      60     [TCP ZeroWindowProbe] [TCP segment of a reassembled PDU]

Frame 105: 60 bytes on wire (480 bits), 60 bytes captured (480 bits)
Ethernet II, Src: D-Link_09:1b:61 (00:24:01:09:1b:61), Dst: AsustekC_7f:f4:b5 (20:cf:30:7f:f4:b5)
Internet Protocol Version 4, Src: 192.168.4.101 (192.168.4.101), Dst: 192.168.4.114 (192.168.4.114)
Transmission Control Protocol, Src Port: 57856 (57856), Dst Port: data-port (3578), Seq: 17399, Ack: 118, Len: 1

No.     Time        Source                Destination           Protocol Length Info
    106 22.074080   192.168.4.114         192.168.4.101         TCP      54     [TCP ZeroWindow] [TCP ACKed unseen segment] data-port > 57856 [ACK] Seq=118 Ack=17400 Win=0 Len=0

Frame 106: 54 bytes on wire (432 bits), 54 bytes captured (432 bits)
Ethernet II, Src: AsustekC_7f:f4:b5 (20:cf:30:7f:f4:b5), Dst: D-Link_09:1b:61 (00:24:01:09:1b:61)
Internet Protocol Version 4, Src: 192.168.4.114 (192.168.4.114), Dst: 192.168.4.101 (192.168.4.101)
Transmission Control Protocol, Src Port: data-port (3578), Dst Port: 57856 (57856), Seq: 118, Ack: 17400, Len: 0

No.     Time        Source                Destination           Protocol Length Info
    108 22.837310   192.168.4.101         192.168.4.114         TCP      60     [TCP Previous segment not captured] [TCP segment of a reassembled PDU]

Frame 108: 60 bytes on wire (480 bits), 60 bytes captured (480 bits)
Ethernet II, Src: D-Link_09:1b:61 (00:24:01:09:1b:61), Dst: AsustekC_7f:f4:b5 (20:cf:30:7f:f4:b5)
Internet Protocol Version 4, Src: 192.168.4.101 (192.168.4.101), Dst: 192.168.4.114 (192.168.4.114)
Transmission Control Protocol, Src Port: 57856 (57856), Dst Port: data-port (3578), Seq: 17400, Ack: 118, Len: 1

No.     Time        Source                Destination           Protocol Length Info
    109 23.034097   192.168.4.114         192.168.4.101         TCP      54     [TCP ZeroWindow] [TCP ACKed unseen segment] data-port > 57856 [ACK] Seq=118 Ack=17401 Win=0 Len=0

Frame 109: 54 bytes on wire (432 bits), 54 bytes captured (432 bits)
Ethernet II, Src: AsustekC_7f:f4:b5 (20:cf:30:7f:f4:b5), Dst: D-Link_09:1b:61 (00:24:01:09:1b:61)
Internet Protocol Version 4, Src: 192.168.4.114 (192.168.4.114), Dst: 192.168.4.101 (192.168.4.101)
Transmission Control Protocol, Src Port: data-port (3578), Dst Port: 57856 (57856), Seq: 118, Ack: 17401, Len: 0

No.     Time        Source                Destination           Protocol Length Info
    112 24.958829   192.168.4.101         192.168.4.114         TCP      60     [TCP ZeroWindowProbe] [TCP segment of a reassembled PDU]

Frame 112: 60 bytes on wire (480 bits), 60 bytes captured (480 bits)
Ethernet II, Src: D-Link_09:1b:61 (00:24:01:09:1b:61), Dst: AsustekC_7f:f4:b5 (20:cf:30:7f:f4:b5)
Internet Protocol Version 4, Src: 192.168.4.101 (192.168.4.101), Dst: 192.168.4.114 (192.168.4.114)
Transmission Control Protocol, Src Port: 57856 (57856), Dst Port: data-port (3578), Seq: 17401, Ack: 118, Len: 1

No.     Time        Source                Destination           Protocol Length Info
    113 25.164016   192.168.4.114         192.168.4.101         TCP      54     [TCP ZeroWindow] [TCP ACKed unseen segment] data-port > 57856 [ACK] Seq=118 Ack=17402 Win=0 Len=0

No.     Time        Source                Destination           Protocol Length Info
    148 29.576307   192.168.4.101         192.168.4.114         TCP      60     [TCP Previous segment not captured] [TCP segment of a reassembled PDU]

Frame 148: 60 bytes on wire (480 bits), 60 bytes captured (480 bits)
Ethernet II, Src: D-Link_09:1b:61 (00:24:01:09:1b:61), Dst: AsustekC_7f:f4:b5 (20:cf:30:7f:f4:b5)
Internet Protocol Version 4, Src: 192.168.4.101 (192.168.4.101), Dst: 192.168.4.114 (192.168.4.114)
Transmission Control Protocol, Src Port: 57856 (57856), Dst Port: data-port (3578), Seq: 17402, Ack: 118, Len: 1

No.     Time        Source                Destination           Protocol Length Info
    149 29.576509   192.168.4.114         192.168.4.101         TCP      54     [TCP ZeroWindow] [TCP ACKed unseen segment] data-port > 57856 [ACK] Seq=118 Ack=17402 Win=0 Len=0

Frame 149: 54 bytes on wire (432 bits), 54 bytes captured (432 bits)
Ethernet II, Src: AsustekC_7f:f4:b5 (20:cf:30:7f:f4:b5), Dst: D-Link_09:1b:61 (00:24:01:09:1b:61)
Internet Protocol Version 4, Src: 192.168.4.114 (192.168.4.114), Dst: 192.168.4.101 (192.168.4.101)
Transmission Control Protocol, Src Port: data-port (3578), Dst Port: 57856 (57856), Seq: 118, Ack: 17402, Len: 0

asked 02 Jul '14, 00:21

beijingdj's gravatar image

beijingdj
1111
accept rate: 0%

edited 02 Jul '14, 01:39

grahamb's gravatar image

grahamb ♦
19.8k330206

1

Trying to diagnose an issue by staring at a wall of text is very frustrating. Please post a public capture someplace, e.g. CloudShark, Dropbox, Google Drive etc.

(02 Jul '14, 01:41) grahamb ♦

Added a screendshotalt text

(02 Jul '14, 08:46) beijingdj

That's just a prettier wall of text, still not a capture.

(02 Jul '14, 08:51) grahamb ♦

Having a window size smaller than one Full-sized segment is quite an issue for the sending TCP stack. Imaging you have 200k Bytes of Data to send filled your send buffer with 1.460 byte segments. When the client's RWIN reaches the <1.460 value like 892 in your question or 192 in the screenshot the sender has to decide to: A: Take all packets from the sending buffer (1460,1460,1460 etc.), rebuild them into new segments where possibly the first one is big enough to match the RWIN value (892,1460,1460 etc.) and by that having to re-segment all the data or B: wait for the client to do a Window Update allowing full-sized segments to be sent again.

In your case, I'd say it is that behaviour where the sender doesn't want to re-segment all the data but after multiple seconds sees no other way but to do so and send a sub-MSS sized segment.

permanent link

answered 02 Jul '14, 11:51

Landi's gravatar image

Landi
2.3k51442
accept rate: 28%

s it possible to avoid this situation happening by doing some configuration on the client side ?

(02 Jul '14, 13:24) beijingdj

This looks to be the sender attempting to avoid "Silly Window Syndrome". (See also RFC 813 and http://www.pcvr.nl/tcpip/tcp_pers.htm, which is straight from Stevens' TCP/IP Illusrated, Vol 1.)

Also, from RFC 793, section 3.7

Window Management Suggestions

Another suggestion is for the sender to avoid sending small
segments by waiting until the window is large enough before
sending data.

It looks like the server is attempting to avoid sending many small segments by giving the client some time to open up its receive window. When the last 192 byte segment (which is obviously less than an MSS) is sent following the 5 second delay, the server is hoping that the ACK to the segment will include a bigger receive window size so bigger segments can be sent.

permanent link

answered 02 Jul '14, 12:15

cmaynard's gravatar image

cmaynard ♦♦
9.4k1038142
accept rate: 20%

Is it possible to avoid this situation happening by doing some configuration on the client side ?

(02 Jul '14, 13:24) beijingdj

Maybe look at why the client takes so long to process the data.

(03 Jul '14, 06:25) cmaynard ♦♦
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×55
×9
×7

question asked: 02 Jul '14, 00:21

question was seen: 3,731 times

last updated: 03 Jul '14, 06:25

p​o​w​e​r​e​d by O​S​Q​A