Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Nov 2009 00:21:16 +0100
From:      =?iso-8859-1?Q?Eirik_=D8verby?= <ltning@anduin.net>
To:        Robert Watson <rwatson@FreeBSD.org>
Cc:        pyunyh@gmail.com, weldon@excelsusphoto.com, freebsd-current@freebsd.org, Gavin Atkinson <gavin@freebsd.org>
Subject:   Re: FreeBSD 8.0 - network stack crashes?
Message-ID:  <E9B13DDC-1B51-4EFD-95D2-544238BDF3A4@anduin.net>
In-Reply-To: <alpine.BSF.2.00.0911291427240.80654@fledge.watson.org>
References:  <A1648B95-F36D-459D-BBC4-FFCA63FC1E4C@anduin.net> <20091129013026.GA1355@michelle.cdnetworks.com> <74BFE523-4BB3-4748-98BA-71FBD9829CD5@anduin.net> <alpine.BSF.2.00.0911291427240.80654@fledge.watson.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 29. nov. 2009, at 15.29, Robert Watson wrote:

> 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.

=46rom what I can tell, all that goes up with mbuf usage is =
traffic/packet counts. I can't say I see anything fishy in there.

=46rom the last few samples in
http://anduin.net/~ltning/netstat.log
you can see the host stops receiving any packets, but does a few =
retransmits before the session where this script ran timed out.

/Eirik




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E9B13DDC-1B51-4EFD-95D2-544238BDF3A4>