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: 11
Posts: 11   Pages: 2   [ 1 2 | Next Page ]
[ Jump to Last Post ]
Post new Thread
Author
Previous Thread This topic has been viewed 1276 times and has 10 replies Next Thread
Larry
Cruncher
Joined: Nov 16, 2004
Post Count: 9
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
corrupted modtime in global preferences

Hello,
my machine is swamped with cpu use and has the following line in
global_prefs.xml
<mod_time>115499354020mod_time>
I stop boinc and manually edit the file and change it to
<mod_time>115499354020</mod_time>
After restart, the cpu is back to normal ( restrict to only 1 of 2 cpu's).

However! after a couple of hours the .xml file has a new date/time stamp and the poorly formed <mod_time>15...20mod_time> is back again. The missing </ tag appears to make the rest of the configuration to be ignored.

How do I find and correct the source file that is being downloaded and that is overwritting the local global_prefs.xml file?
using boinc 5.10.45 x86_64-pc-linux-gnu on Fedora 9 on several machines and all have the same problem.

Larry
[Aug 4, 2008 4:39:33 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: corrupted modtime in global preferences

hmmm, editing global_pref.xml is a bad idea as it is a file that is controlled from the website device profile and contains the information from there. Wanna change something, make the change on the website.

That time stamp

<mod_time>115499354020</mod_time>

is the one you last made change to the website device profile (venue in BOINC speak) and is shown in the start up message log of BOINC as a human readable date, which is X seconds after 1.1.1970 at 00:00:00 (which is = 0)?

Question for me is why you consider it a poorly formed date? Mine is presently <mod_time>1217349111</mod_time> btw (38 years after 1970). Sometime this or last week i made the ultimate change. Your value translates like the 3662 years after 1970. That in it self means nothing, but if its your system clock you wont be getting a second of work from any project.

Next time, if you want to edit preferences from locally, do it in the global_prefs_override.xml
----------------------------------------
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 Aug 4, 2008 9:27:46 AM]
[Aug 4, 2008 9:23:31 AM]   Link   Report threatening or abusive post: please login first  Go to top 
JmBoullier
Former Community Advisor
Normandy - France
Joined: Jan 26, 2007
Post Count: 3716
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Re: corrupted modtime in global preferences

Sek, it is not the date itself which is wrong, it is the end tag which is corrupted/invalid. See:
<mod_time>115499354020mod_time>

Now, how has it been made such? I leave it to the techs... smile

Cheers. Jean.
----------------------------------------
Team--> Decrypthon -->Statistics/Join -->Thread
[Aug 4, 2008 11:02:59 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: corrupted modtime in global preferences

ah,

substracting the 2 extra digits, 20 which has some significance, you get 1154993540 is 36.6 years after 1.1.1970.... how odd.

stop client

delete global_prefs.xml

Start client. Not sure if it recreates the file and look in content of the global_prefs.

hit update to fetch a fresh set of parms.

look in file. If malformed again it needs expert attention.
----------------------------------------
WCG Global & Research > Make Proposal Help: Start Here!
Please help to make the Forums an enjoyable experience for All!
[Aug 4, 2008 11:09:49 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: corrupted modtime in global preferences

Sek, it is not the date itself which is wrong, it is the end tag which is corrupted/invalid. See:
<mod_time>115499354020mod_time>

Now, how has it been made such? I leave it to the techs... smile

Cheers. Jean.


Dumbo moment for me, but the number is 2 digits too large, thus manually editing it with 2 too many probably perpetuated the issue most likely.

(maybe i should put more explicitness in the implicit content of my posts ;>)
----------------------------------------
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 Aug 4, 2008 11:23:56 AM]
[Aug 4, 2008 11:22:20 AM]   Link   Report threatening or abusive post: please login first  Go to top 
Larry
Cruncher
Joined: Nov 16, 2004
Post Count: 9
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Re: corrupted modtime in global preferences

I appreciate the review of my situation by Sekerob and JmBoullier, but I guess I didn't communicate the problem clearly. I'll try again.

1) I manually edited global_prefs.xml and restarted boinc to prove that correcting that file to include the ending tag </mod_time> would make my machines behave correctly.

2) Please consider that even if I correct ed the mod_time tag-pair manually, some process is restoring the incorrect xml record by rewriting the global_pref.xml file.

3) I have deleted all of my boinc profiles (work/home) except (default) using my account at the worldcommunitygrid.org web site.

4) because the end tag </mod_time> is missing after some process overwrites this file, I believe the remaining XML configuration statements are being ignored.

5) my request for help is this:
a) There must be a process that is rewriting global_prefs.xml from some source file not on my computer.
b) how do I change the source data of that process so that it will write a correctly formmated global_prefs.xml file ( which I do not normally change manually).
[Aug 4, 2008 7:08:26 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: corrupted modtime in global preferences

Larry, global_prefs.xml is sent from the last project you altered your preferences at. If you are only contributing to WCG, then it must be WCG.

You are stopping BOINC before editing the file?

The global preferences are copied from the scheduler response. You can check the response in sched_reply_www.worldcommunitygrid.org.xml - is it corrupted here, or only in global_prefs.xml?
[Aug 4, 2008 7:13:29 PM]   Link   Report threatening or abusive post: please login first  Go to top 
Larry
Cruncher
Joined: Nov 16, 2004
Post Count: 9
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Re: corrupted modtime in global preferences

Hello Didactylos,
yes your analysis is correct, the error is also in the file
sched_reply_www.worldcommunitygrid.org.xml
<mod_time>115499352020mod_time>

Now, could I beg you for a suggestion as how to remove this error from
sched_reply_www.worldcommunitygrid.org.xml
and fix it for all of my machines participating in the Boinc projects?
They are running at 100%cpu on all cores all the time and some are getting
hot on these summer days in Cincinnati.
[Aug 4, 2008 7:43:02 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: corrupted modtime in global preferences

First, stop BOINC. Then delete global_prefs.xml (this will prevent the corrupt value from interfering with downloading new preferences).

Next, go to your device manager page and make a trivial change to one of the custom preferences. Save your change.

Now, restart BOINC. Watch the messages to make sure it got the new preferences. If you are unsure, post the messages here.

If the problem persists, the next step will be to involve the techs.

Good luck!
[Aug 4, 2008 8:28:45 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: corrupted modtime in global preferences

I don't know how the corrupted mod_time got there, but it was also preventing the BOINC server code from replacing the corrupt value when new prefs were received from the client.

I have manually corrected the issue in the BOINC database and in website database. Please repeat the process Did explains and then do an update and the problem should be resolved.

Please note, that if the client contacts our servers before you take this manual step, the values in the database may get over written again. I'm going to take a look at that code and see if I can make sure it ignores the corrupt global prefs from the client.

thanks,
Kevin
[Aug 5, 2008 1:43:23 PM]   Link   Report threatening or abusive post: please login first  Go to top 
Posts: 11   Pages: 2   [ 1 2 | Next Page ]
[ Jump to Last Post ]
Post new Thread