16.04 - Swap not being used - Ask Ubuntu


my swap not being used, no matter how full ram gets. swapon output:

name      type       size used prio /dev/dm-2 partition 31,9g 3,5m   -1 

could prio -1 problem?

cat /proc/sys/vm/swappiness 60 

my swappiness 60.

cat /proc/swaps filename             type       size        used    priority /dev/dm-2            partition  33456124    3524    -1 

i have 32gb of ram , 32gb of swap, when memory runs system lock permanently rather start swapping. can that?

basically trying run application eat 30gb of memory, while me physical memory half full. while booting , loading data memory system freezes, once physical memory full. , no doesn't appear lock while swapping, since after while doesn't unfreeze.

don't think so. first check cat /etc/fstab swap partition, try formatting swap file system with

  1. sudo swapoff -a
  2. sudo /sbin/mkswap /dev/sd##
  3. sudo swapon -a

Comments

Popular posts from this blog

download - Firefox cannot save files (most of the time), how to solve? - Super User

windows - "-2146893807 NTE_NOT_FOUND" when repair certificate store - Super User