From owner-freebsd-net@FreeBSD.ORG Sun Aug 18 18:22:40 2013 Return-Path: Delivered-To: net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id BAEFBF3B for ; Sun, 18 Aug 2013 18:22:40 +0000 (UTC) (envelope-from wjw@digiware.nl) Received: from smtp.digiware.nl (unknown [IPv6:2001:4cb8:90:ffff::3]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 795AA24C0 for ; Sun, 18 Aug 2013 18:22:40 +0000 (UTC) Received: from rack1.digiware.nl (unknown [127.0.0.1]) by smtp.digiware.nl (Postfix) with ESMTP id BCDB7153436 for ; Sun, 18 Aug 2013 20:22:36 +0200 (CEST) X-Virus-Scanned: amavisd-new at digiware.nl Received: from smtp.digiware.nl ([127.0.0.1]) by rack1.digiware.nl (rack1.digiware.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 8x81dt0ywePt; Sun, 18 Aug 2013 20:22:35 +0200 (CEST) Received: from [IPv6:2001:4cb8:3:1:744f:b63f:82fd:33d6] (unknown [IPv6:2001:4cb8:3:1:744f:b63f:82fd:33d6]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by smtp.digiware.nl (Postfix) with ESMTPSA id 931A8153435 for ; Sun, 18 Aug 2013 20:22:35 +0200 (CEST) Message-ID: <521110F9.1000906@digiware.nl> Date: Sun, 18 Aug 2013 20:22:49 +0200 From: Willem Jan Withagen User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130620 Thunderbird/17.0.7 MIME-Version: 1.0 To: net@freebsd.org Subject: Getting resets for em0 device Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Aug 2013 18:22:40 -0000 Hi, I'm sending a zpool from one server to in neighbor. Send size: zfs send -v -R tank@now \ | mbuffer -4 -m 100M -O box:6666 Receive side: mbuffer -4 -m 1000M -I 6666 \ | zfs receive -e -v tank This keep the 1Gbit link between them reasonably full. Most of the time mbuffer reports 110 MiB/sec.... But on the receiver side I'm getting aborts. Log file is below. Now the first question is: Does the switch reset? It's an HP 1800-24G Does FreeBSD reset? Because of the watchdog timeout? Because of too high packet rates? And if it is FreeBSD, what can be done to fix it. Version: FreeBSD box.digiware.nl 9.2-PRERELEASE FreeBSD 9.2-PRERELEASE #3 r254428: Fri Aug 16 23:50:28 CEST 2013 Motherboard: System Information Manufacturer: Supermicro Product Name: C2SBX Ehternet controller: em0@pci0:0:25:0: class=0x020000 card=0x10bd15d9 chip=0x10bd8086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = '82566DM-2 Gigabit Network Connection' class = network subclass = ethernet dmesg, dmidecode, kernelconfig, full pciconf on: http://www.tegenbosch28.nl/FreeBSD/Systems/BOX Thanx for any suggestions, --WjW Aug 18 18:24:55 box kernel: em0: Watchdog timeout -- resetting Aug 18 18:24:55 box kernel: em0: Queue(0) tdh = 1688, hw tdt = 1743 Aug 18 18:24:55 box kernel: em0: TX(0) desc avail = 4031,Next TX to Clean = 1678 Aug 18 18:24:55 box kernel: em0: Link is Down Aug 18 18:24:55 box kernel: em0: link state changed to DOWN Aug 18 18:24:57 box kernel: em0: Link is up 1000 Mbps Full Duplex Aug 18 18:24:57 box kernel: em0: link state changed to UP Aug 18 18:32:15 box kernel: em0: Watchdog timeout -- resetting Aug 18 18:32:15 box kernel: em0: Queue(0) tdh = 2402, hw tdt = 2453 Aug 18 18:32:15 box kernel: em0: TX(0) desc avail = 4045,Next TX to Clean = 2402 Aug 18 18:32:15 box kernel: em0: Link is Down Aug 18 18:32:15 box kernel: em0: link state changed to DOWN Aug 18 18:32:17 box kernel: em0: Link is up 1000 Mbps Full Duplex Aug 18 18:32:17 box kernel: em0: link state changed to UP Aug 18 18:33:00 box kernel: Limiting closed port RST response from 856 to 200 packets/sec Aug 18 19:23:29 box kernel: em0: Watchdog timeout -- resetting Aug 18 19:23:29 box kernel: em0: Queue(0) tdh = 613, hw tdt = 616 Aug 18 19:23:29 box kernel: em0: TX(0) desc avail = 4093,Next TX to Clean = 613 Aug 18 19:23:29 box kernel: em0: Link is Down Aug 18 19:23:29 box kernel: em0: link state changed to DOWN Aug 18 19:23:31 box kernel: em0: Link is up 1000 Mbps Full Duplex Aug 18 19:23:31 box kernel: em0: link state changed to UP