From owner-freebsd-fs@FreeBSD.ORG Mon Jun 9 20:15:36 2014 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id F340A190 for ; Mon, 9 Jun 2014 20:15:35 +0000 (UTC) Received: from mail-vc0-x233.google.com (mail-vc0-x233.google.com [IPv6:2607:f8b0:400c:c03::233]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B47282E06 for ; Mon, 9 Jun 2014 20:15:35 +0000 (UTC) Received: by mail-vc0-f179.google.com with SMTP id id10so5033189vcb.24 for ; Mon, 09 Jun 2014 13:15:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=c8qA7ULWdA8/bjdXd2qmRZgH8OceLnsTU73ZCJupgec=; b=fAoKfO57IL4Is7r7ykgGv5G1YnhMFgOkxoBqUeu2YKVMYODKZ1ez+pZYjieoBwlbz1 esZjlVJTTlPqNK8aJodeQcYT/CbfLIs06/ECOJbT3XRKvMwX+/p3w0KSVqa0MHXfuAqc Tb1QEk/cmBSajtL/bVn0H2T/0kVPQgUCM+IB9r1FEmcm/Pmb1V3JjNvPdZPE0M4wv+CL UmIG++SH80kfU9F5VfbD1kQSprx4uNpmDeVi7tcqGSFzqgCx2bl+CIniND3Z3BhR576o MFu6QpDMl1qbYQpyWRSBplF3I/xSZsld64Ly9rSn2KC1AEG5sgFFXQx9OpURUes5TuWo 61dA== MIME-Version: 1.0 X-Received: by 10.220.92.135 with SMTP id r7mr27616813vcm.11.1402344933990; Mon, 09 Jun 2014 13:15:33 -0700 (PDT) Received: by 10.221.65.198 with HTTP; Mon, 9 Jun 2014 13:15:33 -0700 (PDT) In-Reply-To: References: Date: Mon, 9 Jun 2014 16:15:33 -0400 Message-ID: Subject: Re: ZFS import panic (kgdb backtrace attached) From: grarpamp To: freebsd-fs@freebsd.org Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Jun 2014 20:15:36 -0000 On Mon, Jun 9, 2014 at 3:01 PM, Steven Hartland wrote: > ZFS doesn't really like i386 due to the limited stack size > > So the first think I would try is increasing your kernel stack size: > options KSTACK_PAGES=4 If it's not a genuine bug (ie: just the usual ZFS on i386 issues), I can move it to default x64 with 8GB in maybe a week. I forgot to include, this is stock GENERIC with: real memory = 2147483648 (2048 MB) vm.kmem_size=650000000 I don't recall why I set kmem_size. And when wired mem gets above 600 things get unrecoverably slow and the box will lock/panic if I press on zfs at/above 600. With the 100 or so heavy write panics and a dozen+ power cuts across multiple zfs/pool/bsd versions, I'm amazed I still have any readable zfs fs's at all. Anyway, posted in case it's a genuine bug.