From owner-freebsd-questions Tue Apr 27 14:14: 1 1999 Delivered-To: freebsd-questions@freebsd.org Received: from oconnor.inktomi.com (oconnor.inktomi.com [209.1.33.67]) by hub.freebsd.org (Postfix) with ESMTP id C838F15211 for ; Tue, 27 Apr 1999 14:13:56 -0700 (PDT) (envelope-from bevans@oconnor.inktomi.com) Received: (from bevans@localhost) by oconnor.inktomi.com (8.8.7/8.8.7) id OAA23498; Tue, 27 Apr 1999 14:40:43 -0700 Message-ID: <19990427144043.A23393@oconnor.inktomi.com> Date: Tue, 27 Apr 1999 14:40:43 -0700 From: Brennan Evans To: Doug White Cc: questions@FreeBSD.ORG Subject: Re: limit on max number of mbufs? References: <19990427115641.A22596@oconnor.inktomi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.93.2 In-Reply-To: ; from Doug White on Tue, Apr 27, 1999 at 01:35:18PM -0700 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Thanks for the time. But I think I've narrowed the problem a little more. First, it's not a virtual memory problem (I instrumented kern/uipc_mbuf.c). My current best thought is that under high load either increasing the number of available mbufs or allocating more mbuf clusters causes the appl. to panic. thanks anyhow, -- brennan Quoting Doug White (dwhite@resnet.uoregon.edu): > On Tue, 27 Apr 1999, Brennan Evans wrote: > > > How do I tune up the maximum number of mbufs on FreeBSD 3.1? > > I'm running into what seems to be a 16k buffer limit when trying > > to do some FTP tests around here. > > Can you be more specific? If you run out of mbufs, the system usually > panics. > > You can fiddle with the NMBCLUSTERS option in the kernel config, but be > warned: this takes out of kernel virtual memory, and it's quite possible > to exhaust KVM and get all sorts of wierd crashes if you set it too high. > If you need to increase the KVM size, there are some options to tweak it, > but I don't know them. > > I'm sure that some in the FreeBSD community would be happy to tweak your > system, for a fee. :-) > > Doug White > Internet: dwhite@resnet.uoregon.edu | FreeBSD: The Power to Serve > http://gladstone.uoregon.edu/~dwhite | www.freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message