Index  | Recent Threads  | Unanswered Threads  | Who's Active  | Guidelines  | Search
 

Quick Go ยป
No member browsing this thread
Thread Status: Active
Total posts in this thread: 5
[ Jump to Last Post ]
Post new Thread
Author
Previous Thread This topic has been viewed 931 times and has 4 replies Next Thread
david@madjbright.co.uk
Cruncher
United Kingdom
Joined: Jan 10, 2006
Post Count: 35
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
[Resolved] Network time restrictions not working on all systems

I have got close to my monthly broadband download limit this month, partly due to the Clean Energy Project - Phase 2, and therefore I decided to restrict network usage on my default profile to the unlimited usage period between 00:00 and 08:00.

I updated the default Device profile and then used the Clear button under Advanced > Preferences to reset the preferences to those settings in the on-line device profile. In all 3 cases the preferences on the local systems changes as expected and in 2 out of 3 cases at 08:00 this morning the message "Suspending network activity - time of day" was displayed.

However, on the third system this message did not display and nothing that I have done on the local preferences has persuaded the system to show that it has suspended network usage. All 3 systems are using 6.10.58 and all 3 re set to the Default profile. The time on all r systems is correct. Any suggestions why this might be and how I can get the third system to suspend network usage?
----------------------------------------
David
----------------------------------------
[Edit 2 times, last edit by GB010528 at Dec 17, 2010 5:16:21 PM]
[Dec 17, 2010 8:43:14 AM]   Link   Report threatening or abusive post: please login first  Go to top 
Sekerob
Ace Cruncher
Joined: Jul 24, 2005
Post Count: 20043
Status: Offline
Reply to this Post  Reply with Quote 
Re: Network time restrictions not working on all systems

The Activity Menu option "Network Activity Based on Preferences" is of course selected, so in the dark. If your webprefs are in effect, seek out the Global_Prefs.xml file in the BOINC data dir and copy the Default section or whatever applicable profile part in a next post. Then we can pour over the settings.

ttyl

edit: Of course if you set the new budget MB per period, "Transfer at most XX MBytes every YY Days", you would not have to set a time, rather the client would stop transmitting when the periodic limit has been used up for whatever interval you choose.
----------------------------------------
WCG Global & Research > Make Proposal Help: Start Here!
Please help to make the Forums an enjoyable experience for All!
----------------------------------------
[Edit 1 times, last edit by Sekerob at Dec 17, 2010 11:50:55 AM]
[Dec 17, 2010 11:46:34 AM]   Link   Report threatening or abusive post: please login first  Go to top 
david@madjbright.co.uk
Cruncher
United Kingdom
Joined: Jan 10, 2006
Post Count: 35
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Re: Network time restrictions not working on all systems

Here is the global_prefs.xml. It was updated this morning. I assume that the rows that matter are those highlighted which look correct and are the same as those on the systems that are working. There are other computers using some of the other profiles but I am not concerned about those.

Could I un-install the Boinc manager from the failing system and re-install without losing the work in progress? This system has many versions of the client while both of the others are less than 1 year old.

