converse.js icon indicating copy to clipboard operation
converse.js copied to clipboard

Intermittent high CPU utilization after resume from sleep

Open dca00 opened this issue 4 months ago • 12 comments

Describe the bug Going by the backlog of issues due to which we backed out of the pilot test of this app. Intermittently, after the system awakes from sleep mode, the CPU load is near 100% for 2x CPU cores, and the app never restores its connection, no matter how long we wait. This happens in about 1/4-1/5 cases of sleep/resume.

To Reproduce Steps to reproduce the behavior:

  1. Put the system to sleep.
  2. Wait for a while.
  3. Resume.

Expected behavior Minimal CPU load.

Screenshots

Image Image

Environment (please complete the following information):

  • Desktop
  • Browser Firefox
  • Converse.js version 10.1.8 (which we prefer in terms of UI) and 11.0.1 (which users voted against of)

Additional context

dca00 avatar Aug 15 '25 22:08 dca00