How do I fix a statistics corruption?

From BOINC Wiki
Jump to: navigation, search

One day you check in the Statistics tab in BOINC what your credits are and you find a weird image like so:

Stats corrpuption.jpg

This is not a bug, but something that happens when your system (computer) clock is off by several hours, days, weeks, months or years, BOINC contacts the project and gets new info in on credits & RAC. When later the system clock gets reset to the normal time and all's fixed, that weird line shows up in the statistics.

This can easily be fixed though. First and foremost, exit BOINC completely. BOINC Manager->Advanced view->File->Exit->Check "Stop running tasks on manager exit?" (or similar wording)->click OK.

Navigate to your BOINC Data directory. Default places for this to be can be found in this FAQ. Find the statistics_*.xml file for the project that has the weird entry, e.g. for the Einstein project, and open it with a text editor such as Notepad. There is no need to use an XML editor.

In it you'll find time stamps in Unix clock format. Example given: <project_statistics>

   <master_url>project URL</master_url>


See those <day/> entries? Find the one that's the either the highest or the lowest --depending on what your clock did, go forward or backwards in time-- and remove the whole <daily_statistics>..</daily_statistics> part around that day.

If not sure, you can use a Unix time converter to check the <day/> values to see what all the <day/> values are.

Then save the file (just with File-Save or CTRL + S), exit the file and then restart BOINC (Start->All Programs->BOINC->BOINC Manager).

That should do it.

Original writer Original FAQ Date
Jorden 590 24-Mar-2012