Home / Web service / Server / Increase the swap memory on Ubuntu
우분투

Increase the swap memory on Ubuntu

Increase the swap memory on Ubuntu

 

256 x 1024 = 262144
512 x 1024 = 524288
1024 x 1024 = 1048576

6Giga 6291456

256M How to Add

1, dd if=/dev/zero of=/boot/swapfile bs=1024 count=262144
2, mkswap -v1 /boot/swapfile
3, swapon /boot/swapfile [ This is directly applicable to the current system ]

* To apply after reboot, /The etc / fatab will give added value below.
/boot/swapfile swap swap defaults 1 1

Check Also

phpmyadmin 404

nginx phpmyadmin 404 Not Found

Suddenly in phpmyadmin nginx server 404 Not Found 오류 가 발생 한다면 그 동안 서버에

Leave a Reply

Your email address will not be published. Required fields are marked *