Replies: 1 comment 1 reply
-
This is likely a memory leak in Alpine when starting
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I've successfully intalled termux, alpine, xfce4, chromium into my phone,
https://github.com/diyism/TermuxXserver
most times it works very well, but 20% of times the Termux app will be killed by the android system.
reproduction procedure:
Install termux into my phone
bash TermuxAlpine.sh
startalpine
apk add x11vnc xfce4 xvfb chromium
start x11vnc and Xvfb: while true; do nohup /usr/bin/x11vnc -noxfixes -usepw -repeat -loop -create -noshm -gone 'killall Xvfb' -env X11VNC_CREATE_STARTING_DISPLAY_NUMBER=0 -env X11VNC_CREATE_GEOM=2560x1688x16 >/dev/null 2>&1; done &
at this step it seems the xfce4 won't start.
from another phone, use androidVNC client app to connect my Termux phone,
at this step the xfce4 will be started by the x11vnc process,
and I can see the Termux phone's memory be occupied 3GB first,
then after 5 seconds, the 3GB memory will be released totally.
but in the 5 seconds, there are 20% chance the android system will kill the Termux app.
If the Termux phone's android system didn't kill the termux app, then I can start the chromium browser in my androidVNC phone,
the chromium works well without any subsequent problem.
Anyone has a hint to avoid the android system to kill the Termux app?
Beta Was this translation helpful? Give feedback.
All reactions