Thread 'How to automatically end long running tasks?'

Message boards : Number crunching : How to automatically end long running tasks?
Message board moderation

To post messages, you must log in.

AuthorMessage
Key

Send message
Joined: 3 Jul 23
Posts: 1
Credit: 2,822,192
RAC: 5,369
Message 3763 - Posted: 1 May 2024, 14:25:04 UTC

Hi, is it possible to use an app_config entry to automatically kill long-running tasks that will just error anyway?

I had a task (https://boinc.multi-pool.info/latinsquares/workunit.php?wuid=462370749) run on CPU overnight for nearly 8.5 hours, instead of the usual 20 minutes, only to then be marked as an error. There have been others and they are admittedly quite rare, but it's very wasteful of resources to run for so long to no purpose.

Accepting that some tasks may just run for longer than 'normal' but it seems sensible to 'kill' any tasks that take more than say 1.5 or 2 times longer.

Thoughts and suggestions much appreciated.
ID: 3763 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
ice00
Project administrator
Project developer

Send message
Joined: 28 Oct 17
Posts: 220
Credit: 59,056
RAC: 12
Message 3766 - Posted: 4 May 2024, 11:12:17 UTC - in response to Message 3763.  

We had investigated into the past this kind of tasks, but we were unable to find a rule to being able to excluded them.

Unfortunately Boinc has no too much option for a client, like suspend a long running task.

Maybe it could help in setting "change activity" to 25 min", so a long running task will be suspended many times while switching with others. This not resolve the problems, but maybe when you detect it, it has run for less global time and can be killed before running for too much time.
ID: 3766 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Demis

Send message
Joined: 7 Nov 17
Posts: 29
Credit: 13,770,308
RAC: 278
Message 3768 - Posted: 9 May 2024, 6:03:27 UTC - in response to Message 3766.  

ID: 3768 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
mmonnin

Send message
Joined: 29 Nov 17
Posts: 15
Credit: 3,118,233
RAC: 11,552
Message 3772 - Posted: 3 Jun 2024, 21:41:03 UTC

This one I aborted after 4hr50min
https://boinc.multi-pool.info/latinsquares/result.php?resultid=537617157

One would have to use boinccmd and some scripting to check running tasks. Maybe make a list in the script and compare from an earlier list?
ID: 3772 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Demis

Send message
Joined: 7 Nov 17
Posts: 29
Credit: 13,770,308
RAC: 278
Message 3773 - Posted: 4 Jun 2024, 15:25:14 UTC

Yes.
Too many mistakes.

Statistics on completed tasks have completely disappeared.
I had one host count for 12 hours, then gave an error.

In the open part of the project I found several hundred incorrect ones.
Until the task generator is fixed, there will be a problem...
ID: 3773 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote

Message boards : Number crunching : How to automatically end long running tasks?

©2024 ©2024 Progger & Stefano Tognon (ice00) & Reese