Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Apr 2013 16:27:59 -0400
From:      John Baldwin <jhb@freebsd.org>
To:        "C. L. Martinez" <carlopmart@gmail.com>
Cc:        "freebsd-net@freebsd.org" <freebsd-net@freebsd.org>, Jack Vogel <jfvogel@gmail.com>
Subject:   Re: Network connections are lost from time to time
Message-ID:  <201304191627.59402.jhb@freebsd.org>
In-Reply-To: <CAEjQA5%2BpZc=CqTxhttwgwJ6uswWjbsNHaYFUTtG%2BCb%2BcXncUrA@mail.gmail.com>
References:  <CAEjQA5LXuwCO96dkFwyjgXfCiDu%2B4mR7E0cxpy8Uh4pBzsD60Q@mail.gmail.com> <201304191511.14940.jhb@freebsd.org> <CAEjQA5%2BpZc=CqTxhttwgwJ6uswWjbsNHaYFUTtG%2BCb%2BcXncUrA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Friday, April 19, 2013 4:14:43 pm C. L. Martinez wrote:
> On Friday, April 19, 2013, John Baldwin <jhb@freebsd.org> wrote:
> > On Friday, April 19, 2013 12:32:18 pm C. L. Martinez wrote:
> >> On Friday, April 19, 2013, John Baldwin <jhb@freebsd.org> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201304191627.59402.jhb>