climateprediction.net home page
Server Status page and Server Status XML do NOT agree

Server Status page and Server Status XML do NOT agree

Message boards : Number crunching : Server Status page and Server Status XML do NOT agree
Message board moderation

To post messages, you must log in.

AuthorMessage
Profile Tuna Ertemalp
Avatar

Send message
Joined: 27 Mar 15
Posts: 3
Credit: 4,714,869
RAC: 0
Message 53535 - Posted: 27 Feb 2016, 16:33:32 UTC

BOINCstats reads all projects' status from an XML file and puts them up on http://boincstats.com/en/page/projectStatusInfo. However, for CPDN, this XML doesn't contain the right data.

As I am typing this post, http://climateapps2.oerc.ox.ac.uk/cpdnboinc/server_status.html shows:

   Tasks ready to send	6,909
   Tasks in progress	102,753


However, the XML file http://www.climateprediction.net/server_status.php?xml=1 that is supposed to report the above data in an XML format is totally out of sync with reality:

   <results_ready_to_send>31551</results_ready_to_send>
   <results_in_progress>81235</results_in_progress>


Additionally, this XML also seems to be wrong in all other entries it contains. For example, right now all the servers are Running, but the XML indicates a few that are not running or are disabled.

Fixing it to be in sync with the human readable page at all times would be very appreciated.

Thanks
Tuna

ID: 53535 · Report as offensive     Reply Quote
Les Bayliss
Volunteer moderator

Send message
Joined: 5 Sep 04
Posts: 7629
Credit: 24,240,330
RAC: 0
Message 53538 - Posted: 28 Feb 2016, 7:26:24 UTC

Email sent.

ID: 53538 · Report as offensive     Reply Quote
Profile Tuna Ertemalp
Avatar

Send message
Joined: 27 Mar 15
Posts: 3
Credit: 4,714,869
RAC: 0
Message 53604 - Posted: 7 Mar 2016, 18:51:38 UTC

Willy from BOINCstats tells me that you guys created a new XML URL at http://climateapps2.oerc.ox.ac.uk/cpdnboinc/server_status_new.php?xml=1 to match/report the human readable web page at http://climateapps2.oerc.ox.ac.uk/cpdnboinc/server_status.html. Thanks!

Slight problem, possibly: The new XML doesn't exactly match what is shown on the server_status web page, although very close. But the difference doesn't seem to be an expected time-to-sync delay issue. The "Tasks in progress" has been around 97K for a while both on the page and in the XML, but the "Tasks ready to send" is stuck at 0 on the human readable page, and stuck at 336 in the new XML. It has been a while, like a few hours, that I have observed this, unless the XML is getting updated daily or some long interval like that.

Tuna
ID: 53604 · Report as offensive     Reply Quote
Les Bayliss
Volunteer moderator

Send message
Joined: 5 Sep 04
Posts: 7629
Credit: 24,240,330
RAC: 0
Message 53605 - Posted: 7 Mar 2016, 19:33:20 UTC - in response to Message 53604.  

Apparently the old url hasn't been update since 2013, which would be when this "new" url was created.
The many scripts for providing data for external stats sites run once per day, and take a large part of a day to complete.
So it's possible that the script for the Server Status page also runs once per day.

ID: 53605 · Report as offensive     Reply Quote

Message boards : Number crunching : Server Status page and Server Status XML do NOT agree

©2024 climateprediction.net