Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OpenThread Border Router high CPU usage #3641

Closed
playaz44 opened this issue Jun 14, 2024 · 1 comment
Closed

OpenThread Border Router high CPU usage #3641

playaz44 opened this issue Jun 14, 2024 · 1 comment
Labels

Comments

@playaz44
Copy link

playaz44 commented Jun 14, 2024

Describe the issue you are experiencing

Hello, after some time OpenThread Border Router starts eating 50% CPU thread without any error in the log tab. Restarting the add-on doesn't change anything. Restarting the home assistant also doesn't help, in order for the add-on to stop eating up the CPU for a few hours, need to restart the VM. Sometimes the CPU usage of the add-on is 50% from the beginning, then you need to restart the VM again. I also noticed that in 99% of cases the add-on after restarting the vm is not able to start itself, it has to be started manually.

What type of installation are you running?

Home Assistant OS

Which operating system are you running on?

Home Assistant Operating System

Which add-on are you reporting an issue with?

OpenThread Border Router

What is the version of the add-on?

2.6.0

Steps to reproduce the issue

  1. Start HA
  2. Wait some time
  3. Look CPU usage is 50%

System Health information

System Information

version core-2024.6.2
installation_type Home Assistant OS
dev false
hassio true
docker true
user root
virtualenv false
python_version 3.12.2
os_name Linux
os_version 6.6.29-haos
arch x86_64
timezone Europe/Prague
config_dir /config
Home Assistant Community Store
GitHub API ok
GitHub Content ok
GitHub Web ok
GitHub API Calls Remaining 5000
Installed Version 1.34.0
Stage running
Available Repositories 1393
Downloaded Repositories 3
HACS Data ok
Home Assistant Cloud
logged_in false
can_reach_cert_server ok
can_reach_cloud_auth ok
can_reach_cloud ok
Home Assistant Supervisor
host_os Home Assistant OS 12.3
update_channel stable
supervisor_version supervisor-2024.06.0
agent_version 1.6.0
docker_version 25.0.5
disk_total 30.8 GB
disk_used 6.0 GB
healthy true
supported true
host_connectivity true
supervisor_connectivity true
ntp_synchronized true
virtualization kvm
board ova
supervisor_api ok
version_api ok
installed_addons File editor (5.8.0), OpenThread Border Router (2.6.0), Silicon Labs Multiprotocol (2.4.5), Matter Server (6.1.2)
Dashboards
dashboards 2
resources 0
views 1
mode storage
Recorder
oldest_recorder_run 7 czerwca 2024 08:36
current_recorder_run 11 czerwca 2024 20:04
estimated_db_size 44.02 MiB
database_engine sqlite
database_version 3.44.2

Anything in the Supervisor logs that might be useful for us?

