Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Jul 2019 17:52:23 -0500 (CDT)
From:      Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
To:        "Nagy, Attila" <bra@fsn.hu>
Cc:        freebsd-fs@freebsd.org
Subject:   Re: ZFS exhausts kernel memory just by importing zpools
Message-ID:  <alpine.GSO.2.20.1907031750550.17027@scrappy.simplesystems.org>
In-Reply-To: <78882cea-c1aa-0d08-d2e8-7f7ae7131bb6@fsn.hu>
References:  <e542dfd4-9534-1ec7-a269-89c3c20cca1d@fsn.hu> <820ceee3-95aa-9925-066d-5d22884ce001@sentex.net> <78882cea-c1aa-0d08-d2e8-7f7ae7131bb6@fsn.hu>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 3 Jul 2019, Nagy, Attila wrote:
>
> I think this is related to how ZFS stores pool metadata in memory. I don't 
> think these scales with the number of the files, but maybe with the number of 
> stored blocks.

There should be a zfs tunable to disable zfs metadata caching.  This 
would make repeated access slower due to more reads, but might allow 
importing the pool.

Bob
-- 
Bob Friesenhahn
bfriesen@simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/
Public Key,     http://www.simplesystems.org/users/bfriesen/public-key.txt



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