From owner-freebsd-bugs@FreeBSD.ORG Fri Mar 23 19:30:08 2007 Return-Path: X-Original-To: freebsd-bugs@hub.freebsd.org Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id DBDEF16A401 for ; Fri, 23 Mar 2007 19:30:08 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id CC1A313C4CB for ; Fri, 23 Mar 2007 19:30:08 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id l2NJU86e094727 for ; Fri, 23 Mar 2007 19:30:08 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l2NJU86p094722; Fri, 23 Mar 2007 19:30:08 GMT (envelope-from gnats) Date: Fri, 23 Mar 2007 19:30:08 GMT Message-Id: <200703231930.l2NJU86p094722@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: Kris Kennaway Cc: Subject: Re: kern/87255: [md] ]panic] largemalloc backed mfs crashes the system X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Kris Kennaway List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Mar 2007 19:30:08 -0000 The following reply was made to PR kern/87255; it has been noted by GNATS. From: Kris Kennaway To: Gergely CZUCZY Cc: freebsd-gnats-submit@FreeBSD.org Subject: Re: kern/87255: [md] ]panic] largemalloc backed mfs crashes the system Date: Fri, 23 Mar 2007 15:20:15 -0400 On Fri, Mar 23, 2007 at 02:50:07PM +0000, Gergely CZUCZY wrote: > The following reply was made to PR kern/87255; it has been noted by GNATS. > > From: Gergely CZUCZY > To: bug-followup@FreeBSD.org > Cc: > Subject: Re: kern/87255: [md] ]panic] largemalloc backed mfs crashes the system > Date: Fri, 23 Mar 2007 15:12:22 +0100 > > --PEIAKu/WMn1b1Hv9 > Content-Type: text/plain; charset=utf-8 > Content-Disposition: inline > Content-Transfer-Encoding: quoted-printable > > Hello > > I've just hit this issue on a 6.2-STABLE, and it's been verified on freenod= > e/##freebsd on > an other 6.2-STABLE. > FreeBSD 6.2-STABLE FreeBSD 6.2-STABLE #0: Tue Feb 27 12:04:37 CET 2007 = > toor@mort:/usr/obj/usr/src/sys/FREESBIE i386 > FreeBSD sys0 6.2-STABLE FreeBSD 6.2-STABLE #1: Web Mar 21 23:39:54 CET 2007 > > how did i triggered it: > # mdconfig -a -t malloc -s 1g > mdX > # newfs /dev/mdX > # mount /dev/mdX /mnt/ > # cd /usr/ && tar -czf /mnt/src.tar src > # cd /mnt && tar -xvf src.tar > > the box has 2G of ram in it, i allocated half of that into mfs for > some proposes. so, if i leave enough memory for the system, it still > crashed. > > it crashed the system and rebooted it shortly. Right, this is a documented limitation of malloc backing. Use swap backing instead, it's just better. Kris