From owner-freebsd-current@FreeBSD.ORG Fri Feb 27 06:09:24 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BEBB716A4CE for ; Fri, 27 Feb 2004 06:09:24 -0800 (PST) Received: from tx1.oucs.ox.ac.uk (tx1.oucs.ox.ac.uk [129.67.1.167]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3890743D31 for ; Fri, 27 Feb 2004 06:09:24 -0800 (PST) (envelope-from colin.percival@wadham.ox.ac.uk) Received: from scan1.oucs.ox.ac.uk ([129.67.1.166] helo=localhost) by tx1.oucs.ox.ac.uk with esmtp (Exim 4.24) id 1Awig7-0005b8-Gv for freebsd-current@freebsd.org; Fri, 27 Feb 2004 14:09:23 +0000 Received: from rx1.oucs.ox.ac.uk ([129.67.1.165]) by localhost (scan1.oucs.ox.ac.uk [129.67.1.166]) (amavisd-new, port 25) with ESMTP id 21226-08 for ; Fri, 27 Feb 2004 14:09:23 +0000 (GMT) Received: from gateway.wadham.ox.ac.uk ([163.1.161.253]) by rx1.oucs.ox.ac.uk with smtp (Exim 4.24) id 1Awig7-0005b4-3U for freebsd-current@freebsd.org; Fri, 27 Feb 2004 14:09:23 +0000 Received: (qmail 22572 invoked by uid 0); 27 Feb 2004 14:09:22 -0000 Received: from colin.percival@wadham.ox.ac.uk by gateway by uid 71 with qmail-scanner-1.16 (sweep: 2.14/3.71. spamassassin: 2.53. Clear:. Processed in 26.529639 secs); 27 Feb 2004 14:09:22 -0000 X-Qmail-Scanner-Mail-From: colin.percival@wadham.ox.ac.uk via gateway X-Qmail-Scanner: 1.16 (Clear:. Processed in 26.529639 secs) Received: from dhcp1131.wadham.ox.ac.uk (HELO piii600.wadham.ox.ac.uk) (163.1.161.131) by gateway.wadham.ox.ac.uk with SMTP; 27 Feb 2004 14:08:54 -0000 Message-Id: <6.0.1.1.1.20040227140137.03e01818@imap.sfu.ca> X-Sender: cperciva@imap.sfu.ca (Unverified) X-Mailer: QUALCOMM Windows Eudora Version 6.0.1.1 Date: Fri, 27 Feb 2004 14:08:48 +0000 To: Chris Elsworth From: Colin Percival In-Reply-To: <20040227135836.GA52534@shagged.org> References: <20040227101410.GA45369@shagged.org> <20040227135836.GA52534@shagged.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed cc: freebsd-current@freebsd.org Subject: Re: mdconfig unable to allocate memory X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Feb 2004 14:09:24 -0000 At 13:58 27/02/2004, Chris Elsworth wrote: >Thanks for the reply. Is creating 1GB of non-pageable memory not >possible then? Even if I explicitly give the kernel far more than that >to play with? It is possible. It isn't a good idea, but it is possible. >... >So, in short, is there any rule of thumb to follow when tweaking these >settings? Yes, several: 1. Don't do it. 2. Pray. 3. Don't do it. 4. If you absolutely must do it, make sure you have a serial console connected. 5. Don't do it. > It's a bit worrying that an out of the box 5.2.1 managed to >crash at all. The fact that running out of kernel address space can cause problems is quite well documented. Why do you want to have a GB malloc-backed disk anyway? Colin Percival