2024-06-14 07:55:35.138 INFO (MainThread) [supervisor.resolution.checks.base] Run check for disabled_data_disk/system
2024-06-14 07:55:35.138 INFO (MainThread) [supervisor.resolution.checks.base] Run check for docker_config/system
2024-06-14 07:55:35.139 INFO (MainThread) [supervisor.resolution.checks.base] Run check for dns_server_ipv6_error/dns_server
2024-06-14 07:55:35.140 INFO (MainThread) [supervisor.resolution.checks.base] Run check for pwned/addon
2024-06-14 07:55:35.140 INFO (MainThread) [supervisor.resolution.checks.base] Run check for multiple_data_disks/system
2024-06-14 07:55:35.140 INFO (MainThread) [supervisor.resolution.checks.base] Run check for free_space/system
2024-06-14 07:55:35.140 INFO (MainThread) [supervisor.resolution.checks.base] Run check for security/core
2024-06-14 07:55:35.141 INFO (MainThread) [supervisor.resolution.checks.base] Run check for ipv4_connection_problem/system
2024-06-14 07:55:35.141 INFO (MainThread) [supervisor.resolution.check] System checks complete
2024-06-14 07:55:35.141 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state running
2024-06-14 07:55:35.206 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete
2024-06-14 07:55:35.207 INFO (MainThread) [supervisor.resolution.fixup] Starting system autofix at state running
2024-06-14 07:55:35.207 INFO (MainThread) [supervisor.resolution.fixup] System autofix complete
2024-06-14 07:55:59.665 INFO (MainThread) [supervisor.homeassistant.api] Updated Home Assistant API token
2024-06-14 08:01:48.717 INFO (MainThread) [supervisor.backups.manager] Found 18 backup files
2024-06-14 08:01:51.401 INFO (MainThread) [supervisor.updater] Fetching update data from https://version.home-assistant.io/stable.json
2024-06-14 08:02:08.764 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/esphome/home-assistant-addon repository
2024-06-14 08:02:08.769 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/home-assistant/addons repository
2024-06-14 08:02:08.776 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/hassio-addons/repository repository
2024-06-14 08:02:09.877 INFO (MainThread) [supervisor.store] Loading add-ons from store: 77 all - 0 new - 0 remove
2024-06-14 08:02:09.877 INFO (MainThread) [supervisor.store] Loading add-ons from store: 77 all - 0 new - 0 remove
2024-06-14 08:25:59.785 INFO (MainThread) [supervisor.homeassistant.api] Updated Home Assistant API token
2024-06-14 08:55:35.214 INFO (MainThread) [supervisor.resolution.check] Starting system checks with state running
2024-06-14 08:55:35.214 INFO (MainThread) [supervisor.resolution.checks.base] Run check for trust/supervisor
2024-06-14 08:55:35.219 INFO (MainThread) [supervisor.resolution.checks.base] Run check for dns_server_failed/dns_server
2024-06-14 08:55:35.277 INFO (MainThread) [supervisor.resolution.checks.base] Run check for disabled_data_disk/system
2024-06-14 08:55:35.277 INFO (MainThread) [supervisor.resolution.checks.base] Run check for docker_config/system
2024-06-14 08:55:35.277 INFO (MainThread) [supervisor.resolution.checks.base] Run check for dns_server_ipv6_error/dns_server
2024-06-14 08:55:35.278 INFO (MainThread) [supervisor.resolution.checks.base] Run check for pwned/addon
2024-06-14 08:55:35.279 INFO (MainThread) [supervisor.resolution.checks.base] Run check for multiple_data_disks/system
2024-06-14 08:55:35.279 INFO (MainThread) [supervisor.resolution.checks.base] Run check for free_space/system
2024-06-14 08:55:35.279 INFO (MainThread) [supervisor.resolution.checks.base] Run check for security/core
2024-06-14 08:55:35.280 INFO (MainThread) [supervisor.resolution.checks.base] Run check for ipv4_connection_problem/system
2024-06-14 08:55:35.280 INFO (MainThread) [supervisor.resolution.check] System checks complete
2024-06-14 08:55:35.280 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state running
2024-06-14 08:55:35.338 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete
2024-06-14 08:55:35.339 INFO (MainThread) [supervisor.resolution.fixup] Starting system autofix at state running
2024-06-14 08:55:35.339 INFO (MainThread) [supervisor.resolution.fixup] System autofix complete
2024-06-14 08:55:59.903 INFO (MainThread) [supervisor.homeassistant.api] Updated Home Assistant API token
2024-06-14 09:15:20.590 INFO (MainThread) [supervisor.host.info] Updating local host information
2024-06-14 09:15:20.972 INFO (MainThread) [supervisor.host.services] Updating service information
2024-06-14 09:15:20.976 INFO (MainThread) [supervisor.host.network] Updating local network information
2024-06-14 09:15:21.044 INFO (MainThread) [supervisor.host.sound] Updating PulseAudio information
2024-06-14 09:15:21.048 INFO (MainThread) [supervisor.host.manager] Host information reload completed
2024-06-14 09:26:00.031 INFO (MainThread) [supervisor.homeassistant.api] Updated Home Assistant API token
2024-06-14 09:55:35.348 INFO (MainThread) [supervisor.resolution.check] Starting system checks with state running
2024-06-14 09:55:35.348 INFO (MainThread) [supervisor.resolution.checks.base] Run check for trust/supervisor
2024-06-14 09:55:35.352 INFO (MainThread) [supervisor.resolution.checks.base] Run check for dns_server_failed/dns_server
2024-06-14 09:55:35.407 INFO (MainThread) [supervisor.resolution.checks.base] Run check for disabled_data_disk/system
2024-06-14 09:55:35.408 INFO (MainThread) [supervisor.resolution.checks.base] Run check for docker_config/system
2024-06-14 09:55:35.408 INFO (MainThread) [supervisor.resolution.checks.base] Run check for dns_server_ipv6_error/dns_server
2024-06-14 09:55:35.408 INFO (MainThread) [supervisor.resolution.checks.base] Run check for pwned/addon
2024-06-14 09:55:35.409 INFO (MainThread) [supervisor.resolution.checks.base] Run check for multiple_data_disks/system
2024-06-14 09:55:35.409 INFO (MainThread) [supervisor.resolution.checks.base] Run check for free_space/system
2024-06-14 09:55:35.410 INFO (MainThread) [supervisor.resolution.checks.base] Run check for security/core
2024-06-14 09:55:35.410 INFO (MainThread) [supervisor.resolution.checks.base] Run check for ipv4_connection_problem/system
2024-06-14 09:55:35.410 INFO (MainThread) [supervisor.resolution.check] System checks complete
2024-06-14 09:55:35.410 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state running
2024-06-14 09:55:35.467 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete
2024-06-14 09:55:35.468 INFO (MainThread) [supervisor.resolution.fixup] Starting system autofix at state running
2024-06-14 09:55:35.468 INFO (MainThread) [supervisor.resolution.fixup] System autofix complete
2024-06-14 09:56:00.158 INFO (MainThread) [supervisor.homeassistant.api] Updated Home Assistant API token
2024-06-14 10:01:51.485 INFO (MainThread) [supervisor.updater] Fetching update data from https://version.home-assistant.io/stable.json
2024-06-14 10:26:00.292 INFO (MainThread) [supervisor.homeassistant.api] Updated Home Assistant API token
2024-06-14 10:53:27.266 INFO (SyncWorker_5) [supervisor.docker.manager] Stopping addon_core_openthread_border_router application
2024-06-14 10:53:37.335 INFO (SyncWorker_5) [supervisor.docker.manager] Cleaning addon_core_openthread_border_router application
2024-06-14 10:53:37.471 INFO (MainThread) [supervisor.docker.addon] Starting Docker add-on homeassistant/amd64-addon-otbr with version 2.6.0
2024-06-14 10:53:43.633 INFO (SyncWorker_5) [supervisor.docker.manager] Stopping addon_core_openthread_border_router application
2024-06-14 10:53:53.702 INFO (SyncWorker_5) [supervisor.docker.manager] Cleaning addon_core_openthread_border_router application
2024-06-14 10:54:03.561 INFO (MainThread) [supervisor.docker.addon] Starting Docker add-on homeassistant/amd64-addon-otbr with version 2.6.0
2024-06-14 10:54:32.597 WARNING (MainThread) [supervisor.addons.addon] Watchdog found addon OpenThread Border Router is failed, restarting...
2024-06-14 10:54:32.601 INFO (SyncWorker_5) [supervisor.docker.manager] Cleaning addon_core_openthread_border_router application
2024-06-14 10:54:32.730 INFO (MainThread) [supervisor.docker.addon] Starting Docker add-on homeassistant/amd64-addon-otbr with version 2.6.0
2024-06-14 10:55:35.474 INFO (MainThread) [supervisor.resolution.check] Starting system checks with state running
2024-06-14 10:55:35.474 INFO (MainThread) [supervisor.resolution.checks.base] Run check for trust/supervisor
2024-06-14 10:55:35.479 INFO (MainThread) [supervisor.resolution.checks.base] Run check for dns_server_failed/dns_server
2024-06-14 10:55:35.558 INFO (MainThread) [supervisor.resolution.checks.base] Run check for disabled_data_disk/system
2024-06-14 10:55:35.558 INFO (MainThread) [supervisor.resolution.checks.base] Run check for docker_config/system
2024-06-14 10:55:35.558 INFO (MainThread) [supervisor.resolution.checks.base] Run check for dns_server_ipv6_error/dns_server
2024-06-14 10:55:35.558 INFO (MainThread) [supervisor.resolution.checks.base] Run check for pwned/addon
2024-06-14 10:55:35.558 INFO (MainThread) [supervisor.resolution.checks.base] Run check for multiple_data_disks/system
2024-06-14 10:55:35.558 INFO (MainThread) [supervisor.resolution.checks.base] Run check for free_space/system
2024-06-14 10:55:35.558 INFO (MainThread) [supervisor.resolution.checks.base] Run check for security/core
2024-06-14 10:55:35.558 INFO (MainThread) [supervisor.resolution.checks.base] Run check for ipv4_connection_problem/system
2024-06-14 10:55:35.558 INFO (MainThread) [supervisor.resolution.check] System checks complete
2024-06-14 10:55:35.559 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state running
2024-06-14 10:55:35.620 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete
2024-06-14 10:55:35.620 INFO (MainThread) [supervisor.resolution.fixup] Starting system autofix at state running
2024-06-14 10:55:35.620 INFO (MainThread) [supervisor.resolution.fixup] System autofix complete
2024-06-14 10:56:00.426 INFO (MainThread) [supervisor.homeassistant.api] Updated Home Assistant API token
2024-06-14 10:56:47.227 INFO (SyncWorker_5) [supervisor.docker.manager] Stopping addon_core_openthread_border_router application
2024-06-14 10:56:57.299 INFO (SyncWorker_5) [supervisor.docker.manager] Cleaning addon_core_openthread_border_router application
2024-06-14 10:57:02.847 INFO (MainThread) [supervisor.docker.addon] Starting Docker add-on homeassistant/amd64-addon-otbr with version 2.6.0
2024-06-14 10:57:31.915 WARNING (MainThread) [supervisor.addons.addon] Watchdog found addon OpenThread Border Router is failed, restarting...
2024-06-14 10:57:31.919 INFO (SyncWorker_3) [supervisor.docker.manager] Cleaning addon_core_openthread_border_router application
2024-06-14 10:57:32.051 INFO (MainThread) [supervisor.docker.addon] Starting Docker add-on homeassistant/amd64-addon-otbr with version 2.6.0
2024-06-14 11:02:09.882 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/esphome/home-assistant-addon repository
2024-06-14 11:02:09.884 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/home-assistant/addons repository
2024-06-14 11:02:09.888 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/hassio-addons/repository repository
2024-06-14 11:02:10.983 INFO (MainThread) [supervisor.store] Loading add-ons from store: 77 all - 0 new - 0 remove
2024-06-14 11:02:10.983 INFO (MainThread) [supervisor.store] Loading add-ons from store: 77 all - 0 new - 0 remove

Anything in the add-on logs that might be useful for us?

I don't think this error matters because I restarted the add-on several times


Rejestrator: homeassistant.components.hassio
Źródło: components/hassio/websocket_api.py:135
integracja: Home Assistant Supervisor (dokumentacja, Problemy)
Pierwsze zdarzenie: 11:08:15 (1 zdarzenia)
Ostatnio zalogowany: 11:08:15

Failed to to call /addons/core_openthread_border_router/stats - Can't read stats from addon_core_openthread_border_router: Expecting value: line 1 column 1 (char 0)

Additional information

Home assistant is running in proxmox vm with limits of cpu 2 core, 4gb ram and 30gb disk, I use matter/thread and zigbee multiprotocol.

Copy link

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@github-actions github-actions bot added the stale label Jul 14, 2024
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Jul 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant