Skip to content

Instantly share code, notes, and snippets.

@Clivern
Last active February 5, 2019 14:30
Show Gist options
  • Save Clivern/106a1d4cf102c29758547f106734bbd2 to your computer and use it in GitHub Desktop.
Save Clivern/106a1d4cf102c29758547f106734bbd2 to your computer and use it in GitHub Desktop.

A lack of memory or swap, or not having swap configured

$ sudo /bin/dd if=/dev/zero of=/var/swap.1 bs=1M count=1024
$ sudo /sbin/mkswap /var/swap.1
$ sudo /sbin/swapon /var/swap.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment