Hacker News new | ask | show | jobs
by jraph 560 days ago
Termux is an option but using pmOS is far from silly.

Android and Termux have their limitations. Granted, I was running a full KDE session in Termux on a 2016 phone, but I saw Android OOM-kill random processes in Termux. You probably don't have a swap partition on your Android phone. Android apps are designed to be killed when in background, and Android avoids killing the app at the foreground, but Android doesn't know some processes running in Termux shouldn't be killed. This could happen if something on your server suddenly uses more RAM than anticipated.

On a regular Linux distro, you can have a swap file and/or teach the OOM to not kill some critically important services, like ssh for instance.