From owner-freebsd-net@FreeBSD.ORG Fri Apr 19 21:28:04 2013 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id BDF3A1E7 for ; Fri, 19 Apr 2013 21:28:04 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from bigwig.baldwin.cx (bigwig.baldwin.cx [IPv6:2001:470:1f11:75::1]) by mx1.freebsd.org (Postfix) with ESMTP id 9ADCF1FAC for ; Fri, 19 Apr 2013 21:28:04 +0000 (UTC) Received: from jhbbsd.localnet (unknown [209.249.190.124]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id 91459B962; Fri, 19 Apr 2013 17:28:02 -0400 (EDT) From: John Baldwin To: "C. L. Martinez" Subject: Re: Network connections are lost from time to time Date: Fri, 19 Apr 2013 16:27:59 -0400 User-Agent: KMail/1.13.5 (FreeBSD/8.2-CBSD-20110714-p25; KDE/4.5.5; amd64; ; ) References: <201304191511.14940.jhb@freebsd.org> In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-Id: <201304191627.59402.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (bigwig.baldwin.cx); Fri, 19 Apr 2013 17:28:02 -0400 (EDT) Cc: "freebsd-net@freebsd.org" , Jack Vogel 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: Fri, 19 Apr 2013 21:28:04 -0000 On Friday, April 19, 2013 4:14:43 pm C. L. Martinez wrote: > On Friday, April 19, 2013, John Baldwin wrote: > > On Friday, April 19, 2013 12:32:18 pm C. L. Martinez wrote: > >> On Friday, April 19, 2013, John Baldwin wrote: > >> > On Friday, April 19, 2013 3:11:41 am C. L. Martinez wrote: > >> >> Hi all, > >> >> > >> >> I have a strange problem with my FreeBSD 9.1 (fully patched): I loose > >> ssh > >> >> sessions from time to time frequently. > >> >> > >> >> This fbsd box is installed in an ESXi 5.1 server and I have another > >> three > >> >> fbsd 9.1 in the same ESXi host that do not have this problem, but > maybe > >> the > >> >> problem is with my sysctl.conf and loader.conf settings: > >> > > >> > Which NIC driver are you using? > >> > > >> > -- > >> > John Baldwin > >> > >> > >> e1000. > > > > igb? There are some fixes to handle out of order packets on transmit that > > could break new connections in some cases. That is probably worth > testing. I > > think you can just grab the sys/dev/e1000 from 9-stable and drop it into a > > 9.1 tree to test. > > > > -- > Nop, I am using em driver ... Ok, have you thought about running a tcpdump and then examining the dump around the time that a drop occurs? (Specifically, if you know the connection that drops you can get wireshark to only display the packets for that dump). Also, have you compared netstat -s before and after drops? -- John Baldwin