Showing posts with label swap. Show all posts
Showing posts with label swap. Show all posts
Wednesday, August 30, 2017
Ubuntu Disable swap
Ubuntu Disable swap
If you have a computer with a lot of memory and you know you are never going to ever exceed it, then it may be a good idea to turn off your swap with the following command:
sudo swapoff -a
If you ever run out of memory now processes will crash!
download file now
Saturday, August 12, 2017
Tutorial How to Unmount Swap in Linux
Tutorial How to Unmount Swap in Linux
Although we have increased the size of SWAP partition and even rebooting the computer all, the size of which is read by Linux remains as before. Apparently we must first unmount the SWAP this:
swapoff -a
Then re-create the SWAP partition so that all capacity is used:
mkswap /dev/mapper/vg_db-lv_swap
And the last step, enable back Swap:
swapon /dev/mapper/vg_db-lv_swap
Can check using the following command:
free -m
download file now
Subscribe to:
Posts (Atom)