Posts by jmiller8

1) Message boards : BOINC client : scheduler_state tag no longer in client_state.xml? (Message 12292)
Posted 4 Sep 2007 by jmiller8
Post:
It is better to use the RPCs to do this kind of thing. Reading the client_state.xml file can cause tasks to fail if you have it locked while BOINC is trying to write to it.



No need to lock it, as I'm just reading. Been running this code since about day 1 of boinc, without a problem.
2) Message boards : BOINC client : scheduler_state tag no longer in client_state.xml? (Message 12289)
Posted 4 Sep 2007 by jmiller8
Post:
Just upgraded to 5.10.20 of the CC, from 5.10.8.

I have a program which scans the client_state.xml file on a number of machines every 15 minutes, and gives a small snapshot of each machine (active project, current task % complete, queued WU).

It used the scheduler_state in the (active_task) section to determine which task was currently running:
(scheduler_state)2(/scheduler_state)
would indicate the running task.

As of 5.10.20, this tag no longer exists!

How is the "running task" in the (active_task_set) now indicated in client_state.xml?
3) Message boards : BOINC client : Boinc and Vista (Message 9404)
Posted 7 Apr 2007 by jmiller8
Post:
Copy the following text and paste it into the Notepad window, called WaitToKill.reg

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControl]
"WaitToKillServiceTimeout"="20000"


The 20000 is 20 seconds. Increase/decrease to your liking.
To add this to the registry double-click the file. The UAC will come up, press continue, press Yes on the next window and OK on the one there-after. You need to reboot to make the changes have effect.


Tried this using 40000 (40 sec) and after a few reboots, it seems to be working!

Thanks for the info!


As an update, I bumped the value to 60000 (60 secs) as CPDN was having problems...

Why oh why can't Vista just wait for the "I'm really done" response from apps.... (or prompt with the "wait or kill" dialog if it takes too long..)

I guess it's because Vista needs to "phone home" to MS as often as possible for updates..... :(

This reminds me of DOS 4.0...
4) Message boards : BOINC client : Boinc and Vista (Message 9286)
Posted 1 Apr 2007 by jmiller8
Post:
Copy the following text and paste it into the Notepad window, called WaitToKill.reg

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControl]
"WaitToKillServiceTimeout"="20000"


The 20000 is 20 seconds. Increase/decrease to your liking.
To add this to the registry double-click the file. The UAC will come up, press continue, press Yes on the next window and OK on the one there-after. You need to reboot to make the changes have effect.


Tried this using 40000 (40 sec) and after a few reboots, it seems to be working!

Thanks for the info!
5) Message boards : BOINC client : Boinc and Vista (Message 9272)
Posted 1 Apr 2007 by jmiller8
Post:
Try here.


You'll probably want to manually shut down BOINC. I've read that Vista shuts down really fast. You're right, it doesn't give BOINC enough time to shut down.



Short time work-around, but I'm wondering how this will be resolved.

Does Boinc need to shutdown faster, or does Vista need to wait longer when told to do so by an app? "I'm still shutting down - try again in a bit"

There will be folks like me that were (yes I will say it) FORCED to Vista.. All new boxes from the big names seem to be running Vista, and this problem probably will get worse. I've had more WU's error out in the last 3 days than I've had since I started running Boinc..
6) Message boards : BOINC client : Boinc and Vista (Message 9268)
Posted 1 Apr 2007 by jmiller8
Post:
I needed a notebook on short notice... And all that I could find had MS Vista.

Got one with a dual core Intel and Vista Home Premimum.

Installed Boinc (5.8.15)..

If I don't touch the notebook, all runs fine (I'm using a std install of boinc - with boincmgr). Projects are Einstein and CPDN..

If I do something as simple as a "restart".. most of the time the WU's in progress get trashed.. Sometimes everything in the queue!

It's like the proper WM_ messages arent send by the OS or not seen by boinc/einstein/CPDN apps, or boinc's not given the proper time to shut down cleanly...

Sorry if I didn't find this issue in the forum, but please point me to a link to the topic...

To be honest, Vista has a bunch of other problems - like it tells me I have no network when I do, and I'm spending my time sorting that out... But figured I should be able to crunch in the mean time!

Thank you all in advance, and once again.. sorry if I didn't read thru the whole forum, as I'm on a time crunch right now....




Copyright © 2024 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.