<global_preferences>
<source_project>http://www.worldcommunitygrid.org/</source_project>
<source_scheduler>https://grid.worldcommunitygrid.org/boinc/wcg_cgi/fcgi</source_scheduler>
<mod_time>1292581326</mod_time>
<cpu_scheduling_period_minutes>120</cpu_scheduling_period_minutes>
<disk_interval>60.0</disk_interval>
<disk_max_used_gb>4.0</disk_max_used_gb>
<disk_max_used_pct>80.0</disk_max_used_pct>
<disk_min_free_gb>0.5</disk_min_free_gb>
<idle_time_to_run>3.0</idle_time_to_run>
<max_bytes_sec_down>0.0</max_bytes_sec_down>
<max_bytes_sec_up>0.0</max_bytes_sec_up>
<max_cpus>16</max_cpus>
<run_if_user_active/>
<cpu_usage_limit>100.0</cpu_usage_limit>
<ram_max_used_busy_pct>50.0</ram_max_used_busy_pct>
<ram_max_used_idle_pct>75.0</ram_max_used_idle_pct>
<work_buf_min_days>1.0</work_buf_min_days>
<end_hour>0</end_hour>
<net_end_hour>7</net_end_hour>
<net_start_hour>1</net_start_hour>
<run_on_batteries/>
<start_hour>0</start_hour>
<vm_max_used_pct>50.0</vm_max_used_pct>
<work_buf_additional_days>2.0</work_buf_additional_days>
<suspend_if_no_recent_input>0.0</suspend_if_no_recent_input>
<max_ncpus_pct>100.0</max_ncpus_pct>
<daily_xfer_period_days>0</daily_xfer_period_days>
<daily_xfer_limit_mb>0.0</daily_xfer_limit_mb>
<suspend_cpu_usage>80.0</suspend_cpu_usage>
<leave_apps_in_memory/>
<venue name="home">
<cpu_scheduling_period_minutes>120</cpu_scheduling_period_minutes>
<disk_interval>60.0</disk_interval>
<disk_max_used_gb>4.0</disk_max_used_gb>
<disk_max_used_pct>80.0</disk_max_used_pct>
<disk_min_free_gb>0.5</disk_min_free_gb>
<end_hour>0</end_hour>
<idle_time_to_run>3.0</idle_time_to_run>
<max_bytes_sec_down>0.0</max_bytes_sec_down>
<max_bytes_sec_up>0.0</max_bytes_sec_up>
<max_cpus>16</max_cpus>
<net_end_hour>0</net_end_hour>
<net_start_hour>0</net_start_hour>
<run_if_user_active/>
<run_on_batteries/>
<start_hour>0</start_hour>
<cpu_usage_limit>100.0</cpu_usage_limit>
<ram_max_used_busy_pct>75.0</ram_max_used_busy_pct>
<ram_max_used_idle_pct>75.0</ram_max_used_idle_pct>
<work_buf_min_days>2.0</work_buf_min_days>
<vm_max_used_pct>75.0</vm_max_used_pct>
<work_buf_additional_days>5.0</work_buf_additional_days>
<suspend_if_no_recent_input>0.0</suspend_if_no_recent_input>
<max_ncpus_pct>100.0</max_ncpus_pct>
</venue>
<venue name="school">
<cpu_scheduling_period_minutes>120</cpu_scheduling_period_minutes>
<disk_interval>60.0</disk_interval>
<disk_max_used_gb>4.0</disk_max_used_gb>
<disk_max_used_pct>80.0</disk_max_used_pct>
<disk_min_free_gb>0.5</disk_min_free_gb>
<end_hour>0</end_hour>
<idle_time_to_run>3.0</idle_time_to_run>
<max_bytes_sec_down>0.0</max_bytes_sec_down>
<max_bytes_sec_up>0.0</max_bytes_sec_up>
<max_cpus>16</max_cpus>
<net_end_hour>0</net_end_hour>
<net_start_hour>0</net_start_hour>
<run_if_user_active/>
<run_on_batteries/>
<start_hour>0</start_hour>
<cpu_usage_limit>100.0</cpu_usage_limit>
<ram_max_used_busy_pct>75.0</ram_max_used_busy_pct>
<ram_max_used_idle_pct>75.0</ram_max_used_idle_pct>
<work_buf_min_days>0.5</work_buf_min_days>
<vm_max_used_pct>75.0</vm_max_used_pct>
<work_buf_additional_days>0.0</work_buf_additional_days>
<suspend_if_no_recent_input>0.0</suspend_if_no_recent_input>
</venue>
<venue name="work">
<cpu_scheduling_period_minutes>120</cpu_scheduling_period_minutes>
<disk_interval>60.0</disk_interval>
<disk_max_used_gb>4.0</disk_max_used_gb>
<disk_max_used_pct>80.0</disk_max_used_pct>
<disk_min_free_gb>0.2</disk_min_free_gb>
<end_hour>0</end_hour>
<idle_time_to_run>0.0</idle_time_to_run>
<max_bytes_sec_down>0.0</max_bytes_sec_down>
<max_bytes_sec_up>0.0</max_bytes_sec_up>
<max_cpus>16</max_cpus>
<net_end_hour>0</net_end_hour>
<net_start_hour>0</net_start_hour>
<run_if_user_active/>
<run_on_batteries/>
<start_hour>0</start_hour>
<cpu_usage_limit>100.0</cpu_usage_limit>
<ram_max_used_busy_pct>75.0</ram_max_used_busy_pct>
<ram_max_used_idle_pct>75.0</ram_max_used_idle_pct>
<work_buf_min_days>2.0</work_buf_min_days>
<vm_max_used_pct>75.0</vm_max_used_pct>
<work_buf_additional_days>5.0</work_buf_additional_days>
<suspend_if_no_recent_input>0.0</suspend_if_no_recent_input>
<max_ncpus_pct>100.0</max_ncpus_pct>
</venue>
</global_preferences>
----------------------------------------
David
[Dec 17, 2010 1:23:18 PM]   Link   Report threatening or abusive post: please login first  Go to top 
Sekerob
Ace Cruncher
Joined: Jul 24, 2005
Post Count: 20043
Status: Offline
Reply to this Post  Reply with Quote 
Re: Network time restrictions not working on all systems

Well, sorry to test your patience, but see nothing OOO. Was looking for the file that stores the Network Activity Based on Preferences flag and found it in the client_state.xml (handle with extreme care). At the bottom is a flag and if set to 2 it indicates the client should be networking per your settings.

<user_network_request>2</user_network_request>

1 is always, 3 is off/suspended.

Net Start at 1 and Net end at 7 I enter in my own client and get these values with 6 decimals:

<net_start_hour>1.000000</net_start_hour>
<net_end_hour>7.000000</net_end_hour>

When I flip flop the network activity option my log shows:

17/12/2010 15:12:12 | | Suspending network activity - time of day

and

17/12/2010 15:13:08 | | Resuming network activity

And the 65000 dollar question: Is there a global_prefs_override.xml ? If so, delete it and once more confirm that the clear button was operated in the preferences screen.

Do not expect for a reinstall to do anything... but desperate times require desparate measures.

--//--
----------------------------------------
WCG Global & Research > Make Proposal Help: Start Here!
Please help to make the Forums an enjoyable experience for All!
[Dec 17, 2010 2:16:12 PM]   Link   Report threatening or abusive post: please login first  Go to top 
david@madjbright.co.uk
Cruncher
United Kingdom
Joined: Jan 10, 2006
Post Count: 35
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Re: Network time restrictions not working on all systems

You are not testing my patience as you are trying to help. Thanks for that.

The answer was that in the client_state.xml (handle with extreme care) I had:

<user_network_request>1</user_network_request>

I stopped the client, opened the file, changed the value to 2, saved the file and then restarted. The client then gave me the "Suspending network activity - time of day" message.

So all solved by the looks of it. As long as I can survive on my remaining bandwidth allowance until Christmas day I will have a higher allowance and I can switch back to uploading on completion.

Thank you.
----------------------------------------
David
[Dec 17, 2010 2:46:11 PM]   Link   Report threatening or abusive post: please login first  Go to top 
[ Jump to Last Post ]
Post new Thread