From owner-freebsd-current Sat Apr 20 20:10:21 2002 Delivered-To: freebsd-current@freebsd.org Received: from earth.hub.org (earth.hub.org [64.49.215.11]) by hub.freebsd.org (Postfix) with ESMTP id D5CE737B400; Sat, 20 Apr 2002 20:10:07 -0700 (PDT) Received: from localhost.localdomain (earth.hub.org [64.49.215.11]) by localhost (Postfix) with ESMTP id 6191F103372; Sun, 21 Apr 2002 00:10:05 -0300 (ADT) Received: from earth.hub.org (earth.hub.org [64.49.215.11]) by earth.hub.org (Postfix) with ESMTP id 90982103350; Sun, 21 Apr 2002 00:10:01 -0300 (ADT) Date: Sun, 21 Apr 2002 00:10:01 -0300 (ADT) From: "Marc G. Fournier" To: Terry Lambert Cc: freebsd-current@freebsd.org, Subject: Re: FreeBSD 4.5-STABLE not easily scalable to large servers ... ? In-Reply-To: <3CC2288B.94DDFBC1@mindspring.com> Message-ID: <20020421000839.A1721-100000@mail1.hub.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sat, 20 Apr 2002, Terry Lambert wrote: > "Marc G. Fournier" wrote: > > Over the past week, I've been trying to get information on how to fix a > > server that panics with: > > > > | panic: vm_map_entry_create: kernel resources exhausted > > | mp_lock = 01000001; cpuid = 1; lapic.id = 01000000 > > | boot() called on cpu#1 > > > > Great ... but, how do I determine what 'resources' I need to increase to > > avoid that crash? I've tried increasing maxusers from 512->1024, but *if* > > that works, I imagine I'm raising a bunch of limits (and using memory) > > that I don't have to ... > > > > The server is a Dual-CPU PIII-1Ghz with 3Gig of RAM and ~3Gig of swap > > space right now ... the data drive is 5x18gig drives in a RAID5 > > configuration (hardware RAID, not vinum) ... > > You have more memory than you can allocate kernel memory to > provide page table entries for. > > The only solution is to increase your kernel virtual address > space size to accomodate the page mappings. > > How to do this varies widely by the version of FreeBSD you are > using, and, unless you read "NOTES" and are running a recent > -current, is not incredibly well documented, and requires an > understanding of how the virtual address space is laid out and > managed (which is also not well documented anywhere). Ya, this is the roadblock I'm hitting :( I'm running 4.5-STABLE here, as of this afternoon ... thoughts/suggestiosn based on that? Also, is there somethign that I can run to monitor this, similar to running netstat -m to watch nmbclusters? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message