找回密码
 立即注册
查看: 252|回复: 11

有没有查看ha资源占用的方法?

[复制链接]

23

主题

201

回帖

1421

积分

金牌会员

积分
1421
金钱
1197
HASS币
0
发表于 4 天前 | 显示全部楼层 |阅读模式
大佬们,我的ha最近会出现这种隔几十个小时cpu占用就突然暴涨,然后系统会变得很卡,自动化开始抽风的情况发生,我看了下系统占用会突然飙升,但是不知道到底是什么原因导致的,重启ha可以解决,但是基本上隔天就会出现这样的情况。有没有大佬大佬知道怎么查看到底是什么占用了?目前用的是黑豹x2,之前用unraid的虚拟机也是同样的情况,直接备份过黑豹x2,还是一样如此。
WX20250508-145018@2x.png

回复

使用道具 举报

jjcs 手机认证

51

主题

1923

回帖

7781

积分

论坛元老

积分
7781
金钱
5797
HASS币
40
发表于 4 天前 | 显示全部楼层
集成用的什么上图
折腾精神永存,感恩感谢论坛每一位愿意分享和帮助过我的大佬,论坛有你更精彩
回复

使用道具 举报

23

主题

201

回帖

1421

积分

金牌会员

积分
1421
金钱
1197
HASS币
0
 楼主| 发表于 4 天前 | 显示全部楼层
jjcs 发表于 2025-5-8 15:44
集成用的什么上图

微信截图_20250508172655.png 就是这些了
回复

使用道具 举报

32

主题

316

回帖

4851

积分

元老级技术达人

积分
4851
金钱
4483
HASS币
80
发表于 4 天前 | 显示全部楼层

就是ADB泄漏,卸载别安装ADB,我也遇到过
回复

使用道具 举报

27

主题

123

回帖

1279

积分

金牌会员

积分
1279
金钱
1129
HASS币
0
发表于 4 天前 | 显示全部楼层
在设置 --> 设备与服务 --> 添加集成 --> 搜索system monitor
里面能检测各种信息。你可以选你要检测的项目


5.jpg

回复

使用道具 举报

23

主题

201

回帖

1421

积分

金牌会员

积分
1421
金钱
1197
HASS币
0
 楼主| 发表于 4 天前 | 显示全部楼层
nuknoop 发表于 2025-5-8 19:35
就是ADB泄漏,卸载别安装ADB,我也遇到过

我去试试看
回复

使用道具 举报

23

主题

201

回帖

1421

积分

金牌会员

积分
1421
金钱
1197
HASS币
0
 楼主| 发表于 3 天前 | 显示全部楼层
geniusliang 发表于 2025-5-8 19:48
在设置 --> 设备与服务 --> 添加集成 --> 搜索system monitor
里面能检测各种信息。你可以选你要检测的项目 ...

就是从这个集成观察到卡顿时的cpu占用很高,但是不知道是什么原因导致的
回复

使用道具 举报

23

主题

201

回帖

1421

积分

金牌会员

积分
1421
金钱
1197
HASS币
0
 楼主| 发表于 3 天前 | 显示全部楼层
2025-05-09 09:57:03.426 WARNING (SyncWorker_2) [supervisor.addons.validate] Add-on have full device access, and selective device access in the configuration. Please report this to the maintainer of Linux Router
2025-05-09 09:57:03.721 ERROR (SyncWorker_2) [supervisor.utils.yaml] Can't read YAML file /data/addons/git/b93b5321/n8n/config.yaml - while scanning a block scalar
  in "/data/addons/git/b93b5321/n8n/config.yaml", line 5, column 14
did not find expected comment or line break
  in "/data/addons/git/b93b5321/n8n/config.yaml", line 5, column 17
2025-05-09 09:57:03.722 WARNING (SyncWorker_2) [supervisor.store.data] Can't read /data/addons/git/b93b5321/n8n/config.yaml from repository b93b5321
2025-05-09 09:57:03.775 WARNING (SyncWorker_2) [supervisor.store.data] Can't read translations from /data/addons/git/b93b5321/sambanas/translations/en.yaml - required key not provided @ data['configuration']['autodiscovery']['name']
2025-05-09 09:57:03.986 WARNING (SyncWorker_2) [supervisor.addons.validate] Add-on have full device access, and selective device access in the configuration. Please report this to the maintainer of Frigate (Full Access) Beta
2025-05-09 09:57:04.513 WARNING (SyncWorker_2) [supervisor.addons.validate] Add-on have full device access, and selective device access in the configuration. Please report this to the maintainer of Frigate (Full Access)
2025-05-09 09:57:04.846 ERROR (SyncWorker_2) [supervisor.utils.yaml] Can't read YAML file /data/addons/git/b93b5321/commafeed/config.yaml - while scanning a block scalar
  in "/data/addons/git/b93b5321/commafeed/config.yaml", line 5, column 14
