How To Disable Linux Swap

How To Disable Linux Swap

Identify configured swap devices and files:

# cat /proc/swaps

 

Turn off all swap devices and files:

# swapoff -a

 

Remove any matching reference found in file:

# /etc/fstab

 

Then reboot server

arstech

Leave a Reply