Judging by the absence of the line "Hibernation is possible, Active" in the log when this problem occurs, I think that the execution of systemd- sleep does not reach line 256 in sleep-config.c <https://github.com/systemd/systemd/blob/da4128543ffc5042dc9f6b6f1d22ec72b77b17b3/src/shared /sleep-config.c#L256> which is part of a function named enough_memory_for_hibernation and is indirectly called by line 208 in sleep.c <https://github.com/systemd/systemd/blob/master/src/sleep/sleep.c#L208>.
I will set the SYSTEMD_BYPASS_HIBERNATION_MEMORY_CHECK environment variable to true as this seems to shortcut this function. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1652499 Title: Cannot hibernate properly ; systemd-sleep hangs To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1652499/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs