Prequel: I have implemented a small swap partition (after reading a lot pro/con) of only 1 GB (the system has 16 GB RAM), for some possible advantages which I don’t remember any more, but at the time I made the decision to have a (not suspend-to-disk-ready sized) swap partition (I think it was because some said, a small swap partition does not harm even when having enough RAM and if somehting goes awkward eating RAM to the end, you may hafe some time to intervene while the system continues to then eat swap).
Issue: Presently, the swap partition just “dribbles” full and the system becomes “sloppy”. I have set the swappiness to 1 (didn’t help) and now even to 0, but even with a swappiness of zero, the effect of slowly filling up swap (and then behaving sloppy) persists. Why? How can I identify which process is filling up swap instead of using RAM.
My actual swappiness “workaround” is to just
swapoff -a (and maybe I just opt to disable swap entirely). With swap turned off I do not detect anything that eats up consecutively more RAM, so whatever was dribbling the swap full does apparently not do this to the RAM. Any ideas?