X
Tap here to go to the mobile version of the site.

Support Forum

Why is Thunderbird using high CPU after Windows wakes up from Sleep mode? (win7)

Posted

Frequently, I find Thunderbird (release 38.3 with Lightning 4.0.3.1) sucking up 60% to 80% of the PC's CPU usage (windows 7) while just sitting there minimized and not engaged in any assigned task. I close / re-open Thunderbird and CPU usage goes back to a very low rate as expected until the next time it takes off into high CPU usage for no apparent reason of purpose. Is there a way to diagnose what's going on? Should I just re-install the software to see if the problem goes away?

Frequently, I find Thunderbird (release 38.3 with Lightning 4.0.3.1) sucking up 60% to 80% of the PC's CPU usage (windows 7) while just sitting there minimized and not engaged in any assigned task. I close / re-open Thunderbird and CPU usage goes back to a very low rate as expected until the next time it takes off into high CPU usage for no apparent reason of purpose. Is there a way to diagnose what's going on? Should I just re-install the software to see if the problem goes away?

Modified by Wayne Mery

Additional System Details

Application

  • User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2490.86 Safari/537.36

More Information

Wayne Mery
  • Top 25 Contributor
  • Moderator
602 solutions 5774 answers

Does problem go away if you have started in safe mode? https://support.mozilla.org/en-US/kb/safe-mode

Does problem go away if you have started in safe mode? https://support.mozilla.org/en-US/kb/safe-mode

Question owner

Hi Wayne: Thanks for your reply. I was unaware of Thunderbird Safe Mode until your message. I've restarted Thunderbird in safe mode and will run that way for awhile to see if the problem goes away. I'll need to run it this way for day or so to be sure of the effect (if any) of safe mode on the problem and will respond accordingly. Cheers, J

Hi Wayne: Thanks for your reply. I was unaware of Thunderbird Safe Mode until your message. I've restarted Thunderbird in safe mode and will run that way for awhile to see if the problem goes away. I'll need to run it this way for day or so to be sure of the effect (if any) of safe mode on the problem and will respond accordingly. Cheers, J

Question owner

Hi Wayne: Having run Thunderbird in safe-mode for a while, I have found that the problem with runaway CPU continues. I've attached a screen capture of the Windows Resource Monitor indicating that Thunderbird was chewing up 50% of the CPU while apparently doing nothing. Can you suggest a next step in diagnosing this issue? I'm up-to-date on all Thunderbird updates.

Hi Wayne: Having run Thunderbird in safe-mode for a while, I have found that the problem with runaway CPU continues. I've attached a screen capture of the Windows Resource Monitor indicating that Thunderbird was chewing up 50% of the CPU while apparently doing nothing. Can you suggest a next step in diagnosing this issue? I'm up-to-date on all Thunderbird updates.
Wayne Mery
  • Top 25 Contributor
  • Moderator
602 solutions 5774 answers

James-A said

... Can you suggest a next step in diagnosing this issue? I'm up-to-date on all Thunderbird updates.

Can you provide the URL of a profile using these instructions? https://developer.mozilla.org/en-US/docs/Mozilla/Performance/Reporting_a_Thunderbird_Performance_Problem_with_G

