[zfs-discuss] ZFS eating up all 16 GB RAM when combining 4k blocksize ZVOL with XFS

Paul Gorman pagorman at asu.edu
Mon Nov 12 18:07:28 EST 2018


Add to the grub/rEfind boot args for the kernel:

zfs.zfs_arc_max=536870912 #(for 512MB cap zfs memory usage, expressed in
bytes)

Though you'll likely want 512MiB-1GiB per physical disk.

Source: experience & Archwiki:
https://wiki.archlinux.org/index.php/ZFS#ZFS_is_using_too_much_RAM

On Mon, Nov 12, 2018, 17:39 Bzzzz via zfs-discuss <
zfs-discuss at list.zfsonlinux.org wrote:

> On Mon, 12 Nov 2018 23:08:03 +0100
> Omar Siam via zfs-discuss <zfs-discuss at list.zfsonlinux.org> wrote:
>
> > Hi list!
>
> Hi lost !
>
> may trying something like a command line loop , using the
> following line could help:
>
> a=1 ; while [ "$a"=="1" ] ; do sleep 1 ; ps auxf | sort -nr -k 4 |
>  head -10 ; echo ;
>  echo "===============================================" ; echo ;
>  done > TEST.RAM
>
> executed as root, this sorts the first 10 daemons (head -10) eating your
> memory every second and redirect the output to the "TEST.RAM" file.
>
> Jean-Yves
>
> > I am a bit frustrated
> _______________________________________________
> zfs-discuss mailing list
> zfs-discuss at list.zfsonlinux.org
> http://list.zfsonlinux.org/cgi-bin/mailman/listinfo/zfs-discuss
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.zfsonlinux.org/pipermail/zfs-discuss/attachments/20181112/2f10d213/attachment.html>


More information about the zfs-discuss mailing list