From owner-freebsd-stable@FreeBSD.ORG Tue Dec 2 16:03:43 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 170411065678 for ; Tue, 2 Dec 2008 16:03:43 +0000 (UTC) (envelope-from mike@sentex.net) Received: from smarthost1.sentex.ca (smarthost1.sentex.ca [64.7.153.18]) by mx1.freebsd.org (Postfix) with ESMTP id CB04C8FC1B for ; Tue, 2 Dec 2008 16:03:42 +0000 (UTC) (envelope-from mike@sentex.net) Received: from lava.sentex.ca (pyroxene.sentex.ca [199.212.134.18]) by smarthost1.sentex.ca (8.14.3/8.14.3) with ESMTP id mB2G3eGi077809; Tue, 2 Dec 2008 11:03:40 -0500 (EST) (envelope-from mike@sentex.net) Received: from mdt-xp.sentex.net (simeon.sentex.ca [192.168.43.27]) by lava.sentex.ca (8.13.8/8.13.3) with ESMTP id mB2G3eb9004481 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 2 Dec 2008 11:03:40 -0500 (EST) (envelope-from mike@sentex.net) Message-Id: <200812021603.mB2G3eb9004481@lava.sentex.ca> X-Mailer: QUALCOMM Windows Eudora Version 7.1.0.9 Date: Tue, 02 Dec 2008 11:03:40 -0500 To: Kostik Belousov From: Mike Tancsa In-Reply-To: <20081202142045.GA3045@deviant.kiev.zoral.com.ua> References: <200812021319.mB2DJGJx003807@lava.sentex.ca> <20081202133812.GY3045@deviant.kiev.zoral.com.ua> <200812021412.mB2ECsEp004018@lava.sentex.ca> <20081202142045.GA3045@deviant.kiev.zoral.com.ua> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Scanned-By: MIMEDefang 2.64 on 64.7.153.18 Cc: freebsd-stable@freebsd.org Subject: Re: repeatable crash on RELENG7 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Dec 2008 16:03:43 -0000 At 09:20 AM 12/2/2008, Kostik Belousov wrote: >On Tue, Dec 02, 2008 at 09:12:54AM -0500, Mike Tancsa wrote: > > At 08:38 AM 12/2/2008, Kostik Belousov wrote: > > >> > > >> mdconfig -a -t malloc -s 1800M > > >You cannot have ~ 2Gb of kernel memory allocated for md, at least not on > > >i386. > > > > Thanks, how do I find out what the limit is on a machine ? Is it > > vm.kvm_size ? > >It is much less, and highly depends on your load, since KVA is used for all >kind of allocations made by kernel. I think either md(4) or mdconfig(8) have >a warning about malloc backing for md. Thanks! A warning might be helpful to prevent such foot shooting :) ---Mike