Thunderbird freezing regularly with "not responding" message due to "transition from sleep to hibernate"
Categories
(Thunderbird :: Untriaged, defect)
Tracking
(Not tracked)
People
(Reporter: marttharding, Unassigned)
Details
(Keywords: perf, Whiteboard: [antivirus: Windows Defender])
Attachments
(1 file)
|
3.31 KB,
text/plain
|
Details |
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36
Steps to reproduce:
Please see the attached file...
30 Oct 2024
Why is Thunderbird persistently "not responding"? This problem has become steadily worse over the last several months, to the extent that it has been making me think that I need to move to a different email client.
There may be some clues in https://support.mozilla.org/eu/questions/1446914
I think I have seen other apps exhibit this "not responding" symptom as well. But I use Thunderbird many times each day, and the problem has been getting worse for the last month or so with Thunderbird. The link above suggests the problem may be caused by Windows Defender repeatedly scanning the Thunderbird InBox. Whatever the cause, the cooling fan indicates increased CPU loading but it doesn't show up on Task Manager.
However I think I have found a way to avoid the problem. Not the same as fix it however.
Several months ago, probably following one of the monthly Microsoft updates, my Win 10 laptop which was set to sleep after 30 minutes inactivity, began transitioning to hibernate after roughly 3 hours in sleep mode. On awakening in the morning, it was essentially busy with housekeeping for at least 5 minutes, unlike awakening from sleep which left it usable after perhaps 30 seconds. An annoyance, but bearable. And seemingly not long after this, but not immediately, the problem with Thunderbird freezing with a "not responding" message showed up. At first it seemed occasional. But by this week it was happening after I looked at every 3 or 4 messages, and the not-responding delay was often 30 seconds or more. Extremely annoying. And this after I had taken steps to keep the InBox down to perhaps the last couple days of mail (which seemingly made absolutely no difference).
I got curious about the postings about Windows Defender scanning and re-scanning email. It's enabled (plus MalwareBytes) on my laptop but I don't know anything about it. So I decided to look into whether there might be a relationship with the unexpected transition from sleep to hibernate, which I definitely had not enabled.
Didn't take long to find out online that "hybrid sleep" is becoming commonplace for laptops, to extend battery life I suppose. I was unaware of it, and don't think the setting has historically been available. I discovered that a transition from sleep to hibernate was set for 180 minutes and I am absolutely certain that I didn't make this setting. So I set the transition to 1440 hours (1 day) since it is almost a given that I will be using the laptop every day. Plus I didn't know whether "never" was a valid entry for the transition time although the window would accept that word. I also ensured that hybrid sleep was off for both battery and plugged-in modes (it was already). So at least in theory there is no connection with a hybrid power management setting since it was already disabled.
BOTTOM LINE: The unexplained problem with Thunderbird posting a "not responding" message and freezing for 30 seconds or so, HAS DISAPPEARED. So it seems clear that I was blaming Thunderbird while the problem has a different cause. Will the problem stay gone? I don't know. But if you are receiving other complaints about Thunderbird annoying laptop users with a "not responding" message, this note might point you in a useful direction for a fix.
Updated•1 year ago
|
Comment 1•11 months ago
|
||
Version 115 is pretty much EOL
Does this reproduce on version 128 with Windows started in safe mode?
| Reporter | ||
Comment 2•11 months ago
|
||
Wayne,
First, please pardon my delay in answering. VERY busy recently.
Unfortunately my previous email report was incorrect to some extent. The problem with Thunderbird freezing has NOT repeat NOT disappeared.
I'm unable to answer your question directly, because the version of Thunderbird I'm using is 115.10.1. Thunderbird on my Windows PC is set to remind me about updates but not make them automatically. While I understand the benefits of upgrades, developers may not be aware of the time required for users to update their understanding of each revision to the UI. So I often put them off.
It's been several months now and I don't have a detailed recollection, but I think this problem showed up at the same time that a Windows "patch Tuesday" update happened. That patch altered the behavior of sleep and hibernate modes, creating a "hybrid sleep" mode. I got the original performance restored so that the PC would no longer transition from sleep to hibernate after 3 hours, but the problem with Thunderbird freezing remains (or is unrelated...).
It seems likely, judging by the slightly delayed information displayed by Windows Task Manager, that Windows' Antimalware Service Executable is involved. Anytime this problem occurs, announced by a Thunderbird "not responding" message, TBird "freeze" and CPU fan spooling up, Task manager indicates that Antimalware Service Executable has abruptly increased CPU usage by perhaps 30-40%, memory use by 20% or so, and perhaps most important, HDD utilization from just a few % (if the PC is otherwise idle) to as much as 50 - 60% for the duration of the freeze. My impression is that Windows Defender has "decided" that it's necessary to scan a bunch of inputs before Tbird can continue. But what inputs? Since that email was already downloaded onto my PC (probably only headers since I'm using IMAP), it had presumably already been checked by Defender and Malwarebytes. And in any event, the length of the freeze seems independent of the number of unread messages. It may however have some time dependency.
If I can provide more information, I'm willing -- but not experienced with error logs and my code-writing days are waaaay in the past. I'm mostly a user, observer and reporter these days.
Martt Harding
Comment 3•11 months ago
|
||
Thanks for that information - very helpful!
Please see bug 1924420 comment 5
Description
•