Re: Deadlocks / hangs in ZFS

From: Luciano Mannucci <luciano_at_vespaperitivo.it>
Date: Tue, 22 May 2018 14:38:36 +0200
On Tue, 22 May 2018 10:17:49 +0200
Alexander Leidinger <Alexander_at_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_at_sublink.sublink.ORG
 / \  AND POSTINGS        /   WWW: http://www.lesassaie.IT/
Received on Tue May 22 2018 - 10:38:44 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:16 UTC