Message boards : Questions and problems : Editing Client_State and Vista
Message board moderation
Author | Message |
---|---|
![]() ![]() Send message Joined: 4 Jul 08 Posts: 82 ![]() |
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 |
Send message Joined: 5 Oct 06 Posts: 5149 ![]() |
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 |
![]() ![]() Send message Joined: 4 Jul 08 Posts: 82 ![]() |
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 |
Send message Joined: 19 Jan 07 Posts: 1179 ![]() |
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. |
Copyright © 2025 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.