본문 바로가기
  • 개천에서 용나는 걸 보고 싶단 말이지.
My Space/Home Assistant

Home-Assistant 2022.04.x 버전부터 메모리 누수?

by Dyner 2022. 4. 30.

그 전에는 메모리 사용량이 80% 넘어가는 걸 간간히 본 적은 있어도 시간 지나면 다시 반환하고 그러더니.. 요즘은 그냥 죽죽 올라가기만 한다...

그러다가....순간 뻣어버린다....

그래서 첫 해결책은... 매일 특정 시간에 자동으로 재부팅시키기... 헌데 그래도.... 또 어느 순간부터 못 버티고 뻣었다... 일주일 정도는 버티긴 하더만...

결국 메모리 사용량이 90%가 넘어가면 재부팅 시키는 걸로 자동화를 시켰다. 구글 네스트 미니로 재부팅한다고 알려주고 재부팅하는 걸로...

며칠 두고 봐야겠다.

alias: 000000 Reboot
description: ''
trigger:
  - platform: numeric_state
    entity_id: sensor.memory_use_percent
    for:
      hours: 0
      minutes: 0
      seconds: 0
    attribute: unit_of_measurement
    above: '90'
condition: []
action:
  - service: tts.google_translate_say
    data:
      entity_id: media_player.geosil
      message: Home Assistant를 재부팅합니다.
  - delay:
      hours: 0
      minutes: 0
      seconds: 20
      milliseconds: 0
  - service: hassio.host_reboot
    data: {}
mode: single