Open amyangfei opened 9 years ago
tcpdump (sudo tcpdump -i lo -ntttt 'tcp port 6001' -s 0 -S)
2015-05-21 11:20:21.125435 IP 10.0.10.101.14100 > 10.0.10.101.6001: Flags [P.], seq 2265563806:2265567902, ack 2977095642, win 4, options [nop,nop,TS val 334952860 ecr 334952809], length 4096
2015-05-21 11:20:21.128627 IP 10.0.10.101.6001 > 10.0.10.101.14100: Flags [.], ack 2265567902, win 8, options [nop,nop,TS val 334952860 ecr 334952860], length 0
2015-05-21 11:20:21.329465 IP 10.0.10.101.14100 > 10.0.10.101.6001: Flags [P.], seq 2265567902:2265571998, ack 2977095642, win 4, options [nop,nop,TS val 334952911 ecr 334952860], length 4096
2015-05-21 11:20:21.330027 IP 10.0.10.101.6001 > 10.0.10.101.14100: Flags [.], ack 2265571998, win 8, options [nop,nop,TS val 334952911 ecr 334952911], length 0
2015-05-21 11:20:21.533450 IP 10.0.10.101.14100 > 10.0.10.101.6001: Flags [P.], seq 2265571998:2265576094, ack 2977095642, win 4, options [nop,nop,TS val 334952962 ecr 334952911], length 4096
2015-05-21 11:20:21.534057 IP 10.0.10.101.6001 > 10.0.10.101.14100: Flags [.], ack 2265576094, win 8, options [nop,nop,TS val 334952962 ecr 334952962], length 0
dispatcher.log
2015-05-21 11:20:20.922 [DEBU] ca8b [handleTCPConn] before read
2015-05-21 11:20:21.125 [DEBU] ca8c [handleTCPConn] end read rlen: 3515
2015-05-21 11:20:21.125 [INFO] ca8d [processPushMsg] send 39 direct msg to connector conn0101 latency: 225197.502
2015-05-21 11:20:21.127 [INFO] ca8e [processPushMsg] send 81 direct msg to connector conn0101 latency: 225199.137
2015-05-21 11:20:21.128 [INFO] ca8f [processPushMsg] send 39 direct msg to connector conn0101 latency: 225199.998
2015-05-21 11:20:21.128 [DEBU] ca90 [handleTCPConn] before get new bufio reader
2015-05-21 11:20:21.128 [DEBU] ca91 [handleTCPConn] before read
2015-05-21 11:20:21.128 [DEBU] ca92 [handleTCPConn] end read rlen: 581
2015-05-21 11:20:21.128 [DEBU] ca93 [handleTCPConn] before get new bufio reader
2015-05-21 11:20:21.128 [DEBU] ca94 [handleTCPConn] before read
2015-05-21 11:20:21.329 [DEBU] ca95 [handleTCPConn] end read rlen: 2722
2015-05-21 11:20:21.329 [INFO] ca96 [processPushMsg] send 81 direct msg to connector conn0101 latency: 225401.536
2015-05-21 11:20:21.329 [INFO] ca97 [processPushMsg] send 39 direct msg to connector conn0101 latency: 225401.630
2015-05-21 11:20:21.329 [DEBU] ca98 [handleTCPConn] before get new bufio reader
2015-05-21 11:20:21.329 [DEBU] ca99 [handleTCPConn] before read
2015-05-21 11:20:21.330 [DEBU] ca9a [handleTCPConn] end read rlen: 1374
2015-05-21 11:20:21.330 [INFO] ca9b [processPushMsg] send 81 direct msg to connector conn0101 latency: 225401.934
2015-05-21 11:20:21.330 [INFO] ca9c [processPushMsg] send 39 direct msg to connector conn0101 latency: 225402.015
2015-05-21 11:20:21.330 [DEBU] ca9d [handleTCPConn] before get new bufio reader
2015-05-21 11:20:21.330 [DEBU] ca9e [handleTCPConn] before read
2015-05-21 11:20:21.533 [DEBU] ca9f [handleTCPConn] end read rlen: 3590
Datanode Send-Q has accumulated a lot of data but dispatcher is receiving data slowly.
dispatcher log:
dispatcher strace log (sudo strace -f -v -x -tt -T -p 92324 -o strace_recv.log):
refer to: https://www.v2ex.com/t/192510