I have a Centos 7 with a swap of 256 MB. I have at least 1GB o free RAM memory all the time and my CPU never gets over 60% of usage. But anytime I check the swap use it's using about 200 MB! My Swappiness is 30 and everything is running smoothly. But I am really curious what is going on with this Centos.
I am running LAMP on it and just that, nothing fancy. So, how do I get rid of this swap high usage? Is it possible to check who/what app is writing/reading from it?
free -m output:
total used free shared buff/cache available Mem: 1991 171 1684 2 134 1771 Swap: 255 239 16
I discovered that Apache is swapping A LOT. I have many free memory, so why is it swapping? Check the image below.
SO didnt allow me to post the image so i posted it in the link above.