Message boards : BOINC client : Wish : Maintenance mode for the client
Message board moderation
Author | Message |
---|---|
![]() Send message Joined: 27 Jun 06 Posts: 305 ![]() |
Currently we need a shell or a monitor attached to the host if we want to do changes like update the core client, modify, add or delete app_info.xml or global_prefs_override.xml. What about this : If BOINC detects a file "suspend.req" in the BOINC directory, it stops all project clients, spawns a little program that - renames "suspend.req" to "suspend.ack" - waits until "suspend.ack" disappears - restarts BOINC. Then BOINC exits and gives us the chance to do all maintenance that needs to be done just with file access (FTP, LAN), no need for a shell or a monitor on that remote box. When the maintenance is done, we delete the file "suspend.ack", the little program doesn't see the file anymore, spawns the BOINC client and then exits. _____________________ Another advantage of this mimik would be that it would easily be possible to pause BOINC from any other task that requires that BOINC does not run, like backups or programs that need all CPU and RAM for themselves. I know that this whole thing can be done easily with a Unix script by finding the BOINC PID, killing it and restarting it later but for Windows there is not such a simple solution. ��u� |
Send message Joined: 9 Sep 05 Posts: 128 ![]() |
Currently we need a shell or a monitor attached to the host if we want to do changes like update the core client, modify, add or delete app_info.xml or global_prefs_override.xml. I agree that the functionality you described would be nice to have. The functionality you described as a nice side effect is already available: by using boinc_cmd you can suspend and resume BOINC eaisly even in Windows. Metod ... ![]() |
![]() Send message Joined: 27 Jun 06 Posts: 305 ![]() |
Suspending BOINC with boinc_cmd will not free all ressources (open files, RAM) so it is not exactly the same. |
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.