boinccmd update

Message boards : BOINC client : boinccmd update
Message board moderation

To post messages, you must log in.

AuthorMessage
Seth

Send message
Joined: 19 Nov 16
Posts: 63
Australia
Message 86928 - Posted: 8 Jul 2018, 9:45:41 UTC

Hi Team,
Just wondering if someone can explain to me in more detail what actually happens when using boinccmd I issue a project update request. For example:
boinccmd --project https://myproject.com update


Does it actually lookup a specific page or file back on the server? Is there anyway to control which page/file this is?

The reason why I am curious is that I find sometimes when my client has troubles communicating to the server, usually because the server is overloaded, I can either wait for the client to automatically retry communication to the server or issue the update command to get it unstuck.

I've also tried using
boinccmd --network_available
but this does not always yield great results in terms of getting the client unstuck.

Cheers
Seth
ID: 86928 · Report as offensive
Richard Haselgrove
Volunteer tester
Help desk expert

Send message
Joined: 5 Oct 06
Posts: 5078
United Kingdom
Message 86929 - Posted: 8 Jul 2018, 9:57:21 UTC - in response to Message 86928.  

boinccmd gives an instruction to the boinc client - boinc.exe or just boinc, depending on your operating system - to carry out your request. Exactly the same thing happens if you use the graphical interface 'BOINC Manager'.

To update a project, the client writes a file 'sched_request_<url>.xml' - you can see the most recent one in your boinc data directory. It contains information about your account with that project, information about your computer, any work which has been completed, and any request for new work that you might need. The client uses a process known as an 'RPC' or Remote Procedure Call to transfer this file to the scheduler component on the project's server. In return, it expects to receive a sched_reply file, which can again be seen in your data folder. Hope that gets you started.
ID: 86929 · Report as offensive
Seth

Send message
Joined: 19 Nov 16
Posts: 63
Australia
Message 86930 - Posted: 8 Jul 2018, 10:42:03 UTC - in response to Message 86929.  

Thanks Richard.

As a follow up question, can you let me know how often the client directly queries the <master_url> thats defined in the config.xml of the server?

I'd like to experiment by storing the master_url in a content distribution network to see if it would take some load of my server.

Cheers
Seth
ID: 86930 · Report as offensive
Richard Haselgrove
Volunteer tester
Help desk expert

Send message
Joined: 5 Oct 06
Posts: 5078
United Kingdom
Message 86931 - Posted: 8 Jul 2018, 10:50:29 UTC - in response to Message 86930.  

I think the answer is 'very rarely'. From memory, it's something like 'after 10 consecutive failures to contact the scheduler'.
ID: 86931 · Report as offensive
Seth

Send message
Joined: 19 Nov 16
Posts: 63
Australia
Message 86932 - Posted: 8 Jul 2018, 10:55:27 UTC - in response to Message 86931.  

Great. Thanks Richard!
ID: 86932 · Report as offensive

Message boards : BOINC client : boinccmd update

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.