-
-
Notifications
You must be signed in to change notification settings - Fork 49
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
[Dashboard] TcpServer high CPU usage #259
Closed
Dynesshely opened this issue
May 21, 2023
Discussed in
#258
· 1 comment
· Fixed by Crequency/KitX-Dashboard#25
Closed
[Dashboard] TcpServer high CPU usage #259
Dynesshely opened this issue
May 21, 2023
Discussed in
#258
· 1 comment
· Fixed by Crequency/KitX-Dashboard#25
Comments
Dynesshely
added
bug
Something isn't working
working on
We are working on this issue
labels
May 21, 2023
Tracked by #223 . |
Dynesshely
added a commit
to Crequency/KitX-Dashboard
that referenced
this issue
May 21, 2023
Dynesshely
added a commit
that referenced
this issue
May 21, 2023
github-project-automation
bot
moved this from In Progress
to Done
in KitX Project Todo-Lists
May 21, 2023
Dynesshely
added
fixed
This problem has been fixed
and removed
working on
We are working on this issue
tracking
This issue is tracking by another issue
labels
May 29, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Discussed in #258
经过初步检查, 初步判定并不是代码编写逻辑的问题, 而是
TcpListener.Pending
方法占用 CPU 资源过多, 相关代码如下:Network/DevicesServer.cs
Network/PluginsServer.cs
占用情况如图. 基本上占用一半的资源, 另一半则是 sockets 库
修改建议为适当增加线程休眠时间, 如:
The text was updated successfully, but these errors were encountered: