Depends on the cause. There is enough information in this thread to analyze the problem further, yet no one provided the necessary information.Is there any solution?
swapon -s;free -h
Filename Type Size Used Priority
/dev/dm-0 partition 2097148 0 -2
/dev/zram0 partition 2097148 55296 10
total used free shared buff/cache available
Mem: 15Gi 11Gi 2.4Gi 48Mi 1.7Gi 3.7Gi
Swap: 4.0Gi 54Mi 3.9Gi
cat /proc/sys/vm/swappiness
60
cat /proc/sys/vm/min_free_kbytes
67584
sudo sysctl -w vm.swappiness=1 # apply immediately but won't persist
sudo emacs /etc/sysctl.conf # and add this line: vm.swappiness = 1
We use essential cookies to make this site work, and optional cookies to enhance your experience.