Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Rohkem teavet

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

  • 4 vastust
  • 0 on selline probleem
  • Viimati vastas 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?
Attached screenshots

Muudetud Wayne Mery poolt

All Replies (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.

Helpful?

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?

Helpful?

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?

Helpful?

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.

Helpful?

Küsimuse postitamine

You must log in to your account to reply to posts. Please start a new question, if you do not have an account yet.