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: 30
Posts: 30   Pages: 3   [ 1 2 3 | Next Page ]
[ Jump to Last Post ]
Post new Thread
Author
Previous Thread This topic has been viewed 24165 times and has 29 replies Next Thread
Former Member
Cruncher
Joined: May 22, 2018
Post Count: 0
Status: Offline
Reply to this Post  Reply with Quote 
shock Malformed global_prefs.xml

Hi,

The global_prefs.xml generated by WCG is malformed.

The offending tag is <venue>
there is no closing </venue>

This causes problems for users of BAM!

Kindly look into this and fix it promptly.

Thank you.

Temporary workaround:
Delete global_prefs.xml & manually perform BAM! sync.

Info:
Windows 7 x64, BOINC 7.0.27
[May 18, 2012 8:10:28 PM]   Link   Report threatening or abusive post: please login first  Go to top 
Former Member
Cruncher
Joined: May 22, 2018
Post Count: 0
Status: Offline
Reply to this Post  Reply with Quote 
Re: Malformed global_prefs.xml

Loving these lines:

"Kindly look into this and fix it promptly."

So happens I run this 7.0.27 TEST client, now superseded by 7.0.28 TEST client. My global_prefs.xml contains a matching </venue> for each <venue...>. Here's a copy of the "work" venue also known as "location":
<venue name="home">
<cpu_scheduling_period_minutes>300</cpu_scheduling_period_minutes>
<disk_interval>120.0</disk_interval>
<disk_max_used_gb>100.0</disk_max_used_gb>
<disk_max_used_pct>50.0</disk_max_used_pct>
<disk_min_free_gb>0.0010</disk_min_free_gb>
<end_hour>0</end_hour>
<idle_time_to_run>3.0</idle_time_to_run>
<leave_apps_in_memory/>
<max_bytes_sec_down>0.0</max_bytes_sec_down>
<max_bytes_sec_up>0.0</max_bytes_sec_up>
<daily_xfer_period_days>0</daily_xfer_period_days>
<daily_xfer_limit_mb>0.0</daily_xfer_limit_mb>
<max_cpus>16</max_cpus>
<max_ncpus_pct>100.0</max_ncpus_pct>
<suspend_cpu_usage>0.0</suspend_cpu_usage>
<net_end_hour>2</net_end_hour>
<net_start_hour>1</net_start_hour>
<start_hour>0</start_hour>
<cpu_usage_limit>100.0</cpu_usage_limit>
<ram_max_used_busy_pct>80.0</ram_max_used_busy_pct>
<ram_max_used_idle_pct>95.0</ram_max_used_idle_pct>
<vm_max_used_pct>75.0</vm_max_used_pct>
<work_buf_min_days>0.0</work_buf_min_days>
<work_buf_additional_days>0.0</work_buf_additional_days>
<suspend_if_no_recent_input>0.0</suspend_if_no_recent_input>
<run_if_user_active/>
</venue>


At least, the opening venue tag does not seem to be <venue> as you can see. Notably, WCG is one of the first sites to convert to server version 700 to match the 7.x client capabilities and code features. Till here, don't know who's to "fix it promptly" ;>)

--//--

edit: P.S. WCG as of now has not fully allowed BAM to access and amend WCG device profiles [AFAIK]. Not heard when that will happen.
----------------------------------------
[Edit 1 times, last edit by Former Member at May 18, 2012 8:40:04 PM]
[May 18, 2012 8:37:25 PM]   Link   Report threatening or abusive post: please login first  Go to top 
knreed
Former World Community Grid Tech
Joined: Nov 8, 2004
Post Count: 4504
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Re: Malformed global_prefs.xml

I created a new user account, deleted venues, added venues and I have not been able to recreate a global prefs that does not have a closing tag for the venue. Can you please recreate the issue and then provide the steps you took to create the issue?
[May 18, 2012 8:55:13 PM]   Link   Report threatening or abusive post: please login first  Go to top 
Former Member
Cruncher
Joined: May 22, 2018
Post Count: 0
Status: Offline
Reply to this Post  Reply with Quote 
Re: Malformed global_prefs.xml

Hello terencewee,
Here is my complete global_prefs.xml if this helps. I started my investigation before you had any answers but . . . as always, i am terribly slow.

<?xml version="1.0"?>
-<global_preferences>
<source_project>http://www.worldcommunitygrid.org/</source_project> <source_scheduler>https://grid.worldcommunitygrid.org/boinc/wcg_cgi/fcgi</source_scheduler>
<mod_time>1335621687</mod_time> <cpu_scheduling_period_minutes>60</cpu_scheduling_period_minutes> <disk_interval>60.0</disk_interval>
<disk_max_used_gb>1.0</disk_max_used_gb>
<disk_max_used_pct>75.0</disk_max_used_pct>
<disk_min_free_gb>0.1</disk_min_free_gb>
<idle_time_to_run>3</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>4</max_cpus>
<run_if_user_active/>
<vm_max_used_pct>75.0</vm_max_used_pct>
<work_buf_min_days>0.1</work_buf_min_days>
-<venue name="home">
<cpu_scheduling_period_minutes>60</cpu_scheduling_period_minutes> <disk_interval>60.0</disk_interval>
<disk_max_used_gb>10.0</disk_max_used_gb>
<disk_max_used_pct>75.0</disk_max_used_pct>
<disk_min_free_gb>0.1</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>4</max_cpus>
<net_end_hour>0</net_end_hour>
<net_start_hour>0</net_start_hour>
<run_if_user_active/>
<start_hour>0</start_hour>
<vm_max_used_pct>75.0</vm_max_used_pct>
<work_buf_min_days>0.1</work_buf_min_days>
<cpu_usage_limit>100.0</cpu_usage_limit> <ram_max_used_busy_pct>90.0</ram_max_used_busy_pct> <ram_max_used_idle_pct>90.0</ram_max_used_idle_pct>
<leave_apps_in_memory/>
<max_ncpus_pct>100.0</max_ncpus_pct> <work_buf_additional_days>0.0</work_buf_additional_days> <suspend_if_no_recent_input>0.0</suspend_if_no_recent_input> <daily_xfer_period_days>0</daily_xfer_period_days> <daily_xfer_limit_mb>0.0</daily_xfer_limit_mb>
<suspend_cpu_usage>0.0</suspend_cpu_usage>
</venue>
</global_preferences>
[May 18, 2012 9:03:36 PM]   Link   Report threatening or abusive post: please login first  Go to top 
sk..
Master Cruncher
http://s17.rimg.info/ccb5d62bd3e856cc0d1df9b0ee2f7f6a.gif
Joined: Mar 22, 2007
Post Count: 2324
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Re: Malformed global_prefs.xml

!
----------------------------------------
[Edit 1 times, last edit by skgiven at Jul 18, 2012 9:00:34 PM]
[May 19, 2012 1:07:35 AM]   Link   Report threatening or abusive post: please login first  Go to top 
Former Member
Cruncher
Joined: May 22, 2018
Post Count: 0
Status: Offline
Reply to this Post  Reply with Quote 
Re: Malformed global_prefs.xml

@SekeRob: I think it's best to be respectful when asking for help or highlighting a problem. Techies can be a bit territorial and I wouldn't know whether it's actually a "feature". biggrin

The tag is <venue name="school">

My fault, I shortened it to <venue>.
[May 19, 2012 5:26:55 AM]   Link   Report threatening or abusive post: please login first  Go to top 
Former Member
Cruncher
Joined: May 22, 2018
Post Count: 0
Status: Offline
Reply to this Post  Reply with Quote 
Re: Malformed global_prefs.xml

The missing </venue> happens intermittently.


Whenever I see this message sent by BAM, </venue> is missing.

05/18/12 20:03:38 | BOINCstatsBAM! | Message from account manager: Opening and ending tag mismatch: global_preferences line 154 and venue. Opening and ending tag mismatch: working_global_preferences line 153 and global_preferences. Opening and ending tag mismatch: acct_mgr_request line 2 and working_global_preferences. Extra content at the end of the document.


It won't go away until I delete global_prefs.xml


It'll work/sync until BOINC decide to fetch a new copy of global_prefs.xml from WCG. No </venue>

05/19/12 13:00:29 | World Community Grid | General prefs: from World Community Grid (last modified 17-May-2012 23:13:36)

<global_preferences>
<source_project>http://www.worldcommunitygrid.org/</source_project>
<source_scheduler>https://grid.worldcommunitygrid.org/boinc/wcg_cgi/fcgi</source_scheduler>

<mod_time>1337267616</mod_time>
<cpu_scheduling_period_minutes>360</cpu_scheduling_period_minutes>
<disk_interval>180.0</disk_interval>
<disk_max_used_gb>20.0</disk_max_used_gb>
<disk_max_used_pct>50.0</disk_max_used_pct>
<disk_min_free_gb>20.0</disk_min_free_gb>
<end_hour>0</end_hour>
<idle_time_to_run>0.0</idle_time_to_run>
<leave_apps_in_memory/>
<max_bytes_sec_down>0.0</max_bytes_sec_down>
<max_bytes_sec_up>0.0</max_bytes_sec_up>
<daily_xfer_period_days>0</daily_xfer_period_days>
<daily_xfer_limit_mb>0.0</daily_xfer_limit_mb>
<max_cpus>16</max_cpus>
<max_ncpus_pct>100.0</max_ncpus_pct>
<suspend_cpu_usage>0.0</suspend_cpu_usage>
<net_end_hour>0</net_end_hour>
<net_start_hour>0</net_start_hour>
<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>
<vm_max_used_pct>50.0</vm_max_used_pct>
<work_buf_min_days>0.0</work_buf_min_days>
<work_buf_additional_days>2.0</work_buf_additional_days>
<suspend_if_no_recent_input>0.0</suspend_if_no_recent_input>
<run_on_batteries/>
<run_if_user_active/>
<venue name="school">
<cpu_scheduling_period_minutes>360</cpu_scheduling_period_minutes>
<disk_interval>180.0</disk_interval>
<disk_max_used_gb>20.0</disk_max_used_gb>
<disk_max_used_pct>50.0</disk_max_used_pct>
<disk_min_free_gb>20.0</disk_min_free_gb>
<end_hour>0</end_hour>
<leave_apps_in_memory/>
<max_bytes_sec_down>0.0</max_bytes_sec_down>
<max_bytes_sec_up>0.0</max_bytes_sec_up>
<daily_xfer_period_days>0</daily_xfer_period_days>
<daily_xfer_limit_mb>0.0</daily_xfer_limit_mb>
<max_cpus>16</max_cpus>
<max_ncpus_pct>100.0</max_ncpus_pct>
<suspend_cpu_usage>0.0</suspend_cpu_usage>
<net_end_hour>0</net_end_hour>
<net_start_hour>0</net_start_hour>
<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>
<vm_max_used_pct>50.0</vm_max_used_pct>
<work_buf_min_days>0.0</work_buf_min_days>
<work_buf_additional_days>2.0</work_buf_additional_days>
<suspend_if_no_recent_input>0.0</suspend_if_no_recent_input>
<idle_time_to_run>0.0</idle_time_to_run>
<run_on_batteries/>
<run_if_user_active/>
</global_preferences>



I performed a manual BAM-sync and global_prefs.xml is now:

<global_preferences>

<host_specific/>
<source_project>http://bam.boincstats.com/</source_project>
<mod_time>1337253000</mod_time>
<run_if_user_active>1</run_if_user_active>
<run_gpu_if_user_active/>
<suspend_if_no_recent_input>0</suspend_if_no_recent_input>
<cpu_scheduling_period_minutes>600</cpu_scheduling_period_minutes>
<idle_time_to_run>0</idle_time_to_run>
<leave_apps_in_memory/>
<work_buf_min_days>0</work_buf_min_days>
<work_buf_additional_days>3</work_buf_additional_days>
<max_cpus>16</max_cpus>
<max_ncpus_pct>100</max_ncpus_pct>
<suspend_cpu_usage>0</suspend_cpu_usage>
<cpu_usage_limit>0</cpu_usage_limit>
<disk_interval>180</disk_interval>
<disk_max_used_gb>20</disk_max_used_gb>
<disk_max_used_pct>30</disk_max_used_pct>
<disk_min_free_gb>20</disk_min_free_gb>
<vm_max_used_pct>25</vm_max_used_pct>
<ram_max_used_busy_pct>75</ram_max_used_busy_pct>
<ram_max_used_idle_pct>90</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>0</start_hour>
<end_hour>0</end_hour>
<run_on_batteries/>
<net_start_hour>0</net_start_hour>
<net_end_hour>0</net_end_hour>
</global_preferences>



Update WCG, </venue> is present.

05/19/12 13:11:40 | World Community Grid | General prefs: from World Community Grid (last modified 17-May-2012 23:13:36)

Here's the new global_prefs.xml, with </venue>

<global_preferences>
<source_project>http://www.worldcommunitygrid.org/</source_project>
<source_scheduler>https://grid.worldcommunitygrid.org/boinc/wcg_cgi/fcgi</source_scheduler>

