From owner-freebsd-fs@FreeBSD.ORG Thu Aug 27 09:16:43 2009 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 9373D1065694 for ; Thu, 27 Aug 2009 09:16:43 +0000 (UTC) (envelope-from m@plus-plus.su) Received: from ext-mail2.ux6.net (ext-mail2.ux6.net [213.163.72.53]) by mx1.freebsd.org (Postfix) with ESMTP id 568CB8FC56 for ; Thu, 27 Aug 2009 09:16:43 +0000 (UTC) Received: from ermik.ux6.net ([91.206.231.146]) by ext-mail2.ux6.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.69 (FreeBSD)) (envelope-from ) id 1Mgb61-0009le-OF for freebsd-fs@freebsd.org; Thu, 27 Aug 2009 11:16:41 +0200 Received: from [206.161.120.61] (helo=[192.168.5.15]) by ermik.ux6.net with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69 (FreeBSD)) (envelope-from ) id 1Mgb5x-0003Kc-3O for freebsd-fs@freebsd.org; Thu, 27 Aug 2009 13:16:37 +0400 Message-ID: <4A964F4E.4080009@plus-plus.su> Date: Thu, 27 Aug 2009 13:18:06 +0400 From: "Mikhail (Plus Plus)" User-Agent: Thunderbird 2.0.0.17 (X11/20080925) MIME-Version: 1.0 To: freebsd-fs@freebsd.org References: <4A927CB3.3040402@plus-plus.su> In-Reply-To: <4A927CB3.3040402@plus-plus.su> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: need help with ZFS 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: Thu, 27 Aug 2009 09:16:43 -0000 Last night I installed FreeBSD-8.0BETA3 AMD64, upgraded zpool and zfs, and this morning I did some load on FS to see if it runs more stable now. To stress-load the system I ran rsync from ZFS to mounted UFS volume and at the same time I started bonie++ benchmark on ZFS volume: bonnie++ -s17000 -d. -n64 Everything worked fine for about ~90 minutes, but then system paniced. I got escaped to "db> " prompt on local console, but I have zero debugging experience, so I just rebooted the server. The only thing I noticed was that last mentioned PID on the panic screen was bonnie++'s process. Also, I'm very confused after re-reading ZFS tuning wiki from here: http://wiki.freebsd.org/ZFSTuningGuide "amd64 FreeBSD 7.2+ has improved kernel memory allocation strategy and no tuning may be necessary on systems with more than 2 GB of RAM." Does that mean I no longer have to tune ZFS via loader.conf? Just better leave it empty on FreeBSD-8.0 installation? Right now I'm going to continue with rsync and will start bonnie++ in parallel keeping my loader.conf with the following values: vm.kmem_size="1536M" vm.kmem_size_max="3072M" vm.pmap.shpgperproc="1024" vfs.zfs.arc_min="256M" vfs.zfs.arc_max="384M" vfs.zfs.vdev.cache.size="50M" vfs.zfs.prefetch_disable="1" kern.maxproc="20000" I would appreciate any tips on showing me how to debug system panic from "db> " prompt in case system panics again.. Thank you.