Comment on Why is my server using all my Swap but I have RAM to spare?

Shimitar@downonthestreet.eu ⁨1⁩ ⁨week⁩ ago

1gb swap is way too small…

I usually setup swap to be 2x the total ram size. So, 32gb swap in your case.

Nothing wrong here, seems normal. With such little swap.

Actually Linux kernel works better with swap, the more the better. It will lalso perform better than zero swap. Counterintuitive indeed, but that’s how it works.

If you don’t want swap, use zram.

source
Sort:hotnewtop