Why not just set arc max at this point & avoid oom?
See my first few posts. Back when I had 32 GB of RAM, I tried setting the arc max to 8 GB. But, this did nothing to remedy the issue. Yes, the average ARC size hovered around 8 GB, but every once in a while it would spike rather sharply up to the point where the kernel had to step in and start killing things. This thread also mentions and questions this odd behavior of ARC exceeding the max. I’m tempted to take all the findings from both threads and go bug the OpenZFS devs for some insight.