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

Services 监控添加多了之后,前台反应速度会明显变慢,后台也会经常出现"ApiErrorUnauthorized" #1025

Closed
2 tasks done
AstroQore opened this issue Mar 12, 2025 · 3 comments

Comments

@AstroQore
Copy link

运行环境

Docker-amd64

Nezha 版本

1.9.8

描述问题

Services 监控添加多了之后,前台反应速度会明显变慢,后台也会经常出现"ApiErrorUnauthorized"

同时,进入该卡顿状态后,后台的反应会变慢,经常也会无法保存更改的设置,第三方APP如iOS Nezha APP也会出现"ApiErrorUnauthorized"无法使用

复现步骤

在后台Services一栏添加服务监控,添加数量很少的时候完全正常,一旦多起来就稳定复现,删除这些服务后即刻恢复正常。
重启Nezha Dashboard的docker容器,在刚启动的时候后台也完全正常,估计这个时候还没发送ping的命令,过了半分钟到1分钟左右的时候,就会进入issue描述的状态。

配置信息

AMD Ryzen Embedded R1600 4 Physical Core
20G Physical Memory

附加信息

No response

验证

  • 我确认这是一个 nezha (哪吒面板) 的问题。
  • 我已经搜索了 Issues,并确认该问题之前没有被反馈过。
@AstroQore
Copy link
Author

有点破案了,感觉跟我docker部署有点关系,不使用docker后,就没问题了

@uubulb
Copy link
Contributor

uubulb commented Mar 18, 2025

建议创建服务的时候覆盖范围不要选全部 只指定自己需要的服务器就行了

@AstroQore
Copy link
Author

建议创建服务的时候覆盖范围不要选全部 只指定自己需要的服务器就行了

明白 另外还想知道这个服务添加后就没办法更改排序 有计划出排序的功能吗

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants