From owner-freebsd-stable@FreeBSD.ORG Wed May 14 08:40:58 2008 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C3A17106564A for ; Wed, 14 May 2008 08:40:58 +0000 (UTC) (envelope-from ben@altus-escon.com) Received: from altus-escon.com (altesco.xs4all.nl [82.95.106.39]) by mx1.freebsd.org (Postfix) with ESMTP id 51ED68FC1F for ; Wed, 14 May 2008 08:40:58 +0000 (UTC) (envelope-from ben@altus-escon.com) Received: from giskard.stuyts.nl (stuyts.xs4all.nl [82.95.106.42]) by altus-escon.com (8.14.2/8.14.2) with ESMTP id m4E8eawG016962; Wed, 14 May 2008 10:40:41 +0200 (CEST) (envelope-from ben@altus-escon.com) Message-Id: <11D2E346-752B-4F61-979E-1D64FB34ED34@altus-escon.com> From: Ben Stuyts To: d@delphij.net In-Reply-To: <4829F1B8.1000707@delphij.net> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v919.2) Date: Wed, 14 May 2008 10:39:36 +0200 References: <7A0780B6-AD8E-440B-BFDB-EC2C4ACA1A70@altus-escon.com> <4829F1B8.1000707@delphij.net> X-Mailer: Apple Mail (2.919.2) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (altus-escon.com [10.0.0.150]); Wed, 14 May 2008 10:40:41 +0200 (CEST) X-Virus-Scanned: ClamAV 0.93/6809/Thu Apr 17 11:33:01 2008 on mars.altus-escon.com X-Virus-Status: Clean X-Spam-Status: No, score=-2.2 required=3.5 tests=AWL,BAYES_00 autolearn=ham version=3.2.4 X-Spam-Checker-Version: SpamAssassin 3.2.4 (2008-01-01) on mars.altus-escon.com Cc: stable@freebsd.org Subject: Re: Panic after hung rsync, probably zfs related 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: Wed, 14 May 2008 08:40:58 -0000 On 13 mei 2008, at 21:53, Xin LI wrote: > | While doing an rsync from a zfs filesystem to an external usb hd > (also > | zfs), the rsync processes hung in zfs state. I could not kill these > | processes, although the rest of the server seemingly continued to > run > | fine. The reboot command did not work. Next I tried a shutdown now > | command. This caused a panic: > > Sound like you somehow run out of memory, there is an known issue with > ZFS which causes livelock when there is memory pressure. Which rsync > version are you using? With rsync 3.x the memory usage would drop > drastically which would help to prevent this from happening. I'm running rsync 3.0.0. Two weeks ago I already increased the memory in this machine from 4 to 8 GB, but I did not change any loader.conf variables. BTW, The wired memory goes all over the place in this machine: even when it's mostly idle it varies between 300 MB and 3.5 GB. That's why I added 4 more GB. Ben