OCI – Ubuntu 22 .04 LTS Instance Stops Responding 20 Minutes After Boot
in Linux
Applies to:
Oracle Cloud Infrastructure - Version N/A and later
Ubuntu 22.04 LTS
Symptoms
Twenty minutes after being started, the instance stops responding completely – no ssh, no application services, no network response. To restore functionality, the instance needs to be rebooted from the OCI console. After another 20 minutes the issue repeats.
Cause
During a recent software installation, packages were installed from multiple sources in the instance along with their dependencies.
In the /var/log/syslog file, it can be seen that before each time the instance stops responding the system is being suspended by systemd after 20 minutes:
Sep 3 17:56:29 <HOSTNAME> ModemManager[1108]: <info> [sleep-monitor-systemd] system is about to suspend Sep 3 17:56:29 <HOSTNAME> NetworkManager[1020]: <info> [1693763789.4175] manager: sleep: sleep requested (sleeping: no enabled: yes) Sep 3 17:56:29 <HOSTNAME> NetworkManager[1020]: <info> [1693763789.4187] manager: NetworkManager state is now ASLEEP Sep 3 17:56:29 <HOSTNAME> gnome-shell[39372]: Screen lock is locked down, not locking Sep 3 17:56:29 <HOSTNAME> systemd[1]: Reached target Sleep. Sep 3 17:56:29 <HOSTNAME> systemd[1]: Starting Record successful boot for GRUB... Sep 3 17:56:29 <HOSTNAME> systemd[1]: Starting System Suspend... Sep 3 17:56:29 <HOSTNAME> systemd[1]: grub-common.service: Deactivated successfully. Sep 3 17:56:29 <HOSTNAME> systemd[1]: Finished Record successful boot for GRUB. Sep 3 17:56:29 <HOSTNAME> systemd-sleep[39790]: Entering sleep state 'suspend'... Sep 3 17:56:29 <HOSTNAME> systemd[1]: Starting GRUB failed
Tagged:
1