Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Dec 1999 09:44:10 -0800
From:      Mike Smith <msmith@freebsd.org>
To:        Tom <tom@uniserve.com>
Cc:        "Mr. K." <bsd@inbox.org>, stable@freebsd.org
Subject:   Re: panic 
Message-ID:  <199912281744.JAA03338@mass.cdrom.com>
In-Reply-To: Your message of "Tue, 28 Dec 1999 09:26:23 PST." <Pine.BSF.4.02A.9912280925410.9441-100000@shell.uniserve.ca> 

next in thread | previous in thread | raw e-mail | index | archive | help
> On Mon, 27 Dec 1999, Mike Smith wrote:
> 
> > > > > Totally untweaked kernel.  I didn't get to tweaking yet.  I shouldn't have
> > > > > to tweak anything to make the kernel not panic, though...  Not
> > > > > complaining, just pre-empting possible flames.
> > > > 
> > > > That's completely incorrect.
> > > 
> > >   I don't know what part of the above you say is incorrect.
> > > 
> > >   FreeBSD has a tendency to panic in out of mbuf situations.  That
> > > shouldn't happen.
> > 
> > The semantics of "should" and "shouldn't" are debatable.  In this case, 
> > the panic is a simple indicator that the administrator hasn't correctly 
> > tuned the system.  Many would argue that this is a much better outcome 
> > than a system that performs poorly for no immediately perceptible reason, 
> > and it certainly encourages the prompt application of a correct 
> > adjustment.
> 
>   Well, in FreeBSD 2.2.x, an "Out of mbufs!" message was printed on the
> console, and there was no panic.

That's not correct.

In a number of cases, all families will print "out of mbufs" messages.  
However most families also have code paths which will fail 
catastrophically in case of mbuf shortage.  (This has, for the first 
time, been substantially reduced in 4.0).

You're welcome to go look at the code; I've been over large parts of it 
three times now with other people working on this issue under 2.x, 3.x 
and now under 4.x (where Bosko has finally started getting bits 
committed).

-- 
\\ Give a man a fish, and you feed him for a day. \\  Mike Smith
\\ Tell him he should learn how to fish himself,  \\  msmith@freebsd.org
\\ and he'll hate you for a lifetime.             \\  msmith@cdrom.com




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




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