From owner-freebsd-stable Sat Aug 31 16:11:54 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E52C637B400; Sat, 31 Aug 2002 16:11:50 -0700 (PDT) Received: from earth.hub.org (earth.hub.org [64.49.215.11]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8650043E6A; Sat, 31 Aug 2002 16:11:50 -0700 (PDT) (envelope-from scrappy@hub.org) Received: from earth.hub.org (earth.hub.org [64.49.215.11]) by earth.hub.org (Postfix) with ESMTP id 27BE42CC7F2; Sat, 31 Aug 2002 20:11:46 -0300 (ADT) Date: Sat, 31 Aug 2002 20:11:46 -0300 (ADT) From: "Marc G. Fournier" To: Matthew Dillon Cc: Arnvid Karstad , , Subject: Re: Problems with FreeBSD - causing zalloc to return 0 ?! In-Reply-To: <200208312003.g7VK37aS002117@apollo.backplane.com> Message-ID: <20020831200929.C14642-100000@mail1.hub.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sat, 31 Aug 2002, Matthew Dillon wrote: > Try this. You can run gdb on a running machine as follows: > > gdb -k kernel.debug /dev/mem > > You can then print out elements of the kernel's memory in real time: > > gdb> print kernel_vm_end 'K, just did a cvsup and am rebuilding my kernel(s) to enable debugging symbols, and will working on getting this setup this evening ... > Could you post your kernel config? And repeat your test but run gdb > in a shell and print kernel_vm_end at the start of your test and > every so often while the test is running. kernel config was sent in a seperate email ... > If you only have one swap device you can reducing the number of swap > devices by setting the NSWAPDEV kernel config variable to 1 > (it defaults to 4). This will reduce the KVM reservation for have implemented this one ... > the swap bitmap. You can also reduce the kernel reservation for > swap block data by setting the kern.maxswzone boot environment > variable. This is in bytes, e.g. in /boot/loader.conf > > kern.maxswzone="32m" What exactly does this one mean? Or do? Will set it, but am curious ... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message