Adding data to gzip pool will use all ram and shutdown running VM

Roeffus

Cadet
Joined
Apr 22, 2016
Messages
9
Hello Everyone,

I have a very small Nas built with one 4 TB drive and 16 GB of ram. I have one VM (Ubuntu) which has 4GB of ram allocated to it. When I write data over Samba to a pool that has gzip compression on it, it will use all the available ram as you expect, but it also turns off the VM and use it's ram as well.

FYI The swap on the disc is only 2 gigs (i didn't look at this setting when I added the disc).

Is it possible to prevent the system from shutting down the VM in order to allocate more memory to ZFS?

Running FreeNAS-11.3-U3.2
 
Top