ZFS exhausts kernel memory just by importing zpools

Bob Friesenhahn bfriesen at simple.dallas.tx.us
Wed Jul 3 23:05:50 UTC 2019

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 Friesenhahn
bfriesen at 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

More information about the freebsd-fs mailing list