rustdesk-server icon indicating copy to clipboard operation
rustdesk-server copied to clipboard

high cpu usage on windows server 2019

Open playla2 opened this issue 2 years ago • 6 comments

Hi! i got some trouble with hbbs.exe. i try it on Windows 10, everything is great! but on windows server 2019 hbbs.exe sets CPU load 100%. sometimes hbbs.exe works fine 5-10 mins, but then CPU 100% load. hbbs.exe runs in cmd.exe, not installed service. i try to run it "hbbs.exe -r 127.0.0.1", to get no client connection. but geting 100% CPU load. i try nssm install servive, but result is same. i try it in guest windows server 2019 in Hyper-V, on 2 different hyper-v hosts.i try it on different physical PCs. but everytime 100% CPU load. i can try another build windows server 2019, but in production i cant reinstall it. guest windows10 on the same Hyper-V host + same VM settings works great, no problems! hbbs

playla2 avatar Feb 01 '23 16:02 playla2

We have no env to reproduce it.

rustdesk avatar Feb 02 '23 01:02 rustdesk

Win10 system 22H2 19045.2486 CPU: Intel(R) Core(TM) i5-9300H CPU Rust Desk client version: 1.1.9

After the connection, the Rust Desk client has a high CPU usage. If there is a page change, the CPU will be occupied by 60-90%, and it will even reach 100% in an instant.

In the same situation, using RDP or other remote assistance software, the CPU will not exceed 20%

0Knot avatar Feb 15 '23 03:02 0Knot

Can you try out this?

image

rustdesk avatar Feb 23 '23 07:02 rustdesk

Installed on Server 2022 Standard Edition and getting the same results. HBBS is pegging at 97%+ while all other processes are .5% or less .... attached screenshot is the same for Server 2022 from playla2

CrippleZero avatar Mar 07 '23 23:03 CrippleZero

I has problem but fixed

ReGenerate New Keypair by rustdesk-utils and paste it to file

then Stop&ReRun hbbs/hbbr

Now All OK

Tested on Windows 7/10 x64@VM

dateno1 avatar Jul 26 '23 03:07 dateno1

Having the exact issue on a clean Windows Server 2016 VPS.

The HBBS.exe consumes 99% CPU, pushing the VPS automatically allocate more CPU and we got an abusing warning from the cloud supplier.

We tried regen keys, remove keys, reset db, set key=fixed, nothing worked..... After running HBBS.exe for 1~2 mins, it starts to hog 99% CPU.

The only working solution we manage to got it fix is:

Using processhacker2, look into HBBS.exe, in the Threads section, there are usually 5 threads the HBBS.exe is executing. Find the HBBS Threads with the lowest TID number (usually it is the threads using the most CPU) Set the Priority to the "Lowest".

Suddenly, The HBBS.exe would turn from using 99% CPU into using only 0.05% CPU, shockingly. And it still functions normally.

image

Kylejustknows avatar May 13 '24 16:05 Kylejustknows