Adding SWAP space to AWS c3.medium instance

To add swap space use the following steps: sudo to root [ec2-user@ip-10-167-158-108 ~]$ sudo -s [root@ip-10-167-158-108 ec2-user]# Check the swap space #CHECK SWAP space… [ec2-user@ip-10-167-158-108 ~]$ grep SwapTotal /proc/meminfo SwapTotal: 0 kB [ec2-user@ip-10-167-158-108 ~]$ Add swap space Type the following command to create 512MB swap file (1024 * 512MB = 524288 block size): [root@ip-10-167-158-108 ec2-user]#… Read More Adding SWAP space to AWS c3.medium instance