搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

Indexing causes high CPU usage and lagging in Thunderbird 128.4.3.esr

  • 4 回覆
  • 0 有這個問題
  • 13 次檢視
  • 最近回覆由 david

more options

I’m having some issues with Thunderbird. It’s running really slowly and making my whole computer lag. Thunderbird consumes constantly 8-9% CPU while it’s on. I’m using Windows 11 and Thunderbird version 128.4.3.esr (64-bit) on a laptop with fast NVMe drives.

I’ve added 8 email accounts, and the mail folder (Roaming/Thunderbird) is about 165 GB right now. I think it’ll go over 200 GB once all the messages finish downloading.

The problem seems to be with message indexing. The Activity Manager shows it’s indexing over 300k messages. Even if I leave Thunderbird running all night, it doesn’t finish. When I get new emails in the morning, the indexing starts all over again. It takes hours and uses a lot of CPU while it’s happening.

If I disable the "Enable Global Search and Indexer" option, Thunderbird works fast and smooth, and CPU usage drops a lot. But, I assume, this means I lose the ability to search emails.

When the lagging happens, opening an email preview can take up to 3 seconds (!), and deleting a message also takes 2-3 seconds. However, when I disable the "Enable Global Search and Indexer" option, Thunderbird works ultra-fast. Opening and deleting messages is instant, and there’s no delay.

Any idea how to fix this?

I’m having some issues with Thunderbird. It’s running really slowly and making my whole computer lag. Thunderbird consumes constantly 8-9% CPU while it’s on. I’m using Windows 11 and Thunderbird version 128.4.3.esr (64-bit) on a laptop with fast NVMe drives. I’ve added 8 email accounts, and the mail folder (Roaming/Thunderbird) is about 165 GB right now. I think it’ll go over 200 GB once all the messages finish downloading. The problem seems to be with message indexing. The Activity Manager shows it’s indexing over 300k messages. Even if I leave Thunderbird running all night, it doesn’t finish. When I get new emails in the morning, the indexing starts all over again. It takes hours and uses a lot of CPU while it’s happening. If I disable the "Enable Global Search and Indexer" option, Thunderbird works fast and smooth, and CPU usage drops a lot. But, I assume, this means I lose the ability to search emails. When the lagging happens, opening an email preview can take up to 3 seconds (!), and deleting a message also takes 2-3 seconds. However, when I disable the "Enable Global Search and Indexer" option, Thunderbird works ultra-fast. Opening and deleting messages is instant, and there’s no delay. Any idea how to fix this?
附加的畫面擷圖

由 Wayne Mery 於 修改

所有回覆 (4)

more options

The 'fix' is to have fewer messages to index. It's a tradeoff issue. With indexing turned off, you can still search.

有幫助嗎?

more options

david said

The 'fix' is to have fewer messages to index. It's a tradeoff issue. With indexing turned off, you can still search.

200 GB sounds like a lot, but more important is the number of messages - because Gloda only indexes (reads) the first 40k of a message). 300K messages is a lot, but shouldn't take more than a day. But it also shouldn't make your system miserable.

So I think here indexing is a symptom, which is to say there is an underlying cause which must be resolved.

One possible cause is antivirus, but there are more, including possible bug in Thunderbird. To start off,

Does the problem change?

有幫助嗎?

more options

Thank you for the suggestions. Here's what I've found:

Disabling indexing makes the global search (CTRL+K) unavailable, meaning Thunderbird doesn't offer any search functionality without it. Therefore, indexing is essential.

Disabling my antivirus (ESET) didn’t help. I decided to give Thunderbird a chance to index all messages. This time, I noticed that after closing the program, indexing resumes rather than starting over. This might be because I disabled email program monitoring in ESET.

Thunderbird indexed about 5,000 messages per hour, and after around 2.5 days, it managed to complete the process. Currently, the program works faster (like when indexing was off), but there are moments, especially when downloading new messages or "bringing a folder up to date", where it slows down significantly and lags and freezing for 1-2 seconds. While it’s annoying, it’s not as slow as it was during the indexing process.

For reference, the folder at `C:\Users\(...)\AppData\Roaming\thunderbird\` now takes up 165 GB. Power mode (silent, entertainment, performance) does not make a difference, meaning increased power does not speed up Thunderbird.

I haven’t tested safe mode yet. Do you think it’s worth trying safe mode with networking, and/or should I take other steps?

有幫助嗎?

more options

First, I defer to Wayne, as I am not a performance specialist -- but I have opinions that may or may not prove useful. One option might be to set properties of folders that are not needed for indexing to be exempt from indexing. Another possibility might be to have global index file on a different drive from the message folder.

有幫助嗎?

問個問題

如果您還沒有帳號,您必須先登入帳號 來回覆文章。還沒有帳號的話,只能發問新問題