From owner-freebsd-stable@FreeBSD.ORG Tue Apr 5 19:15:11 2011 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 B20681065676 for ; Tue, 5 Apr 2011 19:15:11 +0000 (UTC) (envelope-from andrey@zonov.org) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id F3F858FC13 for ; Tue, 5 Apr 2011 19:15:07 +0000 (UTC) Received: by bwz12 with SMTP id 12so706585bwz.13 for ; Tue, 05 Apr 2011 12:15:06 -0700 (PDT) Received: by 10.204.20.142 with SMTP id f14mr10792bkb.155.1302029271982; Tue, 05 Apr 2011 11:47:51 -0700 (PDT) Received: from [10.254.254.77] (ppp95-165-141-212.pppoe.spdop.ru [95.165.141.212]) by mx.google.com with ESMTPS id t1sm3924243bkx.7.2011.04.05.11.47.49 (version=SSLv3 cipher=OTHER); Tue, 05 Apr 2011 11:47:50 -0700 (PDT) Message-ID: <4D9B63D4.8010604@zonov.org> Date: Tue, 05 Apr 2011 22:47:48 +0400 From: Andrey Zonov User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; ru; rv:1.8.1.24) Gecko/20100228 Thunderbird/2.0.0.24 Mnenhy/0.7.6.0 MIME-Version: 1.0 To: freebsd-stable@freebsd.org Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: ZFS with compression causes deadlock 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, 05 Apr 2011 19:15:11 -0000 Hi, Today I had deadlock on several machines. Almost all processes stucked in [tx->tx_cpu[c].tc_lock]. Machines were helped only `reboot -n'. I've created new gzip-ed filesystem a few days ago. I didn't have any problems with ZFS before. System was built from svn://svn.freebsd.org/base/stable/8@215508. Machines have 24Gb RAM, 4 SATA 500Gb disks in raidz. zfs list: NAME USED AVAIL REFER MOUNTPOINT place 373G 982G 83.0G /place place/gzip 290G 982G 290G /place/gzip root 723M 1.25G 722M legacy var 9.90M 974M 9.77M /var loader.conf: ahci_load="YES" zfs_load="YES" vfs.zfs.arc_max="2G" vfs.zfs.cache_flush_disable="1" # default: 0 vfs.zfs.prefetch_disable="1" # default: 0 vfs.zfs.txg.timeout="5" # default: 30 vfs.zfs.zio.use_uma="0" # default: 0 (earlier was 1) Can anyone help me to find a problem? -- Andrey Zonov