CPU consumption way higher when multiple client of the same account is connected #2006
Labels
No labels
Abandoned
Blocked
Bug
Changelog
Added
Changelog
Missing
Changelog
None
Cherry-picking
Database
Dependencies
Dependencies/Renovate
Difficulty
Easy
Difficulty
Hard
Difficulty
Medium
Documentation
Enhancement
Good first issue
Help wanted
Inherited
Matrix/Administration
Matrix/Appservices
Matrix/Auth
Matrix/Client
Matrix/Core
Matrix/E2EE
Matrix/Federation
Matrix/Hydra
Matrix/MSC
Matrix/Media
Matrix/T&S
Merge
Merge/Manual
Merge/Squash
Meta
Meta/CI
Meta/Packaging
Priority
Blocking
Priority
High
Priority
Low
Security
Status
Confirmed
Status
Duplicate
Status
Invalid
Status
Needs Investigation
Support
bob the builder
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
continuwuation/continuwuity#2006
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?
Hello,
I'm using the debian repository "https://forgejo.ellis.link/api/packages/continuwuation/debian" latest version "26.6.2". When a user account (me in this case) has two clients connected from two computers, the CPU of my server rises a lot, the continuwuity process passes from around 0%/1% cpu usage to around 20% without stopping.
In order to try to understand the issue, I've done a perf stat and a strace, but I stopped the debugging process here, hopping than someone with better knowledge of the source code could route cause the issue.
I tried to disable the presence in the configuration file, but it didn't change the issue.
The commands I used for perf and strace are the following:
There is two parts in the perf, the first one was with a single client connected, the second one was with 2 computers connected (the second "computer" being my phone under phosh). I tried with element and fluffychat but it does not make a difference.
We just merged a fix for this, please let us know if it's resolved for you, or if some part of the issue still persists.
I tested the nightly build at https://forgejo.ellis.link/continuwuation/continuwuity/actions/runs/19664/jobs/0/attempt/1 and it fixes the issue, now the cpu stays near 0% even with multiple clients connected at the same time. Thank you !