RocketChat / Rocket.Chat

The communications platform that puts data protection first.
https://rocket.chat/
Other
40.39k stars 10.51k forks source link

High CPU Load on Windows Server 2019 Terminal Server since 3.8.0 #24988

Open TheMatzy opened 2 years ago

TheMatzy commented 2 years ago

Describe the bug With the update from version 2.7.7 to 2.8.0 we have very high cpu usage of rocket chat on our terminal server. you can see this in the screenshot. i would be very grateful for a fix. Cache in RC Client has been cleared. An AppData reset did not help either

What operating system and which version? Windows Server 2019 - Terminal Server with RDP

Which version of Rocket.Chat (Server)? 4.5.3 Which version of Rocket.Chat.Electron (Electron/Desktop)? 3.8.0 Is there any setting relevant changed? Update RC Client from 2.7.7 to 2.8.0

To Reproduce Steps to reproduce the behavior: On Windows Terminalserver 2019

Expected behavior A gscheids Brodugd - bring the cpu performance per Rocket Chat instance back to the normal state

Screenshots grafik

jeanfbrito commented 2 years ago

Hello, @TheMatzy. I didn't understand the version. We are in the 3.8.0 on desktop. But you are using 2.8.0? Or is it a mistype?

HobbledGrubs commented 2 years ago

I am experiencing the same problem with 3.8 on Windows 11. It looks like it is using 100% of a single core.

ankar84 commented 2 years ago

Windows 10 21H2 image

Version 3.8.0 image

No CPU load image

I believe there is some circumstances with that load. It not just update to 3.8.0 on Windows.

TheMatzy commented 2 years ago

Hello, @TheMatzy. I didn't understand the version. We are in the 3.8.0 on desktop. But you are using 2.8.0? Or is it a mistype?

Sorry my mistake. I updated from 3.7.8 to 3.8.0

jeanfbrito commented 2 years ago

@TheMatzy this is happening only on the login screen or in all the chat screens?

TheMatzy commented 2 years ago

@jeanfbrito I find out that when you are not logging in, that the CPU is in the Rocket.Chat Client high and in the Browser (Firefox & Google Chrome)

In Chrome when I am not logged in grafik

When I am logged in, CPU is again low grafik

Here a Runtime Analysis in Firefox grafik

It looks like some javascript component is responsible. but when you log in it is gone. And that is not only in Electron Client

jeanfbrito commented 2 years ago

@TheMatzy I just figured out this exact issue. Then I will move this issue to there too, ok?