Reproduction steps
- On Linux Mint 22.3 (X11/i3), launch Fluxer Canary through Flatpak (
app.fluxer.FluxerCanary). - Join a voice channel on a self-hosted Fluxer instance.
- Open a terminal and monitor the main
fluxer-canaryprocess's thread count. - Start sharing a screen or application.
- Observe that the thread count increases continuously, approximately once per second.
- Monitor individual thread names and observe an increasing number of
module-rtthreads. - Stop screen sharing.
- Observe that the accumulated threads remain active instead of returning to the original baseline.
- Repeat screen sharing to reproduce further accumulation.
--disable-gpu.Expected behaviour
Screen sharing should operate without continuously accumulating threads. Any capture-related threads and resources created during streaming should be released when streaming ends.
Repeated screen-sharing sessions should not cause progressive resource consumption or require restarting the application.
Actual behaviour
Starting a screen share causes the main
fluxer-canary process to create approximately one new thread per second, predominantly named module-rt.
Observed measurements from the same process (PID 326937):
- 81 total threads, including 22
module-rtthreads. - 91 total threads, including 30
module-rtthreads. - Over 100 total threads in a subsequent screenshot.
Build information
Canary Desktop 2026.1008.190209, Web 2026.1018.183012, Linux 7.0.0-34-generic (x64), Electron 44.4.1, Chrome 152.0.7977.78, Node 24.21.0, Locale en-US
Platform
Linux, Self-hosting
Evidence
Affected environment
PipeWire service thread counts:
Disabling GPU acceleration using
- OS: Linux Mint 22.3
- Display server: X11 / Xorg
- Window manager: i3
- CPU: AMD Ryzen 7 7800X3D
- GPU: AMD Radeon RX 7800 XT
- Installation: Fluxer Canary Flatpak (
app.fluxer.FluxerCanary) - Multimedia stack: PipeWire / WirePlumber
ps -C fluxer-canary -o pid,nlwp,%cpu,%mem --sort=-nlwp
ps -L -p 326937 -o comm= | sort | uniq -c | sort -nr pipewire 3
pipewire 3
wireplumber 6
pipewire-pulse 3
flatpak run app.fluxer.FluxerCanary --disable-gpu did not prevent thread growth.
Screenshots demonstrate the increasing process thread count and accumulation of module-rt threads.
The behavior suggests a possible screen-capture/PipeWire resource-lifecycle issue, but the precise root cause has not yet been established.
1 comment
Comment by g00by
module-rtthreads remain stable, with no further accumulation or system instability. The threads also remain stable after ending the stream, unlike before, when they would persist and continue piling up. Verified build: Canary Desktop 2026.1018.223341, Web 2026.1018.223341, Linux 7.0.0-34-generic (x64), Electron 44.4.1, Chrome 152.0.7977.78, Node 24.21.0, Locale en-US Huge thanks to the team for the incredibly quick fix! Really appreciate it!