Skip to content

[BUG] 1Panel登录瞬间 CPU 占用过高的问题 #4342

Closed Answered by ssongliu
Anyexyz asked this question in Q&A
Discussion options

You must be logged in to vote

感谢反馈,这里主要是获取概览界面数据占用的资源,登陆的瞬间需要去获取两部分数据:

  1. 基础参数,包括主机信息、cpu 、内存、磁盘等总量;
  2. 瞬时数据,包括当前 cpu 、内存磁盘网络等实时占用;

登陆的瞬间会获取 1.2 所有数据,然后后面定时刷新就只去请求 2 了。

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Anyexyz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #4337 on March 28, 2024 10:17.