搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

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

  • 4 个回答
  • 0 人有此问题
  • 最后回复者为 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.

有帮助吗?

我要提问

您需要登录才能回复。如果您还没账号,可以提出新问题