Editing Client_State and Vista

Message boards : Questions and problems : Editing Client_State and Vista
Message board moderation

To post messages, you must log in.

AuthorMessage
Profile ritterm
Avatar

Send message
Joined: 4 Jul 08
Posts: 82
United States
Message 21740 - Posted: 11 Dec 2008, 20:30:14 UTC

Hi All,

I have a Dell C2Q running Windows Vista and BOINC 6.2.19. I'm trying to edit the client_state file to change the DCF for a particular project (it's *way* too high and coming down very, very slowly), but can't seem to get the edit to take.

With the BOINC manager shutdown and logged in with admin privileges, I use a text editor and modify, save (or so I thought), and close the file. I don't get any messages of any kind -- error, contention, or otherwise. However, when I re-open the file, I find that it still has the "old" DCF value. I didn't have a problem doing this on a Win XP Pro host also running 6.2.19.

I'm new to Vista and realize that this might really be an OS-specific issue, but I'm hoping that it's BOINC related enough to make it fair to post here. :-)

Thanks for your thoughts and ideas.

MarkR
ID: 21740 · Report as offensive
Richard Haselgrove
Volunteer tester
Help desk expert

Send message
Joined: 5 Oct 06
Posts: 5082
United Kingdom
Message 21742 - Posted: 11 Dec 2008, 21:39:51 UTC - in response to Message 21740.  

If you took the default BOINC v6.2.19 installation settings, it will be running "as a service": the actual BOINC client won't shut down when you close BOINC Manager (you can check with Task Manager).

Try using 'Shut down connected client' (Advanced view, Advanced menu) before closing BOINC Manager - then see if your edit takes.

If I need to make a change like that (running BOINC v5.10.13 installed as a service under Vista Business), I shut down BOINC using the Services Control Panel and have no problem editing client_state.xml
ID: 21742 · Report as offensive
Profile ritterm
Avatar

Send message
Joined: 4 Jul 08
Posts: 82
United States
Message 21749 - Posted: 12 Dec 2008, 2:17:27 UTC - in response to Message 21742.  

Right on, Richard.

If you took the default BOINC v6.2.19 installation settings, it will be running "as a service": the actual BOINC client won't shut down when you close BOINC Manager (you can check with Task Manager).

I thought that might have had something to do with it, but I wasn't sure. After I shut down the manger I didn't see any project apps running in Task Manager. That was a Vista newb error on my part -- I didn't have the "Show processes from all users" box checked. Even so, I thought that I wouldn't have been able to access or attempt to save the client_state file if the BOINC client was running. (Another misunderstanding of Vista or BOINC?)

Try using 'Shut down connected client' (Advanced view, Advanced menu) before closing BOINC Manager - then see if your edit takes.

Once I shut down the connected client I was able to edit the file.

Thanks for the input, Richard. :-)

MarkR

ID: 21749 · Report as offensive
Nicolas

Send message
Joined: 19 Jan 07
Posts: 1179
Argentina
Message 21786 - Posted: 13 Dec 2008, 23:53:18 UTC - in response to Message 21749.  

Even so, I thought that I wouldn't have been able to access or attempt to save the client_state file if the BOINC client was running.

The client doesn't keep client_state.xml constantly open and locked. Every minute (or more frequently), it writes its in-memory data into client_state_next.xml, then moves it into client_state.xml, overwriting whatever was there.

ID: 21786 · Report as offensive

Message boards : Questions and problems : Editing Client_State and Vista

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.