From owner-freebsd-stable@FreeBSD.ORG Wed May 14 11:49:54 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 295C7106568D for ; Wed, 14 May 2008 11:49:54 +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 A94F18FC16 for ; Wed, 14 May 2008 11:49:53 +0000 (UTC) (envelope-from ben@altus-escon.com) Received: from giskard.altus-escon.com (giskard.altus-escon.com [193.78.231.1]) by altus-escon.com (8.14.2/8.14.2) with ESMTP id m4EBmeNW022583; Wed, 14 May 2008 13:49:43 +0200 (CEST) (envelope-from ben@altus-escon.com) Message-Id: <6E930383-27FE-470A-96D8-3E61DD21B2BC@altus-escon.com> From: Ben Stuyts To: Kris Kennaway In-Reply-To: <482A9F99.4040500@FreeBSD.org> 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 13:48:49 +0200 References: <7A0780B6-AD8E-440B-BFDB-EC2C4ACA1A70@altus-escon.com> <4829F1B8.1000707@delphij.net> <482A9F99.4040500@FreeBSD.org> X-Mailer: Apple Mail (2.919.2) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (altus-escon.com [193.78.231.142]); Wed, 14 May 2008 13:49:43 +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.3 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, d@delphij.net 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 11:49:54 -0000 On 14 mei 2008, at 10:15, Kris Kennaway 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. > > This isn't known to cause a double fault though. Unfortunately we > probably need more information than was available in order to proceed. Yes, I agree. But I don't know what to do in this sort of case where the machine is completely wedged. Ben