Closed Bug 1939060 Opened 1 year ago Closed 1 year ago

100% CPU use when the server is slow with status bar active

Categories

(Thunderbird :: Mail Window Front End, defect)

Thunderbird 128
defect

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 683651

People

(Reporter: aros, Unassigned)

Details

(Keywords: perf)

Attachments

(2 files)

Attached image tb.webp —

Steps to reproduce:

Using the official 64bit binary, version 128.5.2esr.

Why does the CPU use stay around 100% when the remote IMAP server is slow (to login/fetch a list of remote messages/etc.)?

Thunderbird should basically consume 0% of the CPU in this situation but that's not the case.

I'm not asking it to index gigabytes of messages or perform some crazy CPU intensive operations.

  • SPAM filtering is completely disabled here.
  • Message indexing/search is also disabled.
  • I have zero add-ons installed except a custom theme.

That's under Fedora Linux 41 with amdgpu and Xorg/X11/XFCE4. This is reproducible on my desktop PC as well with NVIDIA binary graphics. Again XFCE. I don't have Thunderbird installed on Windows, so I can't say if the bug is specific to Linux or not.

It's been like that for at least a year now. Extremely annoying specially for laptop users.

You can see it on the screenshot: 30 seconds (!) CPU time on a new fast eight core Zen 4 CPU and gigabytes of free RAM. I've basically launched it and left it running.

Could it be this weird progress indicator at the bottom to the right?

All my email accounts are IMAP BTW.

Attached image process manager —

No, I'm not making stuff up.

Have a slow to response server and enjoy TB pegging your CPU.

I won't say it's 100% per se, but 75% CPU use for basically keeping the connection alive and using epoll() on it?

Something is terribly wrong with how Thunderbird handles all of that.

Does the CPU reduce if you do View > Toolbars > Status Bar to remove that line?
Please do https://support.mozilla.org/en-US/kb/profiling-thunderbird-performance

Flags: needinfo?(aros)
Keywords: perf

(In reply to Wayne Mery (:wsmwk) from comment #4)

Does the CPU reduce if you do View > Toolbars > Status Bar to remove that line?
Please do https://support.mozilla.org/en-US/kb/profiling-thunderbird-performance

Removing the status bar seems to have fixed the issue.

Flags: needinfo?(aros)
Component: Untriaged → Mail Window Front End
Depends on: 683651
Summary: 100% CPU use when the server is slow → 100% CPU use when the server is slow with status bar active
Status: UNCONFIRMED → RESOLVED
Closed: 1 year ago
No longer depends on: 683651
Duplicate of bug: 683651
Resolution: --- → DUPLICATE
Depends on: 683651
No longer depends on: 683651
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: