Created
August 2, 2017 02:34
-
-
Save carlosocarvalho/090f33fe4dc7c760e1e09c5fb47cbc54 to your computer and use it in GitHub Desktop.
Lack of free swap space on Zabbix server
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo dd if=/dev/zero of=/var/swapfile bs=1M count=2048 && \ | |
sudo chmod 600 /var/swapfile && \ | |
sudo mkswap /var/swapfile && \ | |
echo /var/swapfile none swap defaults 0 0 | sudo tee -a /etc/fstab && \ | |
sudo swapon -a |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment