Thunderbird goes into a loop complaining about a message missing from gloda
Periodically I notice Thunderbird using 50-100% CPU, and the error console shows a message like the following repeated once a second:
2019-03-21 00:31:29 gloda.index_msg WARN Observed header that claims to be gloda indexed but that gloda has never heard of during compaction. In folder: mailbox:<mailbox> sketchy key: 615 subject: <subject>
<mailbox> and <subject> are always valid mailboxes and message subjects in that mailbox, and that message repeats once per second with the same value for <mailbox> and <subject>.
Per another (now archived) question, I quit TB, remove global-messages-db.sqlite, restart TB, and that fixes the problem... for a while, but it eventually (a few hours to a day) recurs.
There seem to be two problems here:
- The database getting corrupted in the first place. - TB handling that corruption poorly, repeatedly looking up the same message in the database instead of, at least, just shrugging (figuratively :-) ) and moving to the next message.
Krejt Përgjigjet (4)
I should add that I've tried running in safe mode and that hasn't fixed either problem.
Suggest you try to rebuild the global database. Info here: https://support.mozilla.org/en-US/kb/rebuilding-global-database
Added update Should have read your comments more closely....you have already tried this and it works....temporarilly.
Ndryshuar
Have you compacted your folders recently to remove all traces of old deleted emails whcihc tidies files and regains some space in mbox file?
After experimenting some more, it's (at least) during compaction that the problem occurs. If I force compaction via File > Compact Folders with the error console open, I see the repeated gloda warnings. Other times that I notice it happening because of Thunderbird's high CPU usage, I assume Thunderbird has decided to compact on its own (or there's something else that also causes the problem).