mirror of
https://github.com/debauchee/barrier.git
synced 2026-05-15 14:16:02 -06:00
[GH-ISSUE #130] win client service starting twice and flooding server with failed connection attempts #100
Labels
No labels
HiDPI
bounty
bsd/freebsd
bsd/openbsd
bug
bug
build-infra
cantfix
critical
doc
duplicate
enhancement
fix-available
from git
from release
good first issue
help wanted
installer/package
invalid
linux
macOS
meta
needs testing
pull-request
query
question
regression
regression
v2.4.0
windows
wontfix
work-in-progress
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/barrier#100
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @idlesHand on GitHub (Sep 13, 2018).
Original GitHub issue: https://github.com/debauchee/barrier/issues/130
Operating Systems
Server: Arch 4.18.6
Client: Windows 10 1803
Barrier Version
2.1.0
Windows service starting twice or something to that effect.
I originally thought there was a problem with linux server as memory usage was growing uncontrollably. Slowly but surely eating all in its path, I locked and had to hard power off. Checked the log and every second has an entry warning that a client with the name is already connected. With win task manager showing two barrierc processes. I am a long time user and the windows box has no internet connection so never gets updated.
If I launch the gui and tell it to stop then the problem goes away. Both barrierc.exe processes get killed and then one more, presumably from the service, starts up. Trying to end it manually from task manager is totally hit and miss.
I did recently switch from a manual config to auto config but switching back and forth and rebooting with each option selected makes no difference.
I suppose this could be two or three issues.
@walker0643 commented on GitHub (Sep 15, 2018):
Hi @idlesHand -
If you're using the official windows installer package from our GitHub-hosted download page then we can narrow down the issue a bit. The official installer will only install one service entry; the service entry is only capable of starting one service process at-a-time; the service process will only start a barriers/barrierc process if it is not already running. If things get confused and it is forced to start a new process then it will kill any existing processes gracefully (and then forcefully) first.
With this in mind let's try the following:
Please report back with any new information and the results of this procedure. Thanks!
@idlesHand commented on GitHub (Sep 20, 2018):
All done and all is well. I am assuming the problem originated from between the chair and the keyboard.
Any thoughts on the limiting of connection attempts and especially of logging / memory use?
Thank you for your help and thank you for your efforts in keeping this app fully open.
@Anatoly03 commented on GitHub (Dec 9, 2023):
I had the same problem. These messages would flood the logs and decrease the performance of input on the client.
For me the mistake was, that there was a hidden process of barrier running on the client. Simply terminating barrier in the menu screen helped.