Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 May 2018 14:38:36 +0200
From:      Luciano Mannucci <luciano@vespaperitivo.it>
To:        freebsd-current@freebsd.org
Subject:   Re: Deadlocks / hangs in ZFS
Message-ID:  <40qwDY04nmz5DvX@baobab.bilink.it>
In-Reply-To: <20180522101749.Horde.Wxz9gSxx1xArxkYMQqTL0iZ@webmail.leidinger.net>
References:  <20180522101749.Horde.Wxz9gSxx1xArxkYMQqTL0iZ@webmail.leidinger.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 22 May 2018 10:17:49 +0200
Alexander Leidinger <Alexander@leidinger.net> 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/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?40qwDY04nmz5DvX>