Skip to content

[BUG] - CPU usage problem #154

Description

@SpeeDFireCZE

Issue Checklist

  • Includes repro steps that result in the bug occurring
  • Searched for existing issues
  • Filled out the below sections
  • Does not relate to hosting (server configuration, reverse proxy, Cloudflare, etc.)
    • Connection issues are likely due to something in between the browser/agent and the ControlR backend app, not the app itself.
    • Please go to the Discussions section for help with hosting setups.

Describe the bug

When the remotely and controlir agents are both installed on a Linux server (Ubuntu 22.04.5 LTS), the controlir will consume more and more CPU. In my case, it got stuck at 15% CPU usage and was permanently stuck and running process. The remotely agent will have problems too. Normally, it uses a low CPU percentage for checks (about 2% at a time), but when the controlir agent is installed, it will consume more CPU (in my case, 70% for checks).
Together, they will consume almost all of the CPU.

After a fresh install, the controlir agent works as expected, but after some time it gets stuck.

To Reproduce

Steps to reproduce the behavior:

  1. Install remotely agent + ControlIR agent
  2. wait some time
  3. check cpu usage
  4. See problem

Client Info

Agent Version: 0.25.15.0
Agent OS: Linux Ubuntu 22.04.5 LTS
Language/Locale of Agent OS: en

Server Info (if self-hosting)

Server OS: Ubuntu 22.04.5 LTS
Language/Locale of Server OS: en
Docker image tag: latest

Other relevant info:

Logs

controlir.log

This is Agent log and it still recreating login screen client

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions