about retrying jobs

8 views
Skip to first unread message

Matias Salimbene

unread,
May 15, 2025, 3:21:13 PMMay 15
to boinc_projects
Hello,

Say I setup a workunit with <max_error_results>3</max_error_results> so it is retried 3 times. A client picks up the task, and it fails. The task goes to the queue again. Will Boinc server send the task to the same client? Or would it try to give the task to a different one?

Thanks!

Nicolás Alvarez

unread,
May 15, 2025, 3:39:21 PMMay 15
to Matias Salimbene, boinc_projects
El jue, 15 may 2025 a la(s) 4:21 p.m., Matias Salimbene
(matias.s...@gmail.com) escribió:
>
> Hello,
>
> Say I setup a workunit with <max_error_results>3</max_error_results> so it is retried 3 times. A client picks up the task, and it fails. The task goes to the queue again. Will Boinc server send the task to the same client? Or would it try to give the task to a different one?
>
> Thanks!

By default, the BOINC server will only re-send the task to a different
*user* (not even to a different computer of the same user).

You can change this so that it can be sent to different computers of
the same user, by disabling <one_result_per_user_per_wu/> and enabling
<one_result_per_host_per_wu/> in your config.xml.

You can also leave both settings disabled to let the same client get
the task again. This could be useful when you're doing initial
development and testing, and you only have a single client attached to
the project. However, in that case you should ensure you use
target_nresults=1 on the task, otherwise I believe multiple copies of
the task could be sent to the same client *at the same time*, which
seems useless even during development.

--
Nicolás
Reply all
Reply to author
Forward
0 new messages