Tag Archives: swap
How to add and increase swap on CentOS
Adding a swap file without reboot If you are having a dedicated server somewhere with not that much memory, you could decide to add a swap without rebooting your server. To do so, you need to follow the routine: sudo dd if=/dev/zero of=/swapfile count=1024 bs=1MiB sudo mkswap /swapfile sudo chmod 0600 /swapfile sudo swapon /swapfile …