Questions and Answers : Windows : host's credit not displayed
Message board moderation

To post messages, you must log in.

AuthorMessage
Profile pschoefer

Send message
Joined: 14 Jul 05
Posts: 21
Credit: 3,486,046
RAC: 0
Message 15884 - Posted: 24 Dec 2006, 11:35:20 UTC

hello,

i have two hosts computing, but only one of them has credit in BOINC-manager statistics. the other displayes 0.00 credit in manager statistics, but has 164.22 according to host stats on LHC.
Why isn't it displayed in the manager host?
ID: 15884 · Report as offensive     Reply Quote
PovAddict
Avatar

Send message
Joined: 14 Jul 05
Posts: 275
Credit: 49,291
RAC: 0
Message 15894 - Posted: 24 Dec 2006, 20:58:15 UTC

There is a problem on LHC server, a new host entry is generated each time you contact server. Problem discussed here and here (there are probably other threads asking the same question, didn't look for all of them).

There is a solution explained on the forum.
ID: 15894 · Report as offensive     Reply Quote
Profile pschoefer

Send message
Joined: 14 Jul 05
Posts: 21
Credit: 3,486,046
RAC: 0
Message 15898 - Posted: 25 Dec 2006, 7:34:37 UTC - in response to Message 15894.  

There is a problem on LHC server, a new host entry is generated each time you contact server. Problem discussed here and here (there are probably other threads asking the same question, didn't look for all of them).

There is a solution explained on the forum.


This is not the problem. I've already fixed the bug, and get no new host entry. But it still doesn't work, host's total credit isn't displayed in BoincManager. The most crazy thing is, that host's recent credit is displayed
ID: 15898 · Report as offensive     Reply Quote
PovAddict
Avatar

Send message
Joined: 14 Jul 05
Posts: 275
Credit: 49,291
RAC: 0
Message 15905 - Posted: 25 Dec 2006, 18:15:58 UTC

I thought it could be that your current host ID had 0 credit, while your real credit was split among your hundred hosts. Seems not... Open the file "sched_reply_lhcathome.cern.ch.xml" on your BOINC directory and see if it has "<host_total_credit>" tag there. Also check if all tags are on separate lines.
ID: 15905 · Report as offensive     Reply Quote
Profile pschoefer

Send message
Joined: 14 Jul 05
Posts: 21
Credit: 3,486,046
RAC: 0
Message 15907 - Posted: 25 Dec 2006, 19:34:25 UTC - in response to Message 15905.  

Open the file "sched_reply_lhcathome.cern.ch.xml" on your BOINC directory and see if it has "<host_total_credit>" tag there. Also check if all tags are on separate lines.


Checked it, everything correct, but it doesn't work. Host total credit is right there, but it's neither displayed in BoincManager nor in "statistics_lhcathome.cern.ch.xml" (there is the "<host_total_credit>" tag, but it has 0.000000 credit). As i said, <host_expavg_credit> is right, but <host_total_credit> doesn't seem to be sent to that host.
ID: 15907 · Report as offensive     Reply Quote
PovAddict
Avatar

Send message
Joined: 14 Jul 05
Posts: 275
Credit: 49,291
RAC: 0
Message 15908 - Posted: 25 Dec 2006, 19:38:06 UTC - in response to Message 15907.  

Open the file "sched_reply_lhcathome.cern.ch.xml" on your BOINC directory and see if it has "<host_total_credit>" tag there. Also check if all tags are on separate lines.


Checked it, everything correct, but it doesn't work. Host total credit is right there, but it's neither displayed in BoincManager nor in "statistics_lhcathome.cern.ch.xml" (there is the "<host_total_credit>" tag, but it has 0.000000 credit). As i said, <host_expavg_credit> is right, but <host_total_credit> doesn't seem to be sent to that host.

If there is actually <host_total_credit>0.000000</host_total_credit> in the scheduler reply, then it's some server problem, nothing you can solve from your end :(
ID: 15908 · Report as offensive     Reply Quote
PovAddict
Avatar

Send message
Joined: 14 Jul 05
Posts: 275
Credit: 49,291
RAC: 0
Message 15909 - Posted: 25 Dec 2006, 19:52:12 UTC - in response to Message 15908.  

Checked it, everything correct, but it doesn't work. Host total credit is right there, but it's neither displayed in BoincManager nor in "statistics_lhcathome.cern.ch.xml" (there is the "<host_total_credit>" tag, but it has 0.000000 credit). As i said, <host_expavg_credit> is right, but <host_total_credit> doesn't seem to be sent to that host.

If there is actually <host_total_credit>0.000000</host_total_credit> in the scheduler reply, then it's some server problem, nothing you can solve from your end :(

In fact I think I misread that; the 0.000000 is on statistics file, and scheduler reply has the correct number? Please email me the sched_reply file to wnrxug@povaddict.com.ar
ID: 15909 · Report as offensive     Reply Quote
PovAddict
Avatar

Send message
Joined: 14 Jul 05
Posts: 275
Credit: 49,291
RAC: 0
Message 15912 - Posted: 25 Dec 2006, 21:46:14 UTC
Last modified: 25 Dec 2006, 21:46:42 UTC

I looked at the file you sent me, and I see nothing wrong. However, I attached to LHC, did the hostid fix, and forced another update, and my sched_reply file for LHC looks like this:

...
<cross_project_id>b4a2ca77d573adf51738e7b1d4955fa0</cross_project_id>
<project_preferences>
<resource_share>100</resource_share>
</project_preferences><host_total_credit>3353.010211</host_total_credit>
<host_expavg_credit>28.591454</host_expavg_credit>
<host_venue>home</host_venue>
...

Note how the closing tag for project_preferences is in the same line as host_total_credit. That's exactly the same problem causing the excessive host creation, when <hostid> is on the same line as </project_preferences>. It's strange it doesn't look like that on the file you sent me.

I have complained about BOINC using their own half-assed XML parser, which needs each tag on a different line, instead of something decent like libxml2; the answer I got wasn't too reasonable in my opinion. One of the main cool things of XML is that it's free-form, you can have extra whitespace almost anywhere and it should still work. BOINC XML parser doesn't follow that rule at all...
ID: 15912 · Report as offensive     Reply Quote

Questions and Answers : Windows : host's credit not displayed


©2024 CERN