From owner-freebsd-current@freebsd.org Tue May 22 12:38:44 2018 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D88F7EF47C2 for ; Tue, 22 May 2018 12:38:44 +0000 (UTC) (envelope-from luciano@vespaperitivo.it) Received: from baobab.bilink.net (baobab.bilink.net [212.45.144.44]) by mx1.freebsd.org (Postfix) with ESMTP id 750C572694 for ; Tue, 22 May 2018 12:38:43 +0000 (UTC) (envelope-from luciano@vespaperitivo.it) Received: from baobab.bilink.net (localhost [127.0.0.1]) by baobab.bilink.it (Postfix) with ESMTP id 40qwDY0vLXz5DvY for ; Tue, 22 May 2018 14:38:37 +0200 (CEST) Received: from hermes.mcs.it (hermes.mcs.it [192.168.132.21]) by baobab.bilink.it (Postfix) with ESMTP id 40qwDY04nmz5DvX for ; Tue, 22 May 2018 14:38:37 +0200 (CEST) Received: from mordeus (unknown [192.168.45.6]) by hermes.mcs.it (Postfix) with ESMTP id DE2D52B05B for ; Tue, 22 May 2018 14:38:36 +0200 (CEST) Date: Tue, 22 May 2018 14:38:36 +0200 From: Luciano Mannucci To: freebsd-current@freebsd.org Subject: Re: Deadlocks / hangs in ZFS In-Reply-To: <20180522101749.Horde.Wxz9gSxx1xArxkYMQqTL0iZ@webmail.leidinger.net> References: <20180522101749.Horde.Wxz9gSxx1xArxkYMQqTL0iZ@webmail.leidinger.net> X-Mailer: Claws Mail 3.16.0 (GTK+ 2.24.32; amd64-portbld-freebsd10.3) X-Face: 4qPv4GNcD; h<7Q/sK>+GqF4=CR@KmnPkSmwd+#%\F`4yjKO3"C]p'z=(oWRnsYBQGM\5g:4skqQY0NnV'dM:Mm:^/_+I@a"; [-s=ogufdF"9ggQ'=y MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Message-Id: <40qwDY04nmz5DvX@baobab.bilink.it> X-Virus-Scanned: PippoLillo, ClamAV using ClamSMTP X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 May 2018 12:38:45 -0000 On Tue, 22 May 2018 10:17:49 +0200 Alexander Leidinger wrote: > does someone else experience deadlocks / hangs in ZFS? I did experience ZFS hangs on heavy load on relatively big iron (using rsync, in my case). Theh was cured by reducing the amount of available RAM to the zfs caching mechanism. Parameters in /boot/loader.conf vfs.zfs.vdev.cache.size and vfs.zfs.arc_max may be your friends. On a 16G machine not showing the syptoms anymore I have set: kern.maxusers="4096" vfs.zfs.vdev.cache.size="5G" vfs.zfs.arc_min="1228800000" vfs.zfs.arc_max="9830400000" hope it helps, Luciano. -- /"\ /Via A. Salaino, 7 - 20144 Milano (Italy) \ / ASCII RIBBON CAMPAIGN / PHONE : +39 2 485781 FAX: +39 2 48578250 X AGAINST HTML MAIL / E-MAIL: posthamster@sublink.sublink.ORG / \ AND POSTINGS / WWW: http://www.lesassaie.IT/