From owner-freebsd-questions Wed Jan 1 9:39:47 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E631537B401 for ; Wed, 1 Jan 2003 09:39:46 -0800 (PST) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4A57143EA9 for ; Wed, 1 Jan 2003 09:39:46 -0800 (PST) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.12.6/8.12.6) id h01Hdbg1055820; Wed, 1 Jan 2003 11:39:37 -0600 (CST) (envelope-from dan) Date: Wed, 1 Jan 2003 11:39:37 -0600 From: Dan Nelson To: Matthew Emmerton Cc: DoubleF , freebsd-questions@FreeBSD.ORG Subject: Re: Limiting kernel core usage Message-ID: <20030101173936.GC24622@dan.emsphone.com> References: <20030101105702.27039.qmail@mail.tele-kom.ru> <008a01c2b1a9$7a0b3760$1200a8c0@gsicomp.on.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <008a01c2b1a9$7a0b3760$1200a8c0@gsicomp.on.ca> X-OS: FreeBSD 5.0-CURRENT X-message-flag: Outlook Error User-Agent: Mutt/1.5.3i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In the last episode (Jan 01), Matthew Emmerton said: > > How do I stop my kernel from using a piece of core? I mean, if I > > have 32MB of memory, how do i make it to use only the low 16,for > > instance (not removing the chips themselves,though)? > > I think setting MAXMEM in your kernel config file as follows will do what If you just want to temporarily lower the memory usage (for testing, perhaps), it's easier to just add this: hw.physmem="16M" to /boot/loader.conf and reboot. -- Dan Nelson dnelson@allantgroup.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message