Proxmox shuts down unexpectedly - Is it going to sleep/hibernate?

Wouter Samaey

Well-Known Member
May 28, 2018
73
12
48
39
I'm running into an issue where Proxmox shuts down unexpectedly. I noticed this a few times when my server would not remain online and just goes down after some time after boot.

I had an SSH connection open at the time and the message "The system will suspend now" appeared just before. Looks like the machine decides to shut down on its own.

Some context:
- I have installed Gnome on the machine so it behalves more like a workstation. Maybe it's entering sleep?
- I recently had to swap out my BIOS battery and did a "restore optimal settings" in the BIOS as all previous settings had been lost due to the battery swap.

Maybe it enabled sleep / hibernation by mistake?

The shutdown appears to be happening every time now, so I can't keep the server live longer than 10 mins.
I'm probably onto something, but have no idea how to best address the issue. Which setting should I look for in the (Supermicro) BIOS?
Or should I change some Linux / GNOME config?


Online I found 1 suggestion, but I'm not sure if this would be the recommened way (as I didn't need to do this before):

Create /etc/systemd/sleep.conf.d/nosuspend.conf with contents

[Sleep]
AllowSuspend=no
AllowHibernation=no
AllowSuspendThenHibernate=no
AllowHybridSleep=no



Thanks in advance.
 
Last edited:
Maybe it's entering sleep?
I believe that is probably what's happening.

Proxmox, inherently being a HV, will not (by itself) suspend or hibernate its own OS automagically!
The only 2 scenarios that I imagine being different, is firstly if one installs Proxmox on a Laptop, where closing the lid/screen may be considered like pressing a power button, & secondly as in your case, installing Proxmox more like a Desktop PC with a GUI.
In your case, I would look around carefully in the Gnome desktop for all power/sleep settings.

One other possibility that may be worth looking at - a faulty power button may inadvertently cause a similar experience. This also applies to a faulty keyboard.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!