본 사이트는 여러분의 사용자 경험을 개선하기 위해 유지 보수를 진행하는 동안 기능이 제한됩니다. 도움말로 문제가 해결되지 않고 질문을 하고 싶다면 Twitter의 @FirefoxSupport 및 Reddit의 /r/firefox 채널을 활용하세요.

Mozilla 도움말 검색

고객 지원 사기를 피하세요. 저희는 여러분께 절대로 전화를 걸거나 문자를 보내거나 개인 정보를 공유하도록 요청하지 않습니다. "악용 사례 신고"옵션을 사용하여 의심스러운 활동을 신고해 주세요.

자세히 살펴보기

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.

도움이 되셨습니까?

질문하기

글에 답글을 달기 위해서는 계정으로 로그인해야만 합니다. 계정이 아직 없다면 새로운 질문을 올려주세요.