<mod_time>1337267616</mod_time>
<cpu_scheduling_period_minutes>360</cpu_scheduling_period_minutes>
<disk_interval>180.0</disk_interval>
<disk_max_used_gb>20.0</disk_max_used_gb>
<disk_max_used_pct>50.0</disk_max_used_pct>
<disk_min_free_gb>20.0</disk_min_free_gb>
<end_hour>0</end_hour>
<idle_time_to_run>0.0</idle_time_to_run>
<leave_apps_in_memory/>
<max_bytes_sec_down>0.0</max_bytes_sec_down>
<max_bytes_sec_up>0.0</max_bytes_sec_up>
<daily_xfer_period_days>0</daily_xfer_period_days>
<daily_xfer_limit_mb>0.0</daily_xfer_limit_mb>
<max_cpus>16</max_cpus>
<max_ncpus_pct>100.0</max_ncpus_pct>
<suspend_cpu_usage>0.0</suspend_cpu_usage>
<net_end_hour>0</net_end_hour>
<net_start_hour>0</net_start_hour>
<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>
<vm_max_used_pct>50.0</vm_max_used_pct>
<work_buf_min_days>0.0</work_buf_min_days>
<work_buf_additional_days>2.0</work_buf_additional_days>
<suspend_if_no_recent_input>0.0</suspend_if_no_recent_input>
<run_on_batteries/>
<run_if_user_active/>
<venue name="school">
<cpu_scheduling_period_minutes>360</cpu_scheduling_period_minutes>
<disk_interval>180.0</disk_interval>
<disk_max_used_gb>20.0</disk_max_used_gb>
<disk_max_used_pct>50.0</disk_max_used_pct>
<disk_min_free_gb>20.0</disk_min_free_gb>
<end_hour>0</end_hour>
<leave_apps_in_memory/>
<max_bytes_sec_down>0.0</max_bytes_sec_down>
<max_bytes_sec_up>0.0</max_bytes_sec_up>
<daily_xfer_period_days>0</daily_xfer_period_days>
<daily_xfer_limit_mb>0.0</daily_xfer_limit_mb>
<max_cpus>16</max_cpus>
<max_ncpus_pct>100.0</max_ncpus_pct>
<suspend_cpu_usage>0.0</suspend_cpu_usage>
<net_end_hour>0</net_end_hour>
<net_start_hour>0</net_start_hour>
<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>
<vm_max_used_pct>50.0</vm_max_used_pct>
<work_buf_min_days>0.0</work_buf_min_days>
<work_buf_additional_days>2.0</work_buf_additional_days>
<suspend_if_no_recent_input>0.0</suspend_if_no_recent_input>
<idle_time_to_run>0.0</idle_time_to_run>
<run_on_batteries/>
<run_if_user_active/>
</venue>
</global_preferences>



I'll be upgrading to 7.0.28 and will report back if I see the same problem.
[May 19, 2012 5:32:34 AM]   Link   Report threatening or abusive post: please login first  Go to top 
Former Member
Cruncher
Joined: May 22, 2018
Post Count: 0
Status: Offline
Reply to this Post  Reply with Quote 
Re: Malformed global_prefs.xml

At least 2 more persons are encountering the same problem.

Here's the thread over at BOINCstats.
[May 19, 2012 5:47:03 AM]   Link   Report threatening or abusive post: please login first  Go to top 
Former Member
Cruncher
Joined: May 22, 2018
Post Count: 0
Status: Offline
Reply to this Post  Reply with Quote 
Re: Malformed global_prefs.xml

Update: 2012-05-20

Upgraded BOINC to 7.0.28 - the latest global_prefs.xml is still missing the closing </venue>.

Willy took the initiative and modified some BAM code to work around this problem - BAM is working even though </venue> is missing.

Can something else be done to track down this bug?

Thanks.
[May 20, 2012 3:46:41 PM]   Link   Report threatening or abusive post: please login first  Go to top 
Former Member
Cruncher
Joined: May 22, 2018
Post Count: 0
Status: Offline
Reply to this Post  Reply with Quote 
Re: Malformed global_prefs.xml

Did you post the step-by-step to produce this missing </venue> state? You say intermittent, so is it only when WCG is not attached and the BAM sync attaches WCG to the host?

What is, that WCG is FAIK not fully BAM enabled. It [BAM] cannot write fully to the WCG device profile. When doing a synch at the host with BAM, not hitting "update" button which connects to the projects, where does the host pull the venue information from? From WCG or from BAM? I think latter. The question then is, if you select WCG in the projects tab and hit ''update'', does the global_prefs.xml get fixed with the closing tag?

Tried all the possible scenarios I could think of with now 7.0.28, but can't reproduce a single condition that drops even one </venue>. If Willy coded around, then that will be the like state it will remain in until a specific step series can reproduce this.

--//--

edit: To check, is WCG box ticked over at BAM to attach WCG by default?... this page: http://boincstats.com/en/bam/projects/ in the "Attach new host by default". There are conditions, where when WCG is already attached to a host, and BAM is added as AMS to a host, BAM will detach and reattach WCG. Ticking the "default" attach WCG prevents this. Unrelated maybe, but this is what you could see too with WCG.
----------------------------------------
[Edit 1 times, last edit by Former Member at May 20, 2012 5:34:01 PM]
[May 20, 2012 5:28:05 PM]   Link   Report threatening or abusive post: please login first  Go to top 
Posts: 30   Pages: 3   [ 1 2 3 | Next Page ]
[ Jump to Last Post ]
Post new Thread