We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
swapon -s
df -hal
mkdir /swap
dd if=/dev/zero of=/swap/swapfile bs=1024 count=16384000
mkswap -f /swap/swapfile
swapon /swap/swapfile
chown root:root /tmp/swapfile
chmod 600 /tmp/swapfile
cat /proc/sys/vm/swappiness
sysctl vm.swappiness=10
vim /etc/sysctl.conf
# Search for the vm.swappiness setting. Uncomment and change it as necessary.
vm.swappiness=10
The text was updated successfully, but these errors were encountered:
No branches or pull requests
swapon -s
df -hal
mkdir /swap
dd if=/dev/zero of=/swap/swapfile bs=1024 count=16384000
mkswap -f /swap/swapfile
swapon /swap/swapfile
/swap/swapfile swap swap defaults 0 0
chown root:root /tmp/swapfile
chmod 600 /tmp/swapfile
cat /proc/sys/vm/swappiness
sysctl vm.swappiness=10
vim /etc/sysctl.conf
在这个文档的最后加上这样一行
# Search for the vm.swappiness setting. Uncomment and change it as necessary.
vm.swappiness=10
The text was updated successfully, but these errors were encountered: