From owner-freebsd-hackers Sat Jun 22 11:52: 1 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from utility.clubscholarship.com (utility.clubscholarship.com [198.78.70.175]) by hub.freebsd.org (Postfix) with ESMTP id 2041A37B404 for ; Sat, 22 Jun 2002 11:51:58 -0700 (PDT) Received: from localhost (root@localhost) by utility.clubscholarship.com (8.11.6/8.11.6) with ESMTP id g5MIlsc54756; Sat, 22 Jun 2002 11:48:14 -0700 (PDT) (envelope-from root@utility.clubscholarship.com) Date: Sat, 22 Jun 2002 11:47:54 -0700 (PDT) From: Patrick Thomas To: Terry Lambert Cc: Nielsen , Subject: Re: (jail) problem and a (possible) solution ? In-Reply-To: <3D146194.5496D5D7@mindspring.com> Message-ID: <20020622114506.K68572-100000@utility.clubscholarship.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG How do you increase KVA space these days ? I see that in earlier releases you had to edit /sys/conf/ldscript.i386 and /sys/i386/include/pmap.h and do all sorts of crazy stuff. What is the procedure in 4.5-RELEASE (please say "just change KVA_PAGES=260 to KVA_PAGES=512) That's what you want me to do, right ? Is that all - can it be done just by changing that one value in my kernel config ? Again, thank you Terry for all your help. --PT On Sat, 22 Jun 2002, Terry Lambert wrote: > Patrick Thomas wrote: > > Since all of the things you spoke of basically revolved around "you're > > running out of memory", is it possible or reasonable to think that within > > the space of 1 second, I ran through 1404 megs inactive and 28 megs free > > memory ? > > > > machine is 4.5-RELEASE with 3gigs ram. swap never gets touched, although > > there is in fact 2gigs of swap. `pstat -s` always shows 0% used. > > OK, there's memory, and then there's memory. > > The amount of swap you have, the fact that it's 4.5, and the > amount of RAM you have imply to me that the problem is that > you are out of pmap entries. > > You should up your KVA space to 2G or maybe even 3G; the default > in 4.5 was 1G. > > Basically, I now think that you don't have enough memory to map > how much memory and virtual memory you have. > > Amusingly enough, you might actually have *better* luck with a > lot less swap... > > If your KVA space is already enlarged above the default, then > you can ignore this and just go ahead with the debugging to see > what the wait channels for all the processes that won't run are > stuck at. > > -- Terry > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message