did not find expected comment or line break
  in "/data/addons/git/b93b5321/commafeed/config.yaml", line 5, column 18
2025-05-09 09:57:04.846 WARNING (SyncWorker_2) [supervisor.store.data] Can't read /data/addons/git/b93b5321/commafeed/config.yaml from repository b93b5321
2025-05-09 09:57:04.988 WARNING (SyncWorker_2) [supervisor.addons.validate] Add-on have full device access, and selective device access in the configuration. Please report this to the maintainer of Hassio Hotspot



2025-05-09 12:57:13.089 WARNING (SyncWorker_3) [supervisor.addons.validate] Add-on have full device access, and selective device access in the configuration. Please report this to the maintainer of Linux Router
2025-05-09 12:57:13.340 ERROR (SyncWorker_3) [supervisor.utils.yaml] Can't read YAML file /data/addons/git/b93b5321/n8n/config.yaml - while scanning a block scalar
  in "/data/addons/git/b93b5321/n8n/config.yaml", line 5, column 14
did not find expected comment or line break
  in "/data/addons/git/b93b5321/n8n/config.yaml", line 5, column 17
2025-05-09 12:57:13.340 WARNING (SyncWorker_3) [supervisor.store.data] Can't read /data/addons/git/b93b5321/n8n/config.yaml from repository b93b5321
2025-05-09 12:57:13.379 WARNING (SyncWorker_3) [supervisor.store.data] Can't read translations from /data/addons/git/b93b5321/sambanas/translations/en.yaml - required key not provided @ data['configuration']['autodiscovery']['name']
2025-05-09 12:57:13.617 WARNING (SyncWorker_3) [supervisor.addons.validate] Add-on have full device access, and selective device access in the configuration. Please report this to the maintainer of Frigate (Full Access) Beta
2025-05-09 12:57:14.237 WARNING (SyncWorker_3) [supervisor.addons.validate] Add-on have full device access, and selective device access in the configuration. Please report this to the maintainer of Frigate (Full Access)
2025-05-09 12:57:14.574 ERROR (SyncWorker_3) [supervisor.utils.yaml] Can't read YAML file /data/addons/git/b93b5321/commafeed/config.yaml - while scanning a block scalar
  in "/data/addons/git/b93b5321/commafeed/config.yaml", line 5, column 14
did not find expected comment or line break
  in "/data/addons/git/b93b5321/commafeed/config.yaml", line 5, column 18
2025-05-09 12:57:14.575 WARNING (SyncWorker_3) [supervisor.store.data] Can't read /data/addons/git/b93b5321/commafeed/config.yaml from repository b93b5321
2025-05-09 12:57:14.895 WARNING (SyncWorker_3) [supervisor.addons.validate] Add-on have full device access, and selective device access in the configuration. Please report this to the maintainer of Hassio Hotspot
2025-05-09 12:57:18.003 INFO (MainThread) [supervisor.store] Loading add-ons from store: 582 all - 0 new - 0 remove
2025-05-09 12:57:18.005 INFO (MainThread) [supervisor.store] Loading add-ons from store: 582 all - 0 new - 0 remove
2025-05-09 13:19:25.494 INFO (MainThread) [supervisor.homeassistant.api] Updated Home Assistant API token
2025-05-09 13:19:31.153 WARNING (MainThread) [supervisor.addons.addon] Watchdog found addon Samba share is unhealthy, restarting...


这是我看到的日志,不确定是不是这个引起,但是我用samba没办法找到这个config文件,有大佬知道怎么解决吗
回复

使用道具 举报

27

主题

123

回帖

1279

积分

金牌会员

积分
1279
金钱
1129
HASS币
0
发表于 3 天前 | 显示全部楼层
你是什么配置的机器?你跑了那些addon啊。有没有跑高负载的addon比如frigate这种,我以前用树莓派4B跑netalertX。一扫描CPU就高。现在换了J4125就一切正常了
回复

使用道具 举报

23

主题

201

回帖

1421

积分

金牌会员

积分
1421
金钱
1197
HASS币
0
 楼主| 发表于 3 天前 | 显示全部楼层
geniusliang 发表于 2025-5-9 16:02
你是什么配置的机器?你跑了那些addon啊。有没有跑高负载的addon比如frigate这种,我以前用树莓派4B跑netal ...

之前用的unraid虚拟机,cpu是7700t,也是如此,现在换了黑豹,但是frigate是被我关了的,我现在尝试把frigate删了看看,addon是这些。 微信截图_20250509170853.png
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|Hassbian ( 晋ICP备17001384号-1 )

GMT+8, 2025-5-12 11:49 , Processed in 1.638000 second(s), 25 queries .

Powered by Discuz! X3.5

© 2001-2025 Discuz! Team.

快速回复 返回顶部 返回列表