CPU consumption way higher when multiple client of the same account is connected #2006

Closed
opened 2026-07-16 19:51:24 +00:00 by vgdev · 2 comments

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:

   perf stat -p $(pidof conduwuit) -- sleep 30
   strace -f -tt -T -p $(pidof conduwuit) -o /tmp/strace.log

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.

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: perf stat -p $(pidof conduwuit) -- sleep 30 strace -f -tt -T -p $(pidof conduwuit) -o /tmp/strace.log 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.
Owner

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.

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.
Author

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 !

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 !
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
continuwuation/continuwuity#2006
No description provided.