''James-A [[#answer-813953|said]]'' <blockquote> ... Can you suggest a next step in diagnosing this issue? I'm up-to-date on all Thunderbird updates. </blockquote> Can you provide the URL of a profile using these instructions? https://developer.mozilla.org/en-US/docs/Mozilla/Performance/Reporting_a_Thunderbird_Performance_Problem_with_G

Question owner

H Wayne: I'm having some difficulty getting the URL for you according to the above instructions link. The instructions indicated to download the latest Daily Build. It didn't indicate which of the various files shown under the Daily link should be downloaded. I downloaded one called Thunderbird-46.0a1.en-US.win64.zip. I ran the execute in that zip and it opened Thunderbird in the Daily version as described, so I assume I picked the correct download of the various ones there. I've attached a screen print of the resulting About screen. I also downloaded Gecko extension and activated it (see screen print attachment). However, the Gecko extension, although supposedly active, does not show on the bottom Status screen when Thunderbird Daily version is running (see screen print), and so I can't get it to do a Dump Profile for you. Can you suggest how to get that status screen to show Gecko?

H Wayne: I'm having some difficulty getting the URL for you according to the above instructions link. The instructions indicated to download the latest Daily Build. It didn't indicate which of the various files shown under the Daily link should be downloaded. I downloaded one called Thunderbird-46.0a1.en-US.win64.zip. I ran the execute in that zip and it opened Thunderbird in the Daily version as described, so I assume I picked the correct download of the various ones there. I've attached a screen print of the resulting About screen. I also downloaded Gecko extension and activated it (see screen print attachment). However, the Gecko extension, although supposedly active, does not show on the bottom Status screen when Thunderbird Daily version is running (see screen print), and so I can't get it to do a Dump Profile for you. Can you suggest how to get that status screen to show Gecko?

Question owner

Subsequently to the above note, I ran Thunderbird in it's normal version, and found that Gecko was showing in the status screen. I guess I'm confused about the procedure. Which version of Thunderbird should run for getting a Profile? In the meantime, while waiting for your reply, I'm going to continue running the normal version and wait until the CPU starts showing high usage, then run the profiler for a few minutes so you don't get a massive profile with hours and hours of activity. The problem is intermittent and takes a while before it suddenly starts running away with excessive CPU.

Subsequently to the above note, I ran Thunderbird in it's normal version, and found that Gecko was showing in the status screen. I guess I'm confused about the procedure. Which version of Thunderbird should run for getting a Profile? In the meantime, while waiting for your reply, I'm going to continue running the normal version and wait until the CPU starts showing high usage, then run the profiler for a few minutes so you don't get a massive profile with hours and hours of activity. The problem is intermittent and takes a while before it suddenly starts running away with excessive CPU.
Wayne Mery
  • Top 25 Contributor
  • Moderator
602 solutions 5774 answers

You can only profile for 20-30 seconds. It will be OK to use version 38 to do the profile.

You can only profile for 20-30 seconds. It will be OK to use version 38 to do the profile.

Question owner

Great. Thanks for the quick reply. I'll post the URL after Thunderbird next acts up.

Great. Thanks for the quick reply. I'll post the URL after Thunderbird next acts up.

Question owner

Hi Wayne: Here is the URL for a profile taken with the CPU running wild and Thunderbird just sitting there. Hope I've done it correctly. Regards, J http://people.mozilla.org/~bgirard/cleopatra/?1450443373087#report=0ac911d3eacdabad8af2b9e6a3d276bdf3049f5a

Hi Wayne: Here is the URL for a profile taken with the CPU running wild and Thunderbird just sitting there. Hope I've done it correctly. Regards, J http://people.mozilla.org/~bgirard/cleopatra/?1450443373087#report=0ac911d3eacdabad8af2b9e6a3d276bdf3049f5a
Wayne Mery
  • Top 25 Contributor
  • Moderator
602 solutions 5774 answers

1. 74% ntwaitformultipleobjects / ZwFlushBuffersFile 2. 14% ntwaitforsingleobjects / nsHttpChannel:OnStartRequest

  1. 1 should be disk IO. And unclear to me why there should be high CPU associated with it.

What antivirus software do you run?

You might try a serious pass of antivirus and malware (malwarebytes, spybot, etc) runs.

1. 74% ntwaitformultipleobjects / ZwFlushBuffersFile 2. 14% ntwaitforsingleobjects / nsHttpChannel:OnStartRequest #1 should be disk IO. And unclear to me why there should be high CPU associated with it. What antivirus software do you run? You might try a serious pass of antivirus and malware (malwarebytes, spybot, etc) runs.
Wayne Mery
  • Top 25 Contributor
  • Moderator
602 solutions 5774 answers

Also, how much free disk space do you have? And memory installed?

Also, how much free disk space do you have? And memory installed?

Question owner

Hi Wayne:

I use AVG Antivirus Free Edition. I keep it up to date and do a full run twice weekly on a scheduler.

Free disk space is 40GB on a 128GB hard drive, and the installed RAM is 2GB (1.74 usable). When the problem happens, Thunderbird is often the only application running. I can shut Thunderbird down and immediately re-start it and the problem goes away until it happens again a few hours later.

Hi Wayne: I use AVG Antivirus Free Edition. I keep it up to date and do a full run twice weekly on a scheduler. Free disk space is 40GB on a 128GB hard drive, and the installed RAM is 2GB (1.74 usable). When the problem happens, Thunderbird is often the only application running. I can shut Thunderbird down and immediately re-start it and the problem goes away until it happens again a few hours later.

Question owner

Is there additional malware or antivirus software I should be using to complement the AVG software?

Is there additional malware or antivirus software I should be using to complement the AVG software?
Wayne Mery
  • Top 25 Contributor
  • Moderator
602 solutions 5774 answers

The two I mentioned are very good, malwarebytes and spybot. Bboth have free versions iirc

See https://wiki.mozilla.org/Thunderbird:Testing:Memory_Usage_Problems for a more thorough list of things to check.

The two I mentioned are very good, malwarebytes and spybot. Bboth have free versions iirc See https://wiki.mozilla.org/Thunderbird:Testing:Memory_Usage_Problems for a more thorough list of things to check.

Question owner

I'll review the list of checks in the link....

On step 3 of that list it suggests deleting the Thunderbird PROGRAM directory and reinstalling the software, but doesn't indicate how to delete just the program directory. Is it suggesting that I just directly delete the "C:\Program Files (x86)\Mozilla Thunderbird directory, then execute the standard downloaded install program?

I'll review the list of checks in the link.... On step 3 of that list it suggests deleting the Thunderbird PROGRAM directory and reinstalling the software, but doesn't indicate how to delete just the program directory. Is it suggesting that I just directly delete the "C:\Program Files (x86)\Mozilla Thunderbird directory, then execute the standard downloaded install program?

Question owner

Have completed the extra tests in the above link you mentioned. Attached are a few notes on a test-by-test basis.

Currently, under normal operation there is around 350MB of Available RAM, with Thunderbird.exe using around 133MB.

I'll have a look at Available Memory and Memory Usage by Thunderbird.exe when it next acts up.

With instructions from you on how to delete and re-install the Thunderbird program (without affecting data content). If I do this, do I have to manually re-define my accounts? I'll do that to see if the problem goes away.

Cheers, J

Have completed the extra tests in the above link you mentioned. Attached are a few notes on a test-by-test basis. Currently, under normal operation there is around 350MB of Available RAM, with Thunderbird.exe using around 133MB. I'll have a look at Available Memory and Memory Usage by Thunderbird.exe when it next acts up. With instructions from you on how to delete and re-install the Thunderbird program (without affecting data content). If I do this, do I have to manually re-define my accounts? I'll do that to see if the problem goes away. Cheers, J

Modified by James-A

Wayne Mery
  • Top 25 Contributor
  • Moderator
602 solutions 5774 answers

James-A said

On step 3 of that list it suggests deleting the Thunderbird PROGRAM directory and reinstalling the software, but doesn't indicate how to delete just the program directory. Is it suggesting that I just directly delete the "C:\Program Files (x86)\Mozilla Thunderbird directory, then execute the standard downloaded install program?

correct

''James-A [[#answer-820181|said]]'' <blockquote> On step 3 of that list it suggests deleting the Thunderbird PROGRAM directory and reinstalling the software, but doesn't indicate how to delete just the program directory. Is it suggesting that I just directly delete the "C:\Program Files (x86)\Mozilla Thunderbird directory, then execute the standard downloaded install program? </blockquote> correct

Question owner

Okay. I'll delete and re-install, then monitor for a re-occurrence.

FYI, last night Thunderbird did it's thing again and I checked the memory status of the machine and didn't notice anything out of whack. Available memory was 593MB and memory usage by Thunderbird.exe was 141MB, the CPU was processing using 42 threads. This all seemed in-line with the same measurements under normal conditions except that it was using over 50% of the CPU apparently doing nothing.

Okay. I'll delete and re-install, then monitor for a re-occurrence. FYI, last night Thunderbird did it's thing again and I checked the memory status of the machine and didn't notice anything out of whack. Available memory was 593MB and memory usage by Thunderbird.exe was 141MB, the CPU was processing using 42 threads. This all seemed in-line with the same measurements under normal conditions except that it was using over 50% of the CPU apparently doing nothing.

Question owner

One question regarding the re-install of Thunderbird: Does deleting the C:\Program Files (x86)\Mozilla Thunderbird directory delete the Lightening Add-On as well? If so, how do I preserve my existing Lightening data?

I guess that's two questions. Hopefully there's a Christmas sale on this week: two for one!

Cheers, J

One question regarding the re-install of Thunderbird: Does deleting the C:\Program Files (x86)\Mozilla Thunderbird directory delete the Lightening Add-On as well? If so, how do I preserve my existing Lightening data? I guess that's two questions. Hopefully there's a Christmas sale on this week: two for one! Cheers, J
Wayne Mery
  • Top 25 Contributor
  • Moderator
602 solutions 5774 answers

deleting program will not delete the addon. nor your data. Both are stored in https://support.mozilla.org/en-US/kb/profiles-tb - not in the program directory

deleting program will not delete the addon. nor your data. Both are stored in https://support.mozilla.org/en-US/kb/profiles-tb - not in the program directory