Message boards : Questions and problems : Hibernate requires manager to be restarted on resume.
Message board moderation
Author | Message |
---|---|
Send message Joined: 28 Jun 10 Posts: 2740 |
With the big hike in electricity prices I have started hibernating my Ubuntu box with BOINC 7.19.4 (compiled from Master about four weeks ago) On resume top shows me that tasks are still running but I need to re-start the manager. If I use the sleep to suspend to RAM rather than suspending to disk the manager is still running on resume. Asking out of curiosity rather than seeing it as a significant problem. The Ryzen7 box I am experiencing this with has 32GB of RAM and 64GB Swap partition to allow for when I up the RAM. |
Send message Joined: 27 Jun 08 Posts: 641 |
How are you hibernating? Did you assign "closing the lid" to hibernate instead of suspend? I am guessing that the both apps treat a "hibernate" as shutdown. When starting back up the client app runs because it is a service but the manager is not. Looking at "ap_control.cpp" I see the following case switch (got_signal) { case SIGHUP: case SIGINT: case SIGQUIT: case SIGKILL: case SIGTERM: case SIGSTOP -- "handle_exited_app" -- Looks like the app just exits no matter what. When Boinc restarts it just attempts to pick up where it left off. IANE, just taking a guess as there is not much else to do since SETI closed down. my 2c |
Send message Joined: 28 Jun 10 Posts: 2740 |
Thanks, you are probably right. I am hibernating by using the shutdown dialogue. It is a desktop machine so no lid to close. Had to enable the hibernate function by following instructions to edit /etc/polkit-1/localauthority/50-local.d/com.ubuntu.enable-hibernate.pkla first. I shall have to do some searching to see if there is a way for hibernate to be treated by BOINC the same way it treats suspend though it is academic for the next three weeks as I have some tasks from CPDN testing site and I don't like to risk them by shutting down unless specifically asked to test how they behave when shut down. |
Send message Joined: 28 Jun 10 Posts: 2740 |
Been looking at the logs, the client isn't closed down when I hibernate, just the manager. |
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.