Android kills the syncthing process when activity is closed
See original GitHub issueAndroid kills libsyncthing.so everytime when the activity is closed. It gets automatically restarted by SyncthingService, but syncing gets interrupted.
I ActivityManager: Killing 9422:com.nutomic.syncthingandroid.debug/u0a128 (adj 16): remove task
I libprocessgroup: Killing pid 9500 in uid 10128 as part of process group 9422
Issue Analytics
- State:
- Created 7 years ago
- Comments:18 (18 by maintainers)
Top Results From Across the Web
xiaomi seems to kill syncthing - Android
One thing I've discovered, the app doesn't shut down when it's actually doing something. Only if it is idle. Now that I've written...
Read more >Prevent background service from being killed due to "detect ...
The Syncthing protocol is quite heavy on the CPU side, regarding encryption, hashing, etc. So it seems that the service is force-stopped due...
Read more >Android app: how to manually turn it on and off? More ... - Reddit
You can also force kill the app, or set no run conditions and only enable some when you wanna sync.
Read more >Keep apps running in background? - XDA Forums
Anyway, it seems that the developer of Syncthing-Android has added a ... What is frustrating enough, as it kills some processes just before ......
Read more >Syncthing is everything I used to love about computers
Meanwhile, if syncthing was a closed source product and the company ... versions of Android seem designed to kill use cases like syncthing....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Ah it only seems to happen if you swipe the app away in recents (I tried to use the back button).
@Unrud Would be cool if you can make a PR for this 😉
Android 6.0.1. It happens with the version from f-droid and with a version that I compiled form this repository.
Yes
No
You can use the android:process attribute in the service definition. The service will run in a different process and should not be restarted when the activity is closed. But you have to use AIDL to communicate with the service.