BOINC "forgets" its stats

Message boards : Questions and problems : BOINC "forgets" its stats
Message board moderation

To post messages, you must log in.

AuthorMessage
Bernie Vine
Volunteer moderator
Avatar

Send message
Joined: 10 Dec 12
Posts: 322
Message 85189 - Posted: 14 Mar 2018, 7:31:41 UTC
Last modified: 14 Mar 2018, 7:33:45 UTC

Yesterday evening I had a problem with a machine that was locked up (not due to BOINC) and it required a "hard rest"

After this when rebooting, BOINC has forgotten all stats and started fresh from yesterday. I had "save stats days" in cc_config set to 365.

It did not lose any work or error any tasks.

Is there a way to prevent this happening if BOINC is not cleanly shutdown. I am running 7.8.3
ID: 85189 · Report as offensive
Profile Jord
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 29 Aug 05
Posts: 15479
Netherlands
Message 85193 - Posted: 14 Mar 2018, 9:19:10 UTC - in response to Message 85189.  

Backup, backup, backup. That's the only way to do this, daily backups.
ID: 85193 · Report as offensive
Bernie Vine
Volunteer moderator
Avatar

Send message
Joined: 10 Dec 12
Posts: 322
Message 85194 - Posted: 14 Mar 2018, 9:30:14 UTC

Where does BOINC keep its stats?
ID: 85194 · Report as offensive
Richard Haselgrove
Volunteer tester
Help desk expert

Send message
Joined: 5 Oct 06
Posts: 5078
United Kingdom
Message 85195 - Posted: 14 Mar 2018, 9:37:05 UTC - in response to Message 85194.  

Where does BOINC keep its stats?
Data folder, separate file 'statistics_url.xml' for each project url.

Only one file is kept for each project, unlike client_state.xml which is protected by a file, _prev, _next rotation. A crash while the file is open for writing is likely to lead to corruption and data loss, so daily backups just after midnight are the only solution.
ID: 85195 · Report as offensive
Bernie Vine
Volunteer moderator
Avatar

Send message
Joined: 10 Dec 12
Posts: 322
Message 85199 - Posted: 14 Mar 2018, 11:41:38 UTC

OK thanks, I don't often lift the lid on the inner workings of BOINC. I see the structure and this machine indeed has it first entry yesterday,whereas my other cruncher goes back to Jan 2017

I suppose in theory it might be possible to recreate the approximate data seeing as this machine has only been crunching for 3 weeks.
ID: 85199 · Report as offensive

Message boards : Questions and problems : BOINC "forgets" its stats

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.