BOINC on Android: Problems with suspension of computation and network

Message boards : Questions and problems : BOINC on Android: Problems with suspension of computation and network
Message board moderation

To post messages, you must log in.

AuthorMessage
Wedge009
Avatar

Send message
Joined: 9 Jun 18
Posts: 13
Australia
Message 112541 - Posted: 16 Aug 2023, 4:14:36 UTC
Last modified: 16 Aug 2023, 4:19:16 UTC

Greetings, two problems I've been having recently:

The first is the more pressing concern. With the recent (14-15 August 2023) power outage for Einstein@Home project, I bumped my work buffer to 2 days. But now that the project has been restored, one phone is insisting 'Suspending network activity - user request' while the other has no such communication problem. Any idea what could be blocking task upload? Otherwise I'll have a bunch of completed tasks that can't be submitted back to the project and potentially becoming expired.

I have already tried Projects -> Retry transfers (it currently says 'Transfers suspended (10 Upload)'), and Preferences -> Transfer tasks on WiFi only (unchecked - there's no SIM anyway), Daily transfer limit: 99999 MB (0 default), Daily transfer limit: 99999 Days (0 default).

The second problem is intermittent but increasingly more frequent, where BOINC client thinks the battery charge level is 0% - and suspends computation - but the OS and BOINC GUI both say battery level is 100% (or whatever the current state is, still far greater than the suspend computation threshold). It usually happens after completing one task and then it's stuck doing nothing while another task is ready.

Currently running BOINC 7.24.1 on two phones but I don't think the issues are specific to that version - certainly I've run into the suspended computation issue with 7.22.x, maybe even with 7.18.x
ID: 112541 · Report as offensive
Profile Jord
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 29 Aug 05
Posts: 15481
Netherlands
Message 112542 - Posted: 16 Aug 2023, 9:57:22 UTC - in response to Message 112541.  

Transfer tasks on WiFi only (unchecked - there's no SIM anyway)
Which is exactly the situation that brings up a user requested suspend of network, because you didn't stipulate any to use. The code isn't as intuitive that BOINC will think "hmmm 🤔 the user didn't set a network type, and there is no SIM, so let me use whatever is available anyway."

Just set the network type.
ID: 112542 · Report as offensive
Wedge009
Avatar

Send message
Joined: 9 Jun 18
Posts: 13
Australia
Message 112543 - Posted: 16 Aug 2023, 10:44:19 UTC - in response to Message 112542.  
Last modified: 16 Aug 2023, 10:45:41 UTC

Um, my point is that whether this is checked or not, BOINC thinks network is suspended. It was working fine before the 2-day outage.

What do you mean by 'set the network type'? (I just checked - earlier I had reset it so 'Transfer tasks on WiFi only' is checked again, still nothing.)
ID: 112543 · Report as offensive
Profile Jord
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 29 Aug 05
Posts: 15481
Netherlands
Message 112545 - Posted: 17 Aug 2023, 9:23:36 UTC

Vitalii Koshura, lead BOINC developer wrote:
Modern Android version limit a lot applications background activity. There is not much we can do about this. Important to note, such limitations are different for different device manufacturers (I may assume this hardly depends on the hardware, but I'm not sure), and sometime even manually adding application to the exceptions in the Battery Optimizations list doesn't help a lot since OS kernel might kill the application when it's not used by the user (screen is off, no any user interactions with the device).
I observe this behavior on both of my Xiaomi devices and have no such issues on my Samsung Galaxy device.
Battery Optimization Mode will be handled in #4420.
Case no. 4 will be handled in #5305.

—
ID: 112545 · Report as offensive

Message boards : Questions and problems : BOINC on Android: Problems with suspension of computation and network

Copyright © 2024 University of California.
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.