You are not logged in.

#1 2012-04-04 10:28:07

symtab
Member
Registered: 2008-01-11
Posts: 7

Thunderbird is hogging and freezing for a few seconds

Hi,

I've been using evolution for some time now, and i've decided to change to Thunderbird. I've tried both latest version 11 and also 10, but both freeze up for a few seconds (2-3-4seconds) and then everything works again. This happens randomly (meaning i was not able to idenitify what action causes this freeze, it happens when i write messages, when i read messages...).

Please let me know if you have any ideas/fixes.

Thanks,
Adrian

Last edited by symtab (2012-04-04 10:37:35)

Offline

#2 2012-04-04 19:12:25

johni
Member
Registered: 2012-02-03
Posts: 102

Re: Thunderbird is hogging and freezing for a few seconds

I use thunderbird all day long, and never see any sort of pauses, but here are a few things you might try.

Under Edit->Preferences, go to the Advanced->Network & Disk Space tab.  So you have the "Compact folders" option checked?  Maybe you have a large message store, and the occasionaly folder compacting is causing the delay.

Do you have any add-on's installed that might be doing something?  If so, try disabling them one at a time to see if the problem goes away.

Another thing you might try is keep top running in a terminal, and see if while you experience the pause there is a spike in cpu usage by some other process, or thunderbird itself.

Offline

#3 2012-04-05 19:20:37

symtab
Member
Registered: 2008-01-11
Posts: 7

Re: Thunderbird is hogging and freezing for a few seconds

I dont have any addons installed. I disabled the Compact Folders feature and i will post if it fixes the problem. Thundebird uses the CPU.

Offline

#4 2012-04-06 09:09:14

symtab
Member
Registered: 2008-01-11
Posts: 7

Re: Thunderbird is hogging and freezing for a few seconds

Compact Folders disabled does not fix the problem. I have like 200.000 emails if that could be a problem.

Offline

#5 2012-04-06 14:56:32

R00KIE
Forum Fellow
From: Between a computer and a chair
Registered: 2008-09-14
Posts: 4,734

Re: Thunderbird is hogging and freezing for a few seconds

At least here "Compact Folders" asks before it does its thing, I also have mail accounts with many gigabytes and I don't want thundebird to be compacting that at an inconvenient time.

On the other hand if thundebird is hanging and using lots of cpu time it may be opening mails with many (big) images (or anything else big that takes thunderbird a lot of time to render), that's the only occasion when thundebird hangs for a little while here.


R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K

Offline

#6 2012-04-09 15:32:26

LegionSB
Member
Registered: 2012-01-26
Posts: 7

Re: Thunderbird is hogging and freezing for a few seconds

I have experienced this issue as well. Here is what I've noticed:

* It happens on application startup, but also sometimes while running.

* CPU and memory usage are NOT spiked during this time.

* htop reports the thunderbird-bin process status as D.

Offline

#7 2012-04-09 16:48:47

bjornoslav
Member
Registered: 2011-11-01
Posts: 137

Re: Thunderbird is hogging and freezing for a few seconds

symtab wrote:

Compact Folders disabled does not fix the problem. I have like 200.000 emails if that could be a problem.

I believe the number of mails could be the problem, especially since Thunderbird keeps mail in one file for each mail folder it has (Inbox is a separate file, for example), and if it contains a lot of mail, imagine how much memory mapping, seeking, parsing and fragmentation to the file system that situation causes for each mail container.

The solution would be to switch to Sylpheed for example, which keeps each mail as a separate file in your ~/Mail folder, inside folders (for example, ~/Mail/Inbox/1), so what you actually see in the folder view in Sylpheed is the actual file system. And I believe that is way faster than Thunderbird, and it consumes the fraction of resources.


asus ux303la, core i5@1.6ghz, 8 gb ram, 500gb hdd, hd4400 gpu, crux x64 with openbox

Offline

#8 2012-04-09 19:02:52

LegionSB
Member
Registered: 2012-01-26
Posts: 7

Re: Thunderbird is hogging and freezing for a few seconds

bjornoslav wrote:
symtab wrote:

Compact Folders disabled does not fix the problem. I have like 200.000 emails if that could be a problem.

I believe the number of mails could be the problem, especially since Thunderbird keeps mail in one file for each mail folder it has (Inbox is a separate file, for example), and if it contains a lot of mail, imagine how much memory mapping, seeking, parsing and fragmentation to the file system that situation causes for each mail container.

The solution would be to switch to Sylpheed for example, which keeps each mail as a separate file in your ~/Mail folder, inside folders (for example, ~/Mail/Inbox/1), so what you actually see in the folder view in Sylpheed is the actual file system. And I believe that is way faster than Thunderbird, and it consumes the fraction of resources.

My own mail account has far fewer messages - 20,000 instead of 200,000 - and has this problem.

I am also using IMAP and don't have my entire mail archive stored locally.

This behavior also is not present in the Mac OS X version of Thunderbird, which accesses the same account on a considerably lower spec'd machine.

EDIT: I've discovered the source of my Thunderbird pauses. It is a result of using Lightning and having some calendars use caching. I was clued in by this bug report that dates back many versions, and still sits as "Unconfirmed".

Disabling caching on my calendars that were using it immediately solved the freezing problem.

Last edited by LegionSB (2012-04-09 19:25:48)

Offline

#9 2012-04-11 18:06:05

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: Thunderbird is hogging and freezing for a few seconds

You guys should open a bug report upstream, I don't have lightning and still have that hogging and freezing. Even the beta version has the same issue.


Give what you have. To someone, it may be better than you dare to think.

Offline

Board footer

Powered by FluxBB