I thought I was being clever! OVHcloud VPS, 2GB RAM, Ubuntu 22.04, docker, ZFS root! All the buzzwords!
Then I deployed 8 containers and everything fell apart! Swap storm! Load average 47! Containers dying and respawning like zombies!
$ free -h
total used free shared buff/cache available
Mem: 1.9Gi 1.8Gi 56Mi 12Mi 120Mi 23Mi
Deduplication was on! Dedup! On 2GB! I didn't even know I turned it on! The defaults betrayed me!
Turned off dedup: [code]zfs set dedup=off tankNow it uses 400MB base. Eight containers running smooth!
Dont be like me! Check your dedup!