Open MatteoBax opened 11 months ago
While I use the mongodb database from Node.js, after a while the database goes to sleep (it doesn't crash) and I can no longer establish a connection without killing it first.
Use the database for a few hours.
May the database not fall asleep.
termux-info:
Termux Variables: TERMUX_API_VERSION=0.50.1 TERMUX_APK_RELEASE=F_DROID TERMUX_APP_PACKAGE_MANAGER=apt TERMUX_APP_PID=15620 TERMUX_IS_DEBUGGABLE_BUILD=0 TERMUX_MAIN_PACKAGE_FORMAT=debian TERMUX_VERSION=0.118.0 Packages CPU architecture: aarch64 Subscribed repositories: # sources.list deb https://mirrors.nju.edu.cn/termux/apt/termux-main stable main # root-repo (sources.list.d/root.list) deb https://mirrors.nju.edu.cn/termux/apt/termux-root root stable # x11-repo (sources.list.d/x11.list) deb https://mirrors.nju.edu.cn/termux/apt/termux-x11 x11 main # tur-repo (sources.list.d/tur.list) deb https://tur.kcubeterm.com tur-packages tur tur-on-device tur-continuous Updatable packages: command-not-found/stable 2.4.0-2 aarch64 [upgradable from: 2.4.0-1] curl/stable 8.5.0 aarch64 [upgradable from: 8.4.0] debianutils/stable 5.15 aarch64 [upgradable from: 5.14] gh/stable 2.40.0 aarch64 [upgradable from: 2.39.2] libcurl/stable 8.5.0 aarch64 [upgradable from: 8.4.0] libsmartcols/stable 2.39.3-3 aarch64 [upgradable from: 2.39.2-1] libuuid/stable 2.39.3-3 aarch64 [upgradable from: 2.39.2-1] util-linux/stable 2.39.3-3 aarch64 [upgradable from: 2.39.2-1] termux-tools version: 1.39.5 Android version: 12 Kernel build information: Linux localhost 4.19.152-perf+ #1 SMP PREEMPT Mon Oct 9 22:39:47 CST 2023 aarch64 Android Device manufacturer: OPPO Device model: CPH2135 LD Variables: LD_LIBRARY_PATH= LD_PRELOAD=/data/data/com.termux/files/usr/lib/libtermux-exec.so Installed termux plugins: com.termux.api versionCode:51 com.termux.styling versionCode:31
I don't know what exactly the reason is. There are so many possibilities. For example, the Android system may clean up programs...
Problem description
While I use the mongodb database from Node.js, after a while the database goes to sleep (it doesn't crash) and I can no longer establish a connection without killing it first.
What steps will reproduce the bug?
Use the database for a few hours.
What is the expected behavior?
May the database not fall asleep.
System information
termux-info: