Thread 'PHP Webpage based BOINC monitor'

Message boards : Web interfaces : PHP Webpage based BOINC monitor
Message board moderation

To post messages, you must log in.

AuthorMessage
John Gifford

Send message
Joined: 6 Sep 14
Posts: 5
United Kingdom
Message 66447 - Posted: 28 Dec 2015, 10:52:12 UTC

I run a home LAN with multiple computers crunching BOINC units now rather than running BOINC manager on either every computer on multiple instances on one computer I would like to be able to create a custom webpage on my home intranet that can access all running clients from a list I give it and show me the current state of any active units (particularly fraction done).
I've used BOINC-LCS as a base and that has had some success does seem to work OK, the original script read the client_state.xml file on each running computer once that file was put onto a web server. After some editing of the php based scripts I can get it to read the boinc_task file in the correct slot folder too so I can refresh and get a more up-to-date result. However I've run into an odd hitch, one client (Ubuntu linux based) though showing active connection to the boinc manager and currently reporting a 90+% complete on the current unit has not written a boinc_task.xml file to the folder it is supposed to, I've checked the /var/lib/boinc-client/slots folders there is no file there. Can anyone help with maybe a php based function I could add or bolt into my script to connect to the client via gui rpc so I can get a live result? Any help would be appreciated.
ID: 66447 · Report as offensive
John Gifford

Send message
Joined: 6 Sep 14
Posts: 5
United Kingdom
Message 66448 - Posted: 28 Dec 2015, 10:57:11 UTC

Alternatively is there a way to force a client to create a checkpoint in the work unit. Because looking at BOINC Tasks I can see that the client in question hasn't written a checkpoint in nearly 6 hours.
ID: 66448 · Report as offensive
SekeRob2

Send message
Joined: 6 Jul 10
Posts: 585
Italy
Message 66450 - Posted: 28 Dec 2015, 11:17:10 UTC - in response to Message 66448.  

No, you can not force checkpoint. There's programmed checkpoint at moments when the tasks reaches 'resumeable' points [no you can not resume from any point]. Depending how this is programmed, the science app asks the client if it's OK to write one [the Write to Disk interval]. If the client says the interval time has not passed, it skips the checkpoint writing until and only does one if the science app asks the client again [the 'at most' interval cannot be changed mid run].

Web-interface: Think BOINCTasks has one, but you'd have to ask there [at EfMer's] how-to.
Coelum Non Animum Mutant, Qui Trans Mare Currunt
ID: 66450 · Report as offensive

Message boards : Web interfaces : PHP Webpage based BOINC monitor

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.