Pages: [1]
AndCycle
 
BAM!ID: 34887
Joined: 2007-09-18
Posts: 7
Credits: 24,519,198
World-rank: 28,417

2017-01-29 16:09:26

I got this weird issue few days ago and can't get rid of it,
have tried boinc ver 7.2.44 and 7.6.33, quit and rejoin boinc network,
system is Gentoo linux,

the World Community Grid just keep override my setting.


Code:

29-Jan-2017 23:56:17 [---] Contacting account manager at https://bam.boincstats.com/
29-Jan-2017 23:56:20 [---] Account manager: BAM! User: 34887, AndCycle
29-Jan-2017 23:56:20 [---] Account manager: BAM! Host: 531829
29-Jan-2017 23:56:20 [---] Account manager: Number of BAM! connections for this host: 20428
29-Jan-2017 23:56:20 [---] Account manager contact succeeded
29-Jan-2017 23:56:20 [---] General prefs: from http://bam.boincstats.com/ (last modified 28-Jan-2017 22:09:09)
29-Jan-2017 23:56:20 [---] Host location: none
29-Jan-2017 23:56:20 [---] General prefs: using your defaults
29-Jan-2017 23:56:20 [---] Preferences:
29-Jan-2017 23:56:20 [---] max memory usage when active: 19115.83MB
29-Jan-2017 23:56:20 [---] max memory usage when idle: 28673.74MB
29-Jan-2017 23:56:20 [---] max disk usage: 100.00GB
29-Jan-2017 23:56:20 [---] (to change preferences, visit a project web site or select Preferences in the Manager)
30-Jan-2017 00:01:26 [World Community Grid] Sending scheduler request: To fetch work.
30-Jan-2017 00:01:26 [World Community Grid] Requesting new tasks for CPU
30-Jan-2017 00:01:31 [World Community Grid] Scheduler request completed: got 1 new tasks
30-Jan-2017 00:01:31 [World Community Grid] General prefs: from World Community Grid (last modified 29-Jan-2017 23:46:07)
30-Jan-2017 00:01:31 [World Community Grid] Host location: none
30-Jan-2017 00:01:31 [World Community Grid] General prefs: using your defaults
30-Jan-2017 00:01:31 [---] Preferences:
30-Jan-2017 00:01:31 [---] max memory usage when active: 15929.86MB
30-Jan-2017 00:01:31 [---] max memory usage when idle: 23894.79MB
30-Jan-2017 00:01:31 [---] max disk usage: 4.00GB
30-Jan-2017 00:01:31 [---] don't use GPU while active
30-Jan-2017 00:01:31 [---] suspend work if non-BOINC CPU load exceeds 50%
30-Jan-2017 00:01:31 [---] (to change preferences, visit a project web site or select Preferences in the Manager)
30-Jan-2017 00:01:33 [World Community Grid] Started download of MCM1_0129975_6213_MCM1_0129975_6213.txt
30-Jan-2017 00:01:37 [World Community Grid] Finished download of MCM1_0129975_6213_MCM1_0129975_6213.txt
30-Jan-2017 00:03:37 [World Community Grid] Sending scheduler request: To fetch work.
30-Jan-2017 00:03:37 [World Community Grid] Requesting new tasks for CPU
30-Jan-2017 00:03:42 [World Community Grid] Scheduler request completed: got 0 new tasks
30-Jan-2017 00:03:42 [World Community Grid] No tasks sent
30-Jan-2017 00:03:42 [World Community Grid] No tasks are available for Help Stop TB
30-Jan-2017 00:03:42 [World Community Grid] No tasks are available for FightAIDS@Home - Phase 2
30-Jan-2017 00:03:42 [World Community Grid] Mapping Cancer Markers needs 500.00MB more disk space. You currently have 0.00 MB available and it needs 500.00 MB.
30-Jan-2017 00:03:42 [World Community Grid] OpenZika needs 100.00MB more disk space. You currently have 0.00 MB available and it needs 100.00 MB.
30-Jan-2017 00:03:42 [World Community Grid] Outsmart Ebola Together needs 100.00MB more disk space. You currently have 0.00 MB available and it needs 100.00 MB.
30-Jan-2017 00:03:42 [World Community Grid] Smash Childhood Cancer needs 100.00MB more disk space. You currently have 0.00 MB available and it needs 100.00 MB.
30-Jan-2017 00:03:42 [World Community Grid] FightAIDS@Home - Vina needs 100.00MB more disk space. You currently have 0.00 MB available and it needs 100.00 MB.

noderaser
 
BAM!ID: 13859
Joined: 2006-12-03
Posts: 835
Credits: 254,540,737
World-rank: 5,627

2017-01-30 03:53:26

BOINC goes with the newest set of preferences, if there was a change made at WCG more recently than at BAM, BOINC will go with the preferences from WCG. You can fix that by updating them at BOINCstats.
AndCycle
 
BAM!ID: 34887
Joined: 2007-09-18
Posts: 7
Credits: 24,519,198
World-rank: 28,417

2017-01-30 20:00:51


noderaser wrote:

BOINC goes with the newest set of preferences, if there was a change made at WCG more recently than at BAM, BOINC will go with the preferences from WCG. You can fix that by updating them at BOINCstats.



thanks for the suggestion, I touched BOINC pref to make it the latest pref,
before this issue occur I haven't login my WCG account for years,
WCG just renewed their prefs.

Tuna Ertemalp
 
Tester
BAM!ID: 37744
Joined: 2007-10-31
Posts: 535
Credits: 20,799,048,922
World-rank: 233

2017-01-31 05:44:29
last modified: 2017-01-31 05:48:59

Unfortunately, that is not helping. This has been driving me crazy tonight... Without even seeing this thread, earlier tonight I noticed that the preferences dialog in BOINCMgr was showing a link to WCG as the source of the settings, I tried the usual stuff to set it back to BAM, I thought that fixed it, then it went back to WCG within the hour. Tried a few more times, the same. So, I started "debugging"...

I updated my BOINC Manager to the latest 7.6.33, I made sure that on WCG I set the DEFAULT profile to whatever means "use the defaults already on your machine" since there is no NONE (for whatever reason my DEFAULT there was set to CUSTOM with some custom settings), then I made sure to change some settings on BAM (so, BAM is now the latest), then I updated my BOINCMgr with BAM, made sure that the Options dialog showed both that it is using web prefs from BAM and that the right prefs were in the dialog, then started staring at the Events window to see what will happen. Without me ever touching anything, a few minutes later, BOINCMgr started using settings from WCG even though they are marked at an older time stamp!!!

Here are the relevant lines from the log, annotated:

. . . . (earlier I had set WCG to "use my machine defaults", therefore this...)
1/30/2017 9:10:14 PM | World Community Grid | General prefs: from World Community Grid (last modified 30-Jan-2017 19:43:28)
1/30/2017 9:10:14 PM | World Community Grid | Host location: none
1/30/2017 9:10:14 PM | World Community Grid | General prefs: using your defaults
. . . . (now, I updated TASK SWITCH value on BAM from 60min to 120min, then forced an update in my client to use BAM)
1/30/2017 9:14:02 PM | | General prefs: from http://bam.boincstats.com/ (last modified 30-Jan-2017 21:13:37)
. . . . (right after this, I checked, and the value was 120 and the WebPrefs source was set to BAM properly; then I started simply watching the Events windows)
1/30/2017 9:20:23 PM | World Community Grid | General prefs: from World Community Grid (last modified 30-Jan-2017 19:43:28)
1/30/2017 9:20:23 PM | World Community Grid | Host location: none
1/30/2017 9:20:23 PM | World Community Grid | General prefs: using your defaults
. . . . (what??? Nobody changed anything, as the time stamp shows, yet BOINC started using prefs from WCG. And, even though it claims to use "your default", everything is now reset to some strange default, like my 120 is now 30, along with most other settings I know I have differently on BAM. And, the Prefs dialog shows the WCG URL as the source.)

This is crazy! And, this is not specific to this one machine. It is certainly happening on 4 of my 10 machines; I have not looked at the other 6, yet. Frustrated.

Thoughts? Whom to blame? BOINCMgr? WCG? Some stale file on the clients that need to be deleted? Disconnect/Reconnect WCG? Disconnect from all, uninstall BOINC, purge all local BOINC data, reinstall everything from scratch?

Tuna

AndCycle
 
BAM!ID: 34887
Joined: 2007-09-18
Posts: 7
Credits: 24,519,198
World-rank: 28,417

2017-02-01 05:16:14

here is my log about the overwriting, and I do observe that global_prefs.xml been taking over,
BAM and WCG just take turn overwriting by their own prefs,

I think this need be taken to BOINC issue list.

Code:

