From owner-freebsd-fs@FreeBSD.ORG Wed Feb 2 00:37:45 2011 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D23A91065670 for ; Wed, 2 Feb 2011 00:37:45 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from mail2.fluidhosting.com (mx22.fluidhosting.com [204.14.89.5]) by mx1.freebsd.org (Postfix) with ESMTP id 7D8868FC24 for ; Wed, 2 Feb 2011 00:37:45 +0000 (UTC) Received: (qmail 21344 invoked by uid 399); 2 Feb 2011 00:37:43 -0000 Received: from localhost (HELO doug-optiplex.ka9q.net) (dougb@dougbarton.us@127.0.0.1) by localhost with ESMTPAM; 2 Feb 2011 00:37:43 -0000 X-Originating-IP: 127.0.0.1 X-Sender: dougb@dougbarton.us Message-ID: <4D48A756.4080002@FreeBSD.org> Date: Tue, 01 Feb 2011 16:37:42 -0800 From: Doug Barton Organization: http://SupersetSolutions.com/ User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.13) Gecko/20110129 Thunderbird/3.1.7 MIME-Version: 1.0 To: John Baldwin References: <4D47B954.3010600@FreeBSD.org> <201102011352.57998.jhb@freebsd.org> In-Reply-To: <201102011352.57998.jhb@freebsd.org> X-Enigmail-Version: 1.1.2 OpenPGP: id=1A1ABC84 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-fs@freebsd.org Subject: Re: ext2fs crash in -current (r218056) X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Feb 2011 00:37:45 -0000 On 02/01/2011 10:52, John Baldwin wrote: > On Tuesday, February 01, 2011 2:42:12 am Doug Barton wrote: >> As I've discussed here previously I am using ext2fs in -current as a >> general-purpose /home directory, which includes my ports tree, and at >> the time of the crash my WRKDIRPREFIX. I was doing some heavy ports >> building to re-create my amd64-current system from scratch when the >> following crash happened (sorry for the fuzzy photo): >> >> http://dougbarton.us/ext2fs-crash-dump.jpg >> http://dougbarton.us/ext2fs-crash-dump.txt >> >> Previous to the recent changes in -current I hadn't been experiencing >> actual crashes, so I can't help think this is related to some of the >> changes that John has been shepherding in recently. > > Please try this: Thanks John. The patch compiles and runs just fine (against an otherwise-stock r218178) so I'll first run it with "normal" load during working hours, then I'll stress test it. I think your analysis is correct given that the problem went away when I moved WRKDIRPREFIX to a UFS partition on a different disk. That made the ports tree on the ext2fs partition basically read-only so it eliminated the potential for inode contention. On that same system I built world from scratch today, but with the same scenario (src on ext2fs, obj on UFS) at -j2 without any problems. I'll get back to you after I stress the system tonight. Thanks again for jumping on this so quickly. Doug -- Nothin' ever doesn't change, but nothin' changes much. -- OK Go Breadth of IT experience, and depth of knowledge in the DNS. Yours for the right price. :) http://SupersetSolutions.com/