Date: Tue, 4 Dec 2001 11:00:15 -0800 From: Luigi Rizzo <luigi@FreeBSD.org> To: Bosko Milekic <bmilekic@dsuper.net> Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/kern uipc_mbuf.c Message-ID: <20011204110015.D55255@iguana.aciri.org> In-Reply-To: <3C0D14AC.412D674C@dsuper.net> References: <200112040213.fB42DBl08877@freefall.freebsd.org> <20011203214418.A87350@technokratis.com> <20011203184737.D48755@iguana.aciri.org> <20011203222303.A2690@technokratis.com> <20011203205623.B49974@iguana.aciri.org> <20011204090509.A8591@technokratis.com> <20011204083922.B54383@iguana.aciri.org> <3C0D14AC.412D674C@dsuper.net>
next in thread | previous in thread | raw e-mail | index | archive | help
Bosko, I was under the impression (maybe wrong) that case (1) is not covered in vm/vm_kern.c, because the error message there explicitly refers to clusters and not to generic mbufs. Feel free to fix things as you think it is best. My only goal was to get rid of equivalent messages from the drivers and move them closer to the source of the problem. If you have a better solution, go ahead and commit it, you surely know this area better than I do. On Tue, Dec 04, 2001 at 01:23:40PM -0500, Bosko Milekic wrote: ... > - You wind up in the code path that prints your message in subr_mbuf.c > in, ultimately, one of these cases: > > 1. You're out of address space in mbuf_map and/or clust_map. ... > people having all sorts of wierd problems due to lack of physical > memory or lack of address space for malloc(9) to allocate from (the > latter is, admittedly less likely), and they're going to see these > messages about increasing NMBCLUSTERS or mbuf failures, and run off > screaming "it's the mbuf allocator, it's the mbuf allocator!" like > headless chicken, and wondering why them steadily increasing > NMBCLUSTERS is having no effect. we can correct the wording "either you are out of RAM, or you could consider increasing the mbuf counts". > I don't think that the problem is being addressed at its root. The i totally agree. I am just saying that it's closer to the root than it was before. cheers luigi To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011204110015.D55255>