Swap since dragonfish upgrade

Hi there,

First i apologize for my bad english, i’m french and in France we are shit about english !

So i’m coming from Core then Cobia and now Dragonfish. Migration from Core to Cobia was fine, i managed to switch to k3s for my apps greatly. Everything was fine until i upgrade to dragonfish.

Since Dragonfish, ZFS cache eat all of RAM ( it seem it’s ok until RAM are released when needed by the system ). But in fact, the system is now going to swap a lot as if ZFS cache do not release memory as needed by the system …
WebUI start to be realy unresponsive, this is realy anoying.

Am i alone to seeing this ? Can we revert back to 50% RAM for ZFS cache ?

Founded the trick, thanks to community :

echo 8589000000 >> /sys/module/zfs/parameters/zfs_arc_max

For 8 GB of cache max.

Add this to “System settings”’ → “Advanced” → “Init script” then add this command at boot. No more swap now !