[SOLVED] Proxmox Backup Server instantly waking itself up on sleep

Sandbo

Well-Known Member
Jul 4, 2019
85
10
48
34
I am trying to config my new Proxmox Backup Server (2.4-1) such that it can be put to sleep when not being used, and only wake up over the midnight to perform backups.

While I tried to put it to sleep using systemctl suspend, while it does goes to sleep for maybe a few seconds, it instantly wake itself up again.
I tried to disable wake-on-lan using ethtool and set the wol flag to d:
ethtool -s enp1s0 wol d

However, it still wakes up instantly. What may I be missing?
The only connection to the PBS NAS is only power cable and the LAN cord. I could try unplugging the LAN cord right after a suspend command later just in case.
 
Last edited:
Found the reason:

Mentioned here:
https://www.reddit.com/r/archlinux/comments/y7b97e/my_computer_wakes_up_immediately_after_i_suspend/

Some motherboard or chipset seems to keep waking the computer, a not so clean solution is simply disable them.
In my case, I found more than one device doing that, so I disabled everything except my network interface by checking

root@csbs:~# cat /proc/acpi/wakeup | grep enabled RP01 S3 *enabled pci:0000:00:1c.0 PXSX S3 *enabled pci:0000:01:00.0 RP02 S3 *enabled pci:0000:00:1c.1 PXSX S3 *enabled pci:0000:02:00.0 XHCI S3 *enabled pci:0000:00:14.0 AWAC S3 *enabled platform:ACPI000E:00

Now the computer (and me) can sleep well finally.