From owner-freebsd-questions@FreeBSD.ORG Wed Feb 19 20:22:30 2014 Return-Path: Delivered-To: freebsd-questions@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 B536A43B for ; Wed, 19 Feb 2014 20:22:30 +0000 (UTC) Received: from btw.pki2.com (btw.pki2.com [IPv6:2001:470:a:6fd::2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 5929410C4 for ; Wed, 19 Feb 2014 20:22:30 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by btw.pki2.com (8.14.8/8.14.8) with ESMTP id s1JKMFQ3022223; Wed, 19 Feb 2014 12:22:15 -0800 (PST) (envelope-from dg@pki2.com) Subject: Re: System freezes up during long-running ZFS disk activity From: Dennis Glatting To: dcamp@alumni.ufl.edu In-Reply-To: References: Content-Type: text/plain; charset="ISO-8859-1" Date: Wed, 19 Feb 2014 12:22:15 -0800 Message-ID: <1392841335.17181.46.camel@btw.pki2.com> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit X-SoftwareMunitions-MailScanner-Information: Dennis Glatting X-SoftwareMunitions-MailScanner-ID: s1JKMFQ3022223 X-SoftwareMunitions-MailScanner: Found to be clean X-MailScanner-From: dg@pki2.com Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Feb 2014 20:22:30 -0000 Sorry, I forgot to mention this URL: https://wiki.freebsd.org/AvgZfsDeadlockDebug On Wed, 2014-02-19 at 15:06 -0500, Christian Campbell wrote: > I recently installed 9.2-RELEASE-p3 on a Dell Precision T5400. I'm using > ZFS filesystem version: 5, ZFS storage pool version: features support > (5000). The pool was imported from a previous 9.2 box on which it worked > without issue. > > I don't know if my problem is ZFS-related, but my ZFS use is why I noticed > it and I seem to be able to reproduce it reliably. Every so often, from > minutes to hours, my computer will freeze up while ZFS has been busy. This > happens during a resilver, a scrub, and a long-running process reading > millions of files from the pool. When it freezes, all output and input > freezes: tasks like zpool iostat -v 1 or top stop updating their output, > whether on the console or an ssh terminal over Ethernet. Pressing keys does > not garner a response.* Sometimes a freeze lasts minutes and then proceeds > on its own. Sometimes it goes on for hours. An action that typically, but > not always, jogs it is unplugging the USB keyboard -- the disk activity > resumes immediately, and any queued keyboard input immediately plays out > whether on the console or over ssh. Lastly, my ssh terminal (PuTTY) will > stay connected for hours during a freeze-up, *i.e.* the TCP circuit is not > closed or timed out, as opposed to closing pretty quickly after the server > is powered off. > > In all cases, the system clock lags by the sum of the durations of the > freezes. > > * During an initial resilver, I noticed that pressing a key such as Ctrl on > the USB keyboard would jog it, but pressing Ctrl or other keys doesn't jog > my process of long-running IO activity. But in all cases, even when > unplugging and replugging the USB keyboard doesn't jog it, Ctrl-Alt-Del > prompts an orderly shutdown. > > Debugging advise is very welcome! > > Thank you, > Christian > > _____________________________________________________ > 3425 SW 2nd Ave, #239 cell (352) 514-7411 > Gainesville, FL 32607-2813 dcamp@alumni.ufl.edu > > On this perfect day / Nothing's standing in my way... -Hoku > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" -- Dennis Glatting