Hibernate requires manager to be restarted on resume.

Message boards : Questions and problems : Hibernate requires manager to be restarted on resume.
Message board moderation

To post messages, you must log in.

AuthorMessage
Profile Dave
Help desk expert

Send message
Joined: 28 Jun 10
Posts: 2515
United Kingdom
Message 105720 - Posted: 12 Oct 2021, 7:32:24 UTC

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.
ID: 105720 · Report as offensive
Profile Joseph Stateson
Volunteer tester
Avatar

Send message
Joined: 27 Jun 08
Posts: 641
United States
Message 105772 - Posted: 16 Oct 2021, 15:52:22 UTC - in response to Message 105720.  
Last modified: 16 Oct 2021, 15:53:11 UTC

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
ID: 105772 · Report as offensive
Profile Dave
Help desk expert

Send message
Joined: 28 Jun 10
Posts: 2515
United Kingdom
Message 105777 - Posted: 16 Oct 2021, 18:28:07 UTC - in response to Message 105772.  

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.
ID: 105777 · Report as offensive
Profile Dave
Help desk expert

Send message
Joined: 28 Jun 10
Posts: 2515
United Kingdom
Message 105783 - Posted: 17 Oct 2021, 7:48:44 UTC - in response to Message 105777.  

Been looking at the logs, the client isn't closed down when I hibernate, just the manager.
ID: 105783 · Report as offensive

Message boards : Questions and problems : Hibernate requires manager to be restarted on resume.

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.