danau.
← all posts

Keeping a 1 GB VPS responsive

August 19, 2026

I run small things on the cheapest tier: one shared vCPU and a gigabyte of memory.

fallocate -l 512M /swapfile
chmod 600 /swapfile && mkswap /swapfile && swapon /swapfile

A small swap file turns a hard kill into a slow morning I can notice.