From owner-freebsd-stable@FreeBSD.ORG Tue Mar 9 10:58:08 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B6B89106564A for ; Tue, 9 Mar 2010 10:58:08 +0000 (UTC) (envelope-from defree@gmail.com) Received: from mail-fx0-f215.google.com (mail-fx0-f215.google.com [209.85.220.215]) by mx1.freebsd.org (Postfix) with ESMTP id 471D68FC16 for ; Tue, 9 Mar 2010 10:58:08 +0000 (UTC) Received: by fxm7 with SMTP id 7so2798903fxm.14 for ; Tue, 09 Mar 2010 02:58:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:date:from:to:subject :message-id:in-reply-to:references:x-mailer:mime-version :content-type:content-transfer-encoding; bh=FOzyRN18gfzdKTEp0+bYzNi0oT3ZaR1LVMK+I6xivyI=; b=F16kxqp6W203FbGb2ZyQuKgQSp4rzLAzzOt7exMSy9jITsUg9aBvr8NUim+hPNsmNo 2HY/uutmfnPN2ZFyBv+SgFGfUBIKLo54cd3E2c6jCo9m/tf6GxIQKu7Vm8bbUswbp8m9 ulmo+XF2D2rPqqvyC193wgX03Q1aQxEyUoOn0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:date:from:to:subject:message-id:in-reply-to:references :x-mailer:mime-version:content-type:content-transfer-encoding; b=tQ3eSBTxQaF2cBwZ69q0JoajeJORRWH6GcqHm479Dt6rAJVCiw3wJYw9jATmSb4o8u gQHbVcwAjmd1ZBHwfkLJpmFPWn8BTy9cYKj6GmFUZ538jeBJhb3dszmdm4Jphwe5ZI66 mWnJSdgeKDxukvUWN7ywqTNItGDaSLNAv1hIY= Received: by 10.103.78.30 with SMTP id f30mr4396505mul.53.1268130477255; Tue, 09 Mar 2010 02:27:57 -0800 (PST) Received: from localhost (www.spiderboy.fr [88.184.64.205]) by mx.google.com with ESMTPS id e9sm28526563muf.10.2010.03.09.02.27.56 (version=SSLv3 cipher=RC4-MD5); Tue, 09 Mar 2010 02:27:57 -0800 (PST) Sender: =?UTF-8?B?RnLDqWTDqXJpYyBCb3Vy?= Date: Tue, 9 Mar 2010 11:27:41 +0100 From: =?UTF-8?B?RnLDqWTDqXJpYw==?= Bour To: freebsd-stable@freebsd.org Message-ID: <20100309112741.66108c8e@ygg-drasil.fr> In-Reply-To: <864468D4-DCE9-493B-9280-00E5FAB2A05C@lassitu.de> References: <864468D4-DCE9-493B-9280-00E5FAB2A05C@lassitu.de> X-Mailer: Claws Mail 3.7.5 (GTK+ 2.18.7; amd64-portbld-freebsd8.0) Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: Many processes stuck in zfs 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: Tue, 09 Mar 2010 10:58:08 -0000 Le Tue, 9 Mar 2010 10:15:53 +0100, Stefan Bethke a =C3=A9crit : > Over the past couple of months, I've more or less regularly observed > machines having more and more processes stuck in the zfs wchan. The > processes never recover from that, and trying to reboot only gets the > entire system stuck, without any console messages. I can enter the > debugger, and I have saved a couple of dumps. >=20 > The situation seems to be triggered by zfs receive'ing snapshots from > the sister machine (both synchronize their active ZFS filesystems to > each other, using zfs send and zfs receive). It appears it's the > receiving causing trouble. >=20 > Both machines run 8-stable from mid-February, with a single-disk ZFS > pool, with ARC limited to 512M, prefetch and ZIL disabled via > loader.conf. >=20 > What should I be looking at to further diagnose? >=20 >=20 > Thanks, > Stefan >=20 Hi, I encounter almost the same problem with a 8-STABLE build from the same time. When working a lot on files inside ~/, the directory get locked, any command trying to access it (from "ls" to application reading their configuration files) get stuck. The system is an amd64 desktop computer, 4GiB of memory and vfs.zfs.prefetch_disable is set to 0.