From owner-freebsd-current@FreeBSD.ORG Mon Nov 30 10:36:36 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 488ED1065670; Mon, 30 Nov 2009 10:36:36 +0000 (UTC) (envelope-from ltning@anduin.net) Received: from mail.anduin.net (mail.anduin.net [213.225.74.249]) by mx1.freebsd.org (Postfix) with ESMTP id 035318FC08; Mon, 30 Nov 2009 10:36:35 +0000 (UTC) Received: from [195.1.79.114] (helo=[10.0.1.3]) by mail.anduin.net with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.69 (FreeBSD)) (envelope-from ) id 1NF3cQ-000GHS-H2; Mon, 30 Nov 2009 11:36:34 +0100 Mime-Version: 1.0 (Apple Message framework v1077) Content-Type: text/plain; charset=iso-8859-1 From: =?iso-8859-1?Q?Eirik_=D8verby?= In-Reply-To: <34AD565D-814A-446A-B9CA-AC16DD762E1B@anduin.net> Date: Mon, 30 Nov 2009 11:36:33 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: References: <20091129013026.GA1355@michelle.cdnetworks.com> <74BFE523-4BB3-4748-98BA-71FBD9829CD5@anduin.net> <34AD565D-814A-446A-B9CA-AC16DD762E1B@anduin.net> To: Robert Watson X-Mailer: Apple Mail (2.1077) Cc: pyunyh@gmail.com, weldon@excelsusphoto.com, freebsd-current@freebsd.org, Gavin Atkinson Subject: Re: FreeBSD 8.0 - network stack crashes? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Nov 2009 10:36:36 -0000 Short follow-up: Making OpenBSD use TCP mounts (it defaults to UDP) = seems to solve the issue. So this is a UDP-NFS-related problem, it would seem? /Eirik On 30. nov. 2009, at 11.22, Eirik =D8verby wrote: > Hi, >=20 > I have something that might be more interesting than any counter ... > It seems to me as if the problem *only* manifests itself when an = OpenBSD box is backing up to this FreeBSD 8.0-NFS-ZFS server. All other = boxes are FreeBSD, and I have so far today been unable to reproduce the = problem from any of those. As soon as I interrupted the backup running = from OpenBSD, the mbuf cluster usage stabilized. >=20 > How's that for a mystery in the morning? >=20 > /Eirik >=20 > On 29. nov. 2009, at 15.29, Robert Watson wrote: >=20 >> On Sun, 29 Nov 2009, Eirik =D8verby wrote: >>=20 >>> I just did that (-rxcsum -txcsum -tso), but the numbers still keep = rising. I'll wait and see if it goes down again, then reboot with those = values to see how it behaves. But right away it doesn't look too good .. >>=20 >> It would be interesting to know if any of the counters in the output = of netstat -s grow linearly with the allocation count in netstat -m. = Often times leaks are associated with edge cases in the stack (typically = because if they are in common cases the bug is detected really quickly!) = -- usually error handling, where in some error case the unwinding fails = to free an mbuf that it should free. These are notoriously hard to = track down, unfortunately, but the stats output (especially where delta = alloc is linear to delta stat) may inform the situation some more. >>=20 >> Robert N M Watson >> Computer Laboratory >> University of Cambridge >=20 > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to = "freebsd-current-unsubscribe@freebsd.org" >=20