[Ubuntu] systemd-sleep: Entering sleep state 'suspend'... 절전 모드로 빠질 때

증상

서버 기동 후 30분이 지나면 서버가 절전 모드로 빠짐

로그

Jan 01 23:59:59 localhost NetworkManager[]: <info>  [] manager: sleep: sleep requested (sleeping: no  enabled: yes)
Jan 01 23:59:59 localhost ModemManager[1437]: <info>  [sleep-monitor-systemd] system is about to suspend
Jan 01 23:59:59 localhost NetworkManager[]: <info>  [] manager: NetworkManager state is now ASLEEP
Jan 01 23:59:59 localhost systemd[1]: Reached target Sleep.
Jan 01 23:59:59 localhost systemd-sleep[]: Entering sleep state 'suspend'...

해결

/etc/systemd/sleep.conf 파일 Sleep 에 다음 내용 추가

  • AllowHybridSleep=no
  • AllowSuspend=no
  • AllowHibernation=no
  • AllowSuspendThenHibernate=no
vim /etc/systemd/sleep.conf

[Sleep]
# Sleep 밑에 4줄 추가
AllowHybridSleep=no
AllowSuspend=no
AllowHibernation=no
AllowSuspendThenHibernate=no
#AllowSuspend=yes
#AllowHibernation=yes
#AllowSuspendThenHibernate=yes
#AllowHybridSleep=yes
#SuspendMode=
#SuspendState=mem standby freeze
#HibernateMode=platform shutdown
#HibernateState=disk
#HybridSleepMode=suspend platform shutdown
#HybridSleepState=disk
#HibernateDelaySec=180min

 

설정 반영

systemctl daemon-reload

 

 

'OS > Troubleshooting' 카테고리의 다른 글

[Windows Server] 트러블슈팅  (0) 2026.01.29
자투리 해결법  (0) 2025.11.24
[Linux] 서버 변경 후 dracut 관련하여 부팅이 안될 때  (0) 2025.10.20