Message boards : Questions and problems : BOINC Client (Ubuntu) config problems when using account manager
Message board moderation
Author | Message |
---|---|
Send message Joined: 12 Nov 14 Posts: 8 ![]() |
Hi I have some problems with the configuration of my Boinc installation, which is running on my Odroid-U3 computer: Odroid U3 (http://www.hardkernel.com/main/products/prdt_info.php?g_code=G138745696275) 1.7GHz QuadCore ARM CPU (Exynos 4412 Prime) GPU: Mali 400M GPU 2 GB Ram Ubuntu Server 14.04 32bit (without GUI), Linux: 3.8.13.23 No GUI, I am using SSH/Putty to access the console. BOINC client version 7.2.42 I've installed the client according the Ubuntu-Installation guide(http://boinc.berkeley.edu/wiki/Installing_BOINC_on_Ubuntu "non-graphics installation") and got it running. Then I connected Boinc Bam! to my Odroid with the command boinccmd --join_acct_mgr http://bam.boincstats.com [myuser] [mypassword] This worked well and boinc downloaded the correct settings from Bam! and started to work on its first Einstein@Home task. The problem starts as soon as boinc finishes computing a task and connects to Einstein. I've noted that boinc client gets and uses the project settings from Einstein@Home (and stores it into /var/lib/boinc-client/global_prefs.xml) instead of the settings from Bam! I'm not very happy with that. How can I tell my client to use the config from Bam! and nothing else? Second question: is there a setting to influence how often the client connects to Bam!? Here's the "good" config from Bam! which I want to use (global_prefs.xml) <global_preferences> <host_specific/> <source_project>http://bam.boincstats.com/</source_project> <mod_time>1415659723</mod_time> <run_if_user_active>1</run_if_user_active> <run_gpu_if_user_active>1</run_gpu_if_user_active> <suspend_if_no_recent_input>0</suspend_if_no_recent_input> <cpu_scheduling_period_minutes>60</cpu_scheduling_period_minutes> <idle_time_to_run>3</idle_time_to_run> <work_buf_min_days>0</work_buf_min_days> <work_buf_additional_days>0</work_buf_additional_days> <max_cpus>2</max_cpus> <max_ncpus_pct>50</max_ncpus_pct> <suspend_cpu_usage>15</suspend_cpu_usage> <cpu_usage_limit>100</cpu_usage_limit> <disk_interval>30</disk_interval> <disk_max_used_gb>4</disk_max_used_gb> <disk_max_used_pct>50</disk_max_used_pct> <disk_min_free_gb>1.5</disk_min_free_gb> <vm_max_used_pct>75</vm_max_used_pct> <ram_max_used_busy_pct>40</ram_max_used_busy_pct> <ram_max_used_idle_pct>40</ram_max_used_idle_pct> <max_bytes_sec_down>0</max_bytes_sec_down> <max_bytes_sec_up>0</max_bytes_sec_up> <start_hour>19</start_hour> <end_hour>6</end_hour> <run_on_batteries/> <net_start_hour>0</net_start_hour> <net_end_hour>0</net_end_hour> </global_preferences> And here the "bad" config which appears automatically after the first upload to Einstein (global_prefs.xml) <global_preferences> <source_project>http://bam.boincstats.com/</source_project> <mod_time>1415659724</mod_time> <venue name="Home"> <ram_max_used_idle_pct>0</ram_max_used_idle_pct> <work_buf_min_days>0</work_buf_min_days> <cpu_usage_limit>100</cpu_usage_limit> <disk_min_free_gb>1.5</disk_min_free_gb> <end_hour>0</end_hour> <suspend_cpu_usage>0</suspend_cpu_usage> <disk_interval>60</disk_interval> <max_bytes_sec_up>0</max_bytes_sec_up> <max_bytes_sec_down>0</max_bytes_sec_down> <run_gpu_if_user_active>1</run_gpu_if_user_active> <ram_max_used_busy_pct>0</ram_max_used_busy_pct> <idle_time_to_run>3</idle_time_to_run> <start_hour>0</start_hour> <max_cpus>1</max_cpus> <disk_max_used_pct>50</disk_max_used_pct> <net_end_hour>0</net_end_hour> <net_start_hour>0</net_start_hour> <work_buf_additional_days>0</work_buf_additional_days> <cpu_scheduling_period_minutes>60</cpu_scheduling_period_minutes> <disk_max_used_gb>100.0</disk_max_used_gb> <hangup_if_dialed/> <suspend_if_no_recent_input>0</suspend_if_no_recent_input> <run_if_user_active>1</run_if_user_active> <max_ncpus_pct>100</max_ncpus_pct> <vm_max_used_pct>75</vm_max_used_pct> </venue> </global_preferences> Best wishes, Alex |
![]() Send message Joined: 29 Aug 05 Posts: 15640 ![]() |
Here's what I see: Both global_prefs.xml files show that BAM is the source project for the preferences, which would mean there's a problem with BAM its preferences being sent to the projects, or with how they're received by the projects. The global preferences are set in one location, these are read whenever your BOINC contacts the project, and sent to the other projects when BOINC contacts those, thus they propagate to all active projects you've got added to your BOINC. Seeing how the "bad config" has a newer mod time than the "good config" I can only assume it's a problem with BAM. bad: <mod_time>1415659724</mod_time> good: <mod_time>1415659723</mod_time> Seeing same examples at BAM forums, it would seem that this is some bug that's been long in the tooth at BAM. I'll ask the developers about if this is a BOINC problem, just to be safe. |
Send message Joined: 12 Nov 14 Posts: 8 ![]() |
Hi Thanks for the reply. I am not a specialist in boinc software specs but I'm quite interested in it. Should Bam write its settings direct to the project preferences? It looks like the boinc-client takes the computing preferences "home" from Einstein@Home which are completely different to the settings in Bam. Additionally, I can't find any settings called "home" in Bam. I think boinc-client gives to the project settings a higher priority than to account manager settings. For me there is no reason why it behaves like that and if this makes any sense. Probably a bug... I'll set some preferences in Einstein for now to get my boinc running. Cheers, Alex |
![]() Send message Joined: 29 Aug 05 Posts: 15640 ![]() |
Well, I think it's a good idea to post about this on the BAM forums as well, because there's not much activity happening on the email I sent about this problem. |
Send message Joined: 12 Nov 14 Posts: 8 ![]() |
Ok, thanks. I've posted my question there as well. http://boincstats.com/en/forum/7/9611 Best wishes, Alex |
Send message Joined: 12 Nov 14 Posts: 8 ![]() |
Hi I am looking into my problem again today because it changed the configuration again this night to a kind of default config. It happened at 22:34 last night: stdoutdae.txt 17-Nov-2014 21:01:02 [---] cc_config.xml not found - using defaults 17-Nov-2014 21:01:02 [---] Starting BOINC client version 7.2.42 for arm-unknown-linux-gnueabihf 17-Nov-2014 21:01:02 [---] log flags: file_xfer, sched_ops, task 17-Nov-2014 21:01:02 [---] Libraries: libcurl/7.35.0 OpenSSL/1.0.1f zlib/1.2.8 libidn/1.28 librtmp/2.3 17-Nov-2014 21:01:02 [---] Data directory: /var/lib/boinc-client 17-Nov-2014 21:01:02 [---] No usable GPUs found 17-Nov-2014 21:01:02 [---] Host name: odroid-server 17-Nov-2014 21:01:02 [---] Processor: 4 ARM 17-Nov-2014 21:01:02 [---] Processor features: swp half thumb fastmult vfp edsp thumbee neon vfpv3 tls 17-Nov-2014 21:01:02 [---] OS: Linux: 3.8.13.23 17-Nov-2014 21:01:02 [---] Memory: 1.98 GB physical, 0 bytes virtual 17-Nov-2014 21:01:02 [---] Disk: 3.00 GB total, 1.64 GB free 17-Nov-2014 21:01:02 [---] Local time is UTC +0 hours 17-Nov-2014 21:01:02 [---] Config: GUI RPCs allowed from: 17-Nov-2014 21:01:02 [Asteroids@home] URL http://asteroidsathome.net/boinc/; Computer ID 129566; resource share 100 17-Nov-2014 21:01:02 [Einstein@Home] URL http://einstein.phys.uwm.edu/; Computer ID 11684832; resource share 100 17-Nov-2014 21:01:02 [---] General prefs: from http://bam.boincstats.com/ (last modified 10-Nov-2014 22:48:43) 17-Nov-2014 21:01:02 [---] Host location: none 17-Nov-2014 21:01:02 [---] General prefs: using your defaults 17-Nov-2014 21:01:02 [---] Preferences: 17-Nov-2014 21:01:02 [---] max memory usage when active: 809.14MB 17-Nov-2014 21:01:02 [---] max memory usage when idle: 809.14MB 17-Nov-2014 21:01:02 [---] max disk usage: 0.15GB 17-Nov-2014 21:01:02 [---] max CPUs used: 2 17-Nov-2014 21:01:02 [---] suspend work if non-BOINC CPU load exceeds 15% 17-Nov-2014 21:01:02 [---] (to change preferences, visit a project web site or select Preferences in the Manager) 17-Nov-2014 21:01:02 [---] gui_rpc_auth.cfg is empty - no GUI RPC password protection 17-Nov-2014 21:01:02 [---] Not using a proxy 17-Nov-2014 21:01:02 Initialization completed 17-Nov-2014 21:33:50 [Einstein@Home] Computation for task p2030.20131128.G176.29-01.67.S.b1s0g0.00000_2278_0 finished 17-Nov-2014 21:33:52 [Einstein@Home] Started upload of p2030.20131128.G176.29-01.67.S.b1s0g0.00000_2278_0_0 17-Nov-2014 21:33:55 [Einstein@Home] Finished upload of p2030.20131128.G176.29-01.67.S.b1s0g0.00000_2278_0_0 17-Nov-2014 22:34:22 [Einstein@Home] Sending scheduler request: To report completed tasks. 17-Nov-2014 22:34:22 [Einstein@Home] Reporting 1 completed tasks 17-Nov-2014 22:34:22 [Einstein@Home] Not requesting tasks: don't need 17-Nov-2014 22:34:25 [Einstein@Home] Scheduler request completed 17-Nov-2014 22:34:25 [---] General prefs: from http://bam.boincstats.com/ (last modified 17-Nov-2014 13:17:40) 17-Nov-2014 22:34:25 [---] Host location: none 17-Nov-2014 22:34:25 [---] General prefs: using your defaults 17-Nov-2014 22:34:25 [---] Preferences: 17-Nov-2014 22:34:25 [---] max memory usage when active: 1011.43MB 17-Nov-2014 22:34:25 [---] max memory usage when idle: 1820.57MB 17-Nov-2014 22:34:25 [---] max disk usage: 1.55GB 17-Nov-2014 22:34:25 [---] Number of usable CPUs has changed from 2 to 4. 17-Nov-2014 22:34:25 [---] don't compute while active 17-Nov-2014 22:34:25 [---] don't use GPU while active 17-Nov-2014 22:34:25 [---] suspend work if non-BOINC CPU load exceeds 25% 17-Nov-2014 22:34:25 [---] (to change preferences, visit a project web site or select Preferences in the Manager) 17-Nov-2014 22:34:25 [---] Suspending computation - computer is in use 17-Nov-2014 22:34:25 [---] Suspending network activity - computer is in use The config from 21:01 is the correct config, which boinc-client gets from Bam! when I use boinccmd --join_acct_mgr http://bam.boincstats.com [myuser] [mypassword] At 22:34: the client connects to Einstein for uploading and reporting a task. Then, don't ask me why, the client puts a new (default-) config into global_prefs.xml which is not working for me ("don't compute while active"). I've looked into the folder /var/lib/boinc-client to see which files were changed at 22:34. Here's the list:
client_state.xml and client_state_prev.xml daily_xfer_history.xml global_prefs.xml sched_reply_einstein.phys.uwm.edu.xml sched_request_einstein.phys.uwm.edu.xml statistics_einstein.phys.uwm.edu.xml stdoutdae.txt time_stats_log
I searched all files for the current "bad" config and was not able to find anything except in global_prefs.xml. The config in sched_request_einstein.phys.uwm.edu.xml is a "good" one. I believe, the bad config comes from boinc-client itself. Important: there was no query/connection to Bam after 20:28 yesterday (according to the Bam hosts list), all files starting with "acct_mgr_*" in /var/lib/boinc-client were changed 20:28 last time. stderrdae.txt is empty. Any ideas? Best wishes, Alex |
![]() Send message Joined: 29 Aug 05 Posts: 15640 ![]() |
17-Nov-2014 21:01:02 [---] General prefs: from http://bam.boincstats.com/ (last modified 10-Nov-2014 22:48:43) That's the two I see happening, with the second one seemingly coming from the Einstein contact. Did you last change the preferences at BAM on the 17th of November at 13:17:40 hours (presumably UTC)? |
Send message Joined: 12 Nov 14 Posts: 8 ![]() |
Hi, thanks for helping me! :-) Did you last change the preferences at BAM on the 17th of November at 13:17:40 hours (presumably UTC)? Good question, I can't say for sure if there was a change then. I manage several computers with Bam and added recently some more, so I am optimizing settings in Bam quite often at the moment. I would say yes, there was a change of the preferences in Bam. Best wishes, Alex |
![]() Send message Joined: 29 Aug 05 Posts: 15640 ![]() |
Now, that BAM preference comes up after contact with Einstein, but I seem to be missing part of the log. Was there anything between: 17-Nov-2014 21:01:02 Initialization completed and 17-Nov-2014 21:33:50 [Einstein@Home] Computation for task p2030.20131128.G176.29-01.67.S.b1s0g0.00000_2278_0 finished ?? |
Send message Joined: 12 Nov 14 Posts: 8 ![]() |
No, there is not a single line between 21:01:02 and 21:33:50. It looks weird, you are right. There is no starting task entry. Here is the beginning of the log (everything before 21:01:02). 17-Nov-2014 20:42:54 [---] cc_config.xml not found - using defaults 17-Nov-2014 20:42:54 [---] Starting BOINC client version 7.2.42 for arm-unknown-linux-gnueabihf 17-Nov-2014 20:42:54 [---] log flags: file_xfer, sched_ops, task 17-Nov-2014 20:42:54 [---] Libraries: libcurl/7.35.0 OpenSSL/1.0.1f zlib/1.2.8 libidn/1.28 librtmp/2.3 17-Nov-2014 20:42:54 [---] Data directory: /var/lib/boinc-client 17-Nov-2014 20:42:54 [---] No usable GPUs found 17-Nov-2014 20:42:54 [---] Host name: odroid-server 17-Nov-2014 20:42:54 [---] Processor: 4 ARM 17-Nov-2014 20:42:54 [---] Processor features: swp half thumb fastmult vfp edsp thumbee neon vfpv3 tls 17-Nov-2014 20:42:54 [---] OS: Linux: 3.8.13.23 17-Nov-2014 20:42:54 [---] Memory: 1.98 GB physical, 0 bytes virtual 17-Nov-2014 20:42:54 [---] Disk: 3.00 GB total, 1.64 GB free 17-Nov-2014 20:42:54 [---] Local time is UTC +0 hours 17-Nov-2014 20:42:54 [---] Config: GUI RPCs allowed from: 17-Nov-2014 20:42:54 [Asteroids@home] URL http://asteroidsathome.net/boinc/; Computer ID 129566; resource share 100 17-Nov-2014 20:42:54 [Einstein@Home] URL http://einstein.phys.uwm.edu/; Computer ID 11684832; resource share 100 17-Nov-2014 20:42:54 [---] General prefs: from http://bam.boincstats.com/ (last modified 10-Nov-2014 22:48:43) 17-Nov-2014 20:42:54 [---] Host location: none 17-Nov-2014 20:42:54 [---] General prefs: using your defaults 17-Nov-2014 20:42:54 [---] Preferences: 17-Nov-2014 20:42:54 [---] max memory usage when active: 809.14MB 17-Nov-2014 20:42:54 [---] max memory usage when idle: 809.14MB 17-Nov-2014 20:42:54 [---] max disk usage: 0.15GB 17-Nov-2014 20:42:54 [---] max CPUs used: 2 17-Nov-2014 20:42:54 [---] suspend work if non-BOINC CPU load exceeds 15% 17-Nov-2014 20:42:54 [---] (to change preferences, visit a project web site or select Preferences in the Manager) 17-Nov-2014 20:42:54 [---] gui_rpc_auth.cfg is empty - no GUI RPC password protection 17-Nov-2014 20:42:54 [---] Not using a proxy 17-Nov-2014 20:42:55 Initialization completed 17-Nov-2014 20:42:55 [Asteroids@home] Starting task ps_141110_10129_26_0 17-Nov-2014 20:56:57 [---] Received signal 15 17-Nov-2014 20:56:58 [---] Exit requested by user The log starts at 20:42:54 when I started the boinc-client service after I deleted the preceeding log. I thought I should delete it to keep it simple and to get a good example. Maybe a mistake, I'm sorry. Would it be an idea to detach the boinc-client from the account manager and to attach Einstein directly to the client for testing? The issue should be gone if Bam causes the problem. If not, we have a problem with boinc-client or Einstein. Another thing I could test: what about detaching Einstein with Bam from the client and try to use Asteroids@Home as a single project to see if the problem comes again? Any other ideas? Re-Install everything? Install a developper version? Delete all files in /var/lib/boinc-client when the service is not running and start it afterwards? Best wishes, Alex |
![]() Send message Joined: 29 Aug 05 Posts: 15640 ![]() |
The log starts at 20:42:54 when I started the boinc-client service after I deleted the preceeding log. I thought I should delete it to keep it simple and to get a good example. Maybe a mistake, I'm sorry.Nah, that's okay. Would it be an idea to detach the boinc-client from the account manager and to attach Einstein directly to the client for testing? The issue should be gone if Bam causes the problem. If not, we have a problem with boinc-client or Einstein.That's a good idea. For tests sake. Another thing I could test: what about detaching Einstein with Bam from the client and try to use Asteroids@Home as a single project to see if the problem comes again?Also a good idea. See? I don't have to do anything here. :) Any other ideas? Re-Install everything? Install a developper version? Delete all files in /var/lib/boinc-client when the service is not running and start it afterwards?No, no don't see what that would fix, no don't see what that would fix either, and well perhaps on the latter. After you made a backup of everything there, I hope. |
![]() Send message Joined: 8 Mar 07 Posts: 115 ![]() |
Hi, I don't disagree with the above discussions - but would like to ask if adding a project with "add project" instead of "account Manager" would avoid the problem? Respectfully, Jay |
![]() Send message Joined: 29 Aug 05 Posts: 15640 ![]() |
It probably would, but then that will fix it for one computer only. The account manager is there to easily add multiple projects to multiple computers, instead of having to manually add each project on each computer. And even while --for testing-- adding the project manually is a good thing, in the end we'd all want this to be fixed, if possible. |
Send message Joined: 12 Nov 14 Posts: 8 ![]() |
Hi, this Linux client drives me mad... I've tried to remove the account manager from the client by boinccmd --quit_acct_mgr and found a log entry in stdoutdae.txt for this: 21-Nov-2014 01:46:01 [---] Removing account manager info Today I looked again to see how it runs and found the client still connecting to Bam every day and downloading prefs from there. Example: 21-Nov-2014 18:07:38 [---] Contacting account manager at http://bam.boincstats.com/ 21-Nov-2014 18:07:41 [---] Account manager: BAM! User: [removed] 21-Nov-2014 18:07:41 [---] Account manager: BAM! Host: [removed] 21-Nov-2014 18:07:41 [---] Account manager: Number of BAM! connections for this host: 31 21-Nov-2014 18:07:41 [---] Account manager contact succeeded 21-Nov-2014 18:07:41 [---] General prefs: from http://bam.boincstats.com/ (last modified 10-Nov-2014 22:48:43) 21-Nov-2014 18:07:41 [---] Host location: none 21-Nov-2014 18:07:41 [---] General prefs: using your defaults 21-Nov-2014 18:07:41 [---] Preferences: 21-Nov-2014 18:07:41 [---] max memory usage when active: 809.14MB 21-Nov-2014 18:07:41 [---] max memory usage when idle: 809.14MB 21-Nov-2014 18:07:41 [---] max disk usage: 0.13GB 21-Nov-2014 18:07:41 [---] Number of usable CPUs has changed from 3 to 2. 21-Nov-2014 18:07:41 [---] max CPUs used: 2 21-Nov-2014 18:07:41 [---] suspend work if non-BOINC CPU load exceeds 15% 21-Nov-2014 18:07:41 [---] (to change preferences, visit a project web site or select Preferences in the Manager) Some hours later, it connects to Einstein and gets also preferences from there: 21-Nov-2014 21:38:53 [Einstein@Home] Sending scheduler request: To report completed tasks. 21-Nov-2014 21:38:53 [Einstein@Home] Reporting 2 completed tasks 21-Nov-2014 21:38:53 [Einstein@Home] Not requesting tasks: don't need 21-Nov-2014 21:38:57 [Einstein@Home] Scheduler request completed 21-Nov-2014 21:38:57 [Einstein@Home] General prefs: from Einstein@Home (last modified 21-Nov-2014 15:57:32) 21-Nov-2014 21:38:57 [Einstein@Home] Host location: none 21-Nov-2014 21:38:57 [Einstein@Home] General prefs: using your defaults 21-Nov-2014 21:38:57 [---] Preferences: 21-Nov-2014 21:38:57 [---] max memory usage when active: 1011.43MB 21-Nov-2014 21:38:57 [---] max memory usage when idle: 1820.57MB 21-Nov-2014 21:38:57 [---] max disk usage: 0.13GB 21-Nov-2014 21:38:57 [---] Number of usable CPUs has changed from 2 to 3. 21-Nov-2014 21:38:57 [---] max CPUs used: 3 21-Nov-2014 21:38:57 [---] don't use GPU while active 21-Nov-2014 21:38:57 [---] suspend work if non-BOINC CPU load exceeds 25% 21-Nov-2014 21:38:57 [---] (to change preferences, visit a project web site or select Preferences in the Manager) To distinguish the prefs: Einstein may use max 3 CPUs, Bam 2 CPUs. How can I disconnect the account manager from the client? Is --quit_acct_mgr not the correct command? Best wishes, Alex |
Send message Joined: 12 Nov 14 Posts: 8 ![]() |
I've found this thread in the BoincStats Forum and posted my problem there as well: http://boincstats.com/en/forum/18/9222 Best wishes, Alex |
Copyright © 2025 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.