Date: Sun, 15 Jun 2008 11:18:42 +1000 From: Peter Jeremy <peterjeremy@optushome.com.au> To: freebsd-hackers@freebsd.org Subject: TCP not being proactive about recoving lost packets Message-ID: <20080615011841.GT13734@server.vk2pj.dyndns.org>
next in thread | raw e-mail | index | archive | help
--kVXhAStRUZ/+rrGn Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable I am trying to ftp mysql-5.1.25-rc.tar.gz from ftp.easynet.be and noticed that progress appeared to have ceased and the ETA increasing. Looking at a tcpdump of the FTP data socket showed: 10:31:17.273106 IP minx.ftp.be.easynet.net.57796 > myhost.mydomain.xxx.yyy.= 56432: . 4054413516:4054414976(1460) ack 635248902 win 92 10:31:17.372968 IP myhost.mydomain.xxx.yyy.56432 > minx.ftp.be.easynet.net.= 57796: . ack 1460 win 28692 10:31:17.709750 IP minx.ftp.be.easynet.net.57796 > myhost.mydomain.xxx.yyy.= 56432: . 118260:119720(1460) ack 1 win 92 10:31:17.709807 IP myhost.mydomain.xxx.yyy.56432 > minx.ftp.be.easynet.net.= 57796: . ack 1460 win 28692 10:31:17.713318 IP minx.ftp.be.easynet.net.57796 > myhost.mydomain.xxx.yyy.= 56432: . 119720:121180(1460) ack 1 win 92 10:31:17.713368 IP myhost.mydomain.xxx.yyy.56432 > minx.ftp.be.easynet.net.= 57796: . ack 1460 win 28692 10:33:17.717063 IP minx.ftp.be.easynet.net.57796 > myhost.mydomain.xxx.yyy.= 56432: . 1460:2920(1460) ack 1 win 92 10:33:17.816684 IP myhost.mydomain.xxx.yyy.56432 > minx.ftp.be.easynet.net.= 57796: . ack 2920 win 28692 10:33:18.126643 IP minx.ftp.be.easynet.net.57796 > myhost.mydomain.xxx.yyy.= 56432: . 121180:122640(1460) ack 1 win 92 10:33:18.126666 IP myhost.mydomain.xxx.yyy.56432 > minx.ftp.be.easynet.net.= 57796: . ack 2920 win 28692 10:33:18.128224 IP minx.ftp.be.easynet.net.57796 > myhost.mydomain.xxx.yyy.= 56432: . 122640:124100(1460) ack 1 win 92 10:33:18.128239 IP myhost.mydomain.xxx.yyy.56432 > minx.ftp.be.easynet.net.= 57796: . ack 2920 win 28692 10:35:18.130354 IP minx.ftp.be.easynet.net.57796 > myhost.mydomain.xxx.yyy.= 56432: . 2920:4380(1460) ack 1 win 92 10:35:18.229382 IP myhost.mydomain.xxx.yyy.56432 > minx.ftp.be.easynet.net.= 57796: . ack 4380 win 28692 10:35:18.549832 IP minx.ftp.be.easynet.net.57796 > myhost.mydomain.xxx.yyy.= 56432: . 124100:125560(1460) ack 1 win 92 10:35:18.549855 IP myhost.mydomain.xxx.yyy.56432 > minx.ftp.be.easynet.net.= 57796: . ack 4380 win 28692 10:35:18.552361 IP minx.ftp.be.easynet.net.57796 > myhost.mydomain.xxx.yyy.= 56432: . 125560:127020(1460) ack 1 win 92 10:35:18.552376 IP myhost.mydomain.xxx.yyy.56432 > minx.ftp.be.easynet.net.= 57796: . ack 4380 win 28692 The FTP server resends an old packet then 2 new packets. FreeBSD ACKs each packet with the next packet it wants. Then there's a 2 minute timeout befo= re the FTP server responds. This ahs been going on for about 45 minutes now. The client is running 7-STABLE from mid-May. Shouldn't it continue to regularly send ACKs where it knows there is outstanding data? --=20 Peter Jeremy Please excuse any delays as the result of my ISP's inability to implement an MTA that is either RFC2821-compliant or matches their claimed behaviour. --kVXhAStRUZ/+rrGn Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAkhUbfEACgkQ/opHv/APuIfdYgCgp7XXYvn4c7gaaCI7GhC17zV2 2HgAn1FUZhMT7AGMi7WnqCtZq42CgO6a =jLEZ -----END PGP SIGNATURE----- --kVXhAStRUZ/+rrGn--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080615011841.GT13734>