Re: FreeBSD 8.0 - network stack crashes?

From: Eirik Øverby <ltning_at_anduin.net>
Date: Sun, 29 Nov 2009 20:13:46 +0100
On 29. nov. 2009, at 15.29, Robert Watson wrote:

> On Sun, 29 Nov 2009, Eirik Øverby wrote:
> 
>> 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 ..
> 
> 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.

I'm collecting the output of netstat -m|grep "mbuf clusters" and netstat -s every 10 seconds now. Will allow it to run until the box stops responding. Not sure what to do with the data after the box has "died" .. Will try to see if there are any obvious similarities.

Suggestions welcome - both how to collect data and how to analyse ;)

/Eirik
Received on Sun Nov 29 2009 - 18:13:49 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:58 UTC