debauchee / barrier

Open-source KVM software
Other
27.32k stars 1.5k forks source link

Barrier will use lot of I/O and CPU resource when I shutdown client machine #837

Open stardiviner opened 4 years ago

stardiviner commented 4 years ago

Operating Systems

Server: Manjaro Linux (using 5.6.4 kernel)

Client: Windows 10, 1905

Barrier Version

2.3.2

Steps to reproduce bug

Barrier connection is fine. This is great, thanks for this project!!

When I shutdown the Win10 machine, the barrier server (Manjaro machine) start to use lot of I/O resource and CPU.

Other info

arafatzahan commented 4 years ago

Could not reproduce with Manjaro Host and MacOS guest all latest version

stardiviner commented 4 years ago

Thanks for testing and reply, :+1:

Is there a way for me to debug deeper so that I can provide more information?

Kaik commented 4 years ago

I'm experiencing the same problem I had to stop using it. Both server and client works on Fedora 31 It is hard to say what is wrong as it happened both on client and server (not at the same time). It looked like a lot of instances of barrier was spawned and one of them took 100% There was no particular reason it seemed to occur at random. Don't know if this might be important but I have 3 screens connected to each machine. I remember it worked good at the beginning of the year like march/april or something hard to say now. Installed via flathub

stardiviner commented 3 years ago

I have not seen this situation for a long time. Maybe problem gone? Should I close this issue or keep it open?

weltreisender commented 3 years ago

Same problem for me: When my client enters VPN (and therefore cuts connection to my local network), the server CPU load rises as much, that I can't even use mouse or keyboard any more. Mostly it occurs when the mouse is on the client and then the connection gets lost. However, this does not occur always, so I cannot reproduce it exactly.

Server is Linux Mint 19.3, client is Windows 7. Only the server CPU is affected.

p12tic commented 3 years ago

@weltreisender Thanks a lot for explanation of what you're seeing. This is enough information to start looking into this bug.

victortrac commented 1 year ago

This happens after a few days for me. I have to kill barrier on my linux server.