Termux crashes after a while (android 11)
Im using termux on my rooted moto g20 to do some proxy's and to run a minecraft server
Performance is great, and i have also setup ssh for external access
The only problem that i have is that after a few hours termux crashes and closes, it seems to be only it, since i have also open tailscale (android app) and caffeine to keep the screen on
The phone is running android 11 "stock" from motorola with magisk for root, im pretty sure that the phantom process killer is android 12+, so maybe it's not that? i would really like some help, since my minecraft server constantly closes 😦
The proxie's are running in native termux with socat, and the minecraft server is running on proot-distro on debian
3 Replies
have you tried running the minecraft server outside of proot-distro also by using
pkg install openjdk-21
or pkg install openjdk-17
? also, did you see the messages in the general channel about ADB and htop?I have tried, but the server doesn't start on native termux for some reason.
I'll try the logcat later when i get home.
As a side note, i was always monitoring the ram usage with htop and it never wwnt over 2.8GB, and the phone has 3.8GB
could you show the error you see when you try to start the server on native termux?
also could you show the result from this command
apt-cache policy openjdk-21