01-Feb-2017 08:31:54 [World Community Grid] Computation for task MCM1_0130019_3555_1 finished
01-Feb-2017 08:31:54 [World Community Grid] Starting task MCM1_0130025_1109_0
01-Feb-2017 08:31:56 [World Community Grid] Started upload of MCM1_0130019_3555_1_r295879939_0
01-Feb-2017 08:32:03 [World Community Grid] Finished upload of MCM1_0130019_3555_1_r295879939_0
01-Feb-2017 08:48:10 [---] Contacting account manager at https://bam.boincstats.com/
01-Feb-2017 08:48:14 [---] Account manager: BAM! User: 34887, AndCycle
01-Feb-2017 08:48:14 [---] Account manager: BAM! Host: 531829
01-Feb-2017 08:48:14 [---] Account manager: Number of BAM! connections for this host: 20485
01-Feb-2017 08:48:14 [---] Account manager contact succeeded
01-Feb-2017 08:48:14 [---] General prefs: from http://bam.boincstats.com/ (last modified 30-Jan-2017 05:07:35)
01-Feb-2017 08:48:14 [---] Host location: none
01-Feb-2017 08:48:14 [---] General prefs: using your defaults
01-Feb-2017 08:48:14 [---] Preferences:
01-Feb-2017 08:48:14 [---] max memory usage when active: 19115.83MB
01-Feb-2017 08:48:14 [---] max memory usage when idle: 28673.74MB
01-Feb-2017 08:48:14 [---] max disk usage: 100.00GB
01-Feb-2017 08:48:14 [---] suspend work if non-BOINC CPU load exceeds 50%
01-Feb-2017 08:48:14 [---] (to change preferences, visit a project web site or select Preferences in the Manager)
01-Feb-2017 08:48:17 [rosetta@home] Sending scheduler request: To report completed tasks.
01-Feb-2017 08:48:17 [rosetta@home] Reporting 2 completed tasks
01-Feb-2017 08:48:17 [rosetta@home] Not requesting tasks: don't need
01-Feb-2017 08:48:20 [rosetta@home] Scheduler request completed
01-Feb-2017 08:48:20 [World Community Grid] General prefs: from World Community Grid (last modified 29-Jan-2017 23:46:07)
01-Feb-2017 08:48:20 [World Community Grid] Host location: none
01-Feb-2017 08:48:20 [World Community Grid] General prefs: using your defaults
01-Feb-2017 08:48:20 [---] Preferences:
01-Feb-2017 08:48:20 [---] max memory usage when active: 15929.86MB
01-Feb-2017 08:48:20 [---] max memory usage when idle: 23894.79MB
01-Feb-2017 08:48:20 [---] max disk usage: 4.00GB
01-Feb-2017 08:48:20 [---] don't use GPU while active
01-Feb-2017 08:48:20 [---] suspend work if non-BOINC CPU load exceeds 50%
01-Feb-2017 08:48:20 [---] (to change preferences, visit a project web site or select Preferences in the Manager)
01-Feb-2017 09:04:47 [World Community Grid] Computation for task MCM1_0130019_3295_0 finished
01-Feb-2017 09:04:47 [World Community Grid] Starting task MCM1_0130025_0848_1
01-Feb-2017 09:04:49 [World Community Grid] Started upload of MCM1_0130019_3295_0_r250803067_0
01-Feb-2017 09:04:56 [World Community Grid] Finished upload of MCM1_0130019_3295_0_r250803067_0
01-Feb-2017 09:16:06 [World Community Grid] Sending scheduler request: To report completed tasks.
01-Feb-2017 09:16:06 [World Community Grid] Reporting 3 completed tasks
01-Feb-2017 09:16:06 [World Community Grid] Not requesting tasks: don't need

AndCycle
 
BAM!ID: 34887
Joined: 2007-09-18
Posts: 7
Credits: 24,519,198
World-rank: 28,417

2017-02-01 05:38:22

I just read the code about global prefs,

https://github.com/BOINC/boinc/blob/d0b3a79a2c87aa00b33b767457c46e051af2b727/client/cs_scheduler.cpp#L681

if scheduler reply any global prefs, it just use it without any further checking, definitely a bug.

AndCycle
 
BAM!ID: 34887
Joined: 2007-09-18
Posts: 7
Credits: 24,519,198
World-rank: 28,417

2017-02-01 06:37:15

Tuna Ertemalp wrote:

Thoughts? Whom to blame? BOINCMgr? WCG? Some stale file on the clients that need to be deleted? Disconnect/Reconnect WCG? Disconnect from all, uninstall BOINC, purge all local BOINC data, reinstall everything from scratch?

Tuna


I have located the problem on BOINC code, and I don't think they will make a release for one-line fix in anytime soon,
here is a tip,

once your client get the setting from BAM,
copy global_prefs.xml to global_prefs_override.xml and keep it in same directory,

you can use text editor to open the the XML file to make sure it's what you want.

BOINC client take global_prefs_override.xml as higher priority as it is used to override the value locally.

Tuna Ertemalp
 
Tester
BAM!ID: 37744
Joined: 2007-10-31
Posts: 535
Credits: 20,799,048,922
World-rank: 233

2017-02-01 07:14:58

Thanks for all the detailed code debugging! I assume you reported it to BOINC folk.

Last night I couldn't wait any longer, and basically manually set all my hosts to the same set of local settings, which is probably the same as creating an override XML. So, effectively, my hosts are not using BAM settings, anymore. But, by extension, also none of the settings coming from any projects like WCG. Since I don't change my settings frequently, this will work for me. When/if BOINC is fixed, I'll revert them all to use BAM settings.

Tuna
Yavanius
BAM!ID: 180363
Joined: 2015-01-26
Posts: 295
Credits: 24,379,115
World-rank: 28,535

2017-06-06 04:02:15

The whole config and prefs things has always been confusing to me too. The whole thing should be made more intuitive or perhaps in its own set of options where you can check what you want.

Supposedly if use global settings that's suppose to overwrite your local prefs, but in the past when I tested, I found when I told BOINC to read the local that wasn't the case.

It's been a whiles, but I believe it's been discussed on the BOINC testing list before. One of many things and limited folks to take care of...
Pages: [1]

Index :: BOINC :: World Community Grid keeps override BOINC prefs
Reason: