we have moon server - version rhel 7.5
the behavior of consuming swap on this server is very strange
we configured the /proc/sys/vm/swappiness
to 1 and restart the server
but we can see that server is eating 15G , when the available is 44G !!
HOW IT CAN BE??
[root@moon01 network-scripts]# more /proc/sys/vm/swappiness
1
[root@moon01 network-scripts]# free -g
total used free shared buff/cache available
Mem: 125 80 38 0 6 44
Swap: 15 15 0
from my understanding only if available is near last few giga ram then swap will increased
but this isn't the situation