recettes/Homelab/problems & solutions/Random sleep.md
gribse ecdfa2f7c4 Squashed 'temp-repo/' content from commit 6688605
git-subtree-dir: temp-repo
git-subtree-split: 6688605ad41f49d1eccead8d29421c658cad0100
2025-10-06 19:14:58 +02:00

1.6 KiB
Executable file

date
2022-02-02

sleep out of nowhere

02/02/2022 jsp pk, le serveur d'est mis à sleep et a ne plus etre dispo sur le réseau

voilà les logs de syslog :

Feb  2 15:17:42 jarvisv2 NetworkManager[94577]: <info>  [1643811462.4147] manager: sleep: sleep requested (sleeping: no  enabled: yes)
Feb  2 15:17:42 jarvisv2 NetworkManager[94577]: <info>  [1643811462.4149] manager: NetworkManager state is now ASLEEP
Feb  2 15:17:42 jarvisv2 ModemManager[94257]: <info>  [sleep-monitor] system is about to suspend
Feb  2 15:17:42 jarvisv2 gnome-shell[1356]: Screen lock is locked down, not locking
Feb  2 15:17:42 jarvisv2 systemd[1]: Reached target Sleep.
Feb  2 15:17:42 jarvisv2 systemd[1]: Starting Record successful boot for GRUB...
Feb  2 15:17:42 jarvisv2 systemd[1]: Starting Suspend...
Feb  2 15:17:42 jarvisv2 systemd-sleep[134996]: Suspending system...
Feb  2 15:17:42 jarvisv2 kernel: [ 2671.629242] PM: suspend entry (s2idle)
Feb  2 15:17:42 jarvisv2 systemd[1]: grub-common.service: Succeeded.
Feb  2 15:17:42 jarvisv2 systemd[1]: Finished Record successful boot for GRUB.

il est expliqué ici

https://www.unixtutorial.org/disable-sleep-on-ubuntu-server

comment désactiver le sleep mais j'aimerais bien savoir pourquoi il sleep le petit batard

qui lui demande ? il est resté allumé un peu plus d'1h aujourdhui, puis 25min c pas scheduled on dirait

au final jsp pk, mais j'ai suivi ça : https://www.tecmint.com/disable-suspend-and-hibernation-in-linux/

et ça

https://askubuntu.com/questions/259544/remove-gui-on-ubuntu-server ( j'ai executé sudo apt-get remove xserver-xorg-core)

voilou