Thunderbird 128 high CPU when idle for several minutes. 115 not affected. (has performance profile)
Hello! I recently got the update to Thunderbird 128 on my PopOS laptop via sudo apt update/upgrade. I don't know what the previous version was. Since the update, Thunderbird will spike my CPU to 120 - 140% (per command-line "top") if I have an interaction with it (e.g. reading and then deleting an email that was received) after the program has been sitting idle for several minutes. After a few minutes of loud fans, things calm down again so I presume Thunderbird is doing some sort of maintenance routine that completes successfully.
I do not have the global search index thing turned on. I did not change the default mailbox db idle time. I do have rather large mailboxes that are synced via SMTP, from three different providers. There are dozens of folders (not hundreds) containing thousands if messages (but not tens of thousands). Hopefully that gives an idea of scale .. I don't have a massive overload of untended email history but I do have a quantity of historical emails that the system has to deal with.
I followed the excellent directions online to obtain a profile during one of these high-cpu sessions. It is available at https://share.firefox.dev/4dAmyAz
Please let me know if there is anything further I can do to help diagnose this issue, such as generating more specific profiles. The high-cpu state is a pretty common occurrance now.
Ændret af Wayne Mery den
Alle svar (4)
Regarding the exact version I have installed, from apt search:
thunderbird/jammy,now 2:128.0.1esr~1722554880~22.04~68ae58a amd64 [installed]
I see now that Thunderbird 128.1.0esr was released yesterday. When I looked into the About menu to see if there was a "Check for Updates"-style button, the dialog that came up states:
Thunderbird is being updated by another instance
You are currently on the esr update channel.
Soo ... maybe it's trying to update to the new version and running into some issue?
Possible match to https://bugzilla.mozilla.org/show_bug.cgi?id=1906482
You did not have this problem with version 115?
I did not encounter this problem at all until I upgraded to 128.
The bug you linked to doesn't act the same as my Thunderbird doesn't lock up, it "merely" pegs CPU usage over 100%.
My installed version (via apt) is now at "2:128.0.1esr~1723762298~22.04~fd196ef amd64 [installed]" per apt search, and the problem remains but appears to be less prevalent.
I can make the CPU peg by deleting an email message. Before I deleted, my cpu usage was at about 36% per top and the little activity indicator at the top right of Thunderbird was active. After deleting, in a few seconds the cpu usage per top peaked over 100%, then dropped down again to the mid-50's.
Confirming that this issue stil exists in Thunderbird 128.5.2esr (64-bit), and can be triggered simply by deleting an email that has not been read. I've noted that other folks have reported slowness on deletion as well. Further to that, I have my Trash settings left at default so my Trash folder has a month's worth of stuff in it and my inbox has just under 2500 messages in it, 11 unread.
Is there any progress on this issue?