[Bug 927515] Re: thunderbird uses excessive cpu power
I have the same issue with Ubuntu 12.04 LTS 64 bit on a MacBook Pro 8,1 (late 2011). Whenever I have Thunderbird open, my CPU usage shoots up to about 20%, my laptop heats up and my battery gets drained atleast twice or even thrice as quickly. Makes Thunderbird unusable on my laptop. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/927515 Title: thunderbird uses excessive cpu power To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/thunderbird/+bug/927515/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 927515] Re: thunderbird uses excessive cpu power
I am seeing 22-25% CPU usage by Thunderbird. When TB is open, compiz is also using around 20%, this drops to around 1% when TB is closed. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/927515 Title: thunderbird uses excessive cpu power To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/thunderbird/+bug/927515/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 927515] Re: thunderbird uses excessive cpu power
To me, it seems related to fetching new messages. I have a lot of messages in my mailbox, and in many different folders. When doing the initial sync for a new setup, it is very CPU intensive. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/927515 Title: thunderbird uses excessive cpu power To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/thunderbird/+bug/927515/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 927515] Re: thunderbird uses excessive cpu power
Also witnessing the problem. I guess so few people noticed it is that it might be somehow associated to users who have several email accounts configured (I have 11 accounts configured in my TB profile). Opening the activity window shows that a lot (and probably too many) of sync operations are being performed at the same time. Is there a setting that defines the number of synchronizations that TB can perform simultaneously? I suspect it to be the main reason why my laptop battery gets drained in less than 2:00...whereas on Windows (also with TB running) the battery can handle 4:00 easily. system: 12.10x64 ram: 8g cpu: i7 640M (4x2.8ghz.) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/927515 Title: thunderbird uses excessive cpu power To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/thunderbird/+bug/927515/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 927515] Re: thunderbird uses excessive cpu power
I am having the same problem. Thunderbird pegs one processor at near 100%. The instructions in comment #11 did not fix it. Activity Manager sometimes shows no activity for several minutes, but the CPU use is still high. Probably more important is that it just keeps cycling between syncing Sent Mail and All Mail with my gmail account. My other active account is much more quiet. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/927515 Title: thunderbird uses excessive cpu power To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/thunderbird/+bug/927515/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 927515] Re: thunderbird uses excessive cpu power
Had the exact same issue as comment #11 including log spamming and can confirm that deleting the empty file 'global-messages-db.sqlite-journal' in my Thunderbird account folder resolved the issue. This was under Ubuntu 12.04 with Thunderbird 14 and encrypted home directory. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/927515 Title: thunderbird uses excessive cpu power To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/thunderbird/+bug/927515/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 927515] Re: thunderbird uses excessive cpu power
I possibly have this issue as well. however, after letting thunderbird run for 18 hours (!) of cpu time the cpu usage dropped to reasonable levels. after exiting and restarting thunderbird the usage goes up again for some minutes but then normalizes much faster... -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/927515 Title: thunderbird uses excessive cpu power To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/thunderbird/+bug/927515/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 927515] Re: thunderbird uses excessive cpu power
Some further info: My syslog was geting spammed with eCryptfs messages as per https://bugs.launchpad.net/ecryptfs/+bug/911507, but only when Thunderbird was in online mode. The culprit was a zero length global-messages-db.sqlite-journal file under .thunderbird. I'd copied my .thunderbird directory from my old laptop (that wasn't using encrypted homedir) to the new laptop (which is using encrypted homedir). Moving the file out of the way stopped the eCryptfs spam, and dropped CPU usage from about 70%+ to about 54%, which isn't melting the laptop. Thunderbird has recreated the global-messages-db.sqlite-journal file, and it now has non-zero length. I guess what it's doing now is more normal. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/927515 Title: thunderbird uses excessive cpu power To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/thunderbird/+bug/927515/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 927515] Re: thunderbird uses excessive cpu power
Regression or not, it's still an annoying bug. I'm attaching performance data from my older computer, where this is a nuisance. In the two minutes I let Thunderbird run, it fetched less than 1000 emails - which means just a few emails per second (which is not good IMO!). The latest comment indicates that this would be eCryptfs related - for the record, I'm also running eCryptfs. Seeing the top perf results, it looks like they are crypto related, but I don't think this is the only cause. The fact that it also seems to spend a significant amount of time in pthread_mutex_lock/unlock also looks like a programming error to me. 14,78% thunderbird-bin [kernel.kallsyms] [k] aes_encrypt 3,65% thunderbird-bin libfreebl3.so [.] rijndael_decryptBlock128 3,56% thunderbird-bin libmozsqlite3.so [.] zeroPage 3,50% thunderbird-bin [kernel.kallsyms] [k] aes_decrypt 2,56% thunderbird-bin libpthread-2.15.so [.] pthread_mutex_lock 1,84% thunderbird-bin libpthread-2.15.so [.] __pthread_mutex_unlock_usercnt 1,80% thunderbird-bin [kernel.kallsyms] [k] _raw_spin_unlock_irqrestore 1,75% thunderbird-bin [kernel.kallsyms] [k] __copy_from_user_ll_nozero 1,71% thunderbird-bin libfreebl3.so [.] shaCompress ** Attachment added: "perf.data" https://bugs.launchpad.net/ubuntu/+source/thunderbird/+bug/927515/+attachment/3221899/+files/perf.data -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/927515 Title: thunderbird uses excessive cpu power To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/thunderbird/+bug/927515/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 927515] Re: thunderbird uses excessive cpu power
The strace log is a bit long to attach here, but under one minute of fetching emails, it - calls gettimeofday about 200 000 times - trying to open different files in /usr/share/mime, 20 000 times - trying to open gedit.desktop in different directories, 1300 times ...is this really correct behaviour? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/927515 Title: thunderbird uses excessive cpu power To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/thunderbird/+bug/927515/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 927515] Re: thunderbird uses excessive cpu power
I only see this when working online. If I change to working offline, the CPU usage drops to idle. I f I re-enable working online, the CPU spikes again. It appears to be related to loading/indexing mail from remote IMAP mailserver that contains a lot of mail on a new install that hasn't previously connected to the mailserver. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/927515 Title: thunderbird uses excessive cpu power To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/thunderbird/+bug/927515/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 927515] Re: thunderbird uses excessive cpu power
** Changed in: thunderbird (Ubuntu) Importance: Undecided => High ** Changed in: thunderbird (Ubuntu) Assignee: (unassigned) => Canonical Desktop Team (canonical-desktop-team) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/927515 Title: thunderbird uses excessive cpu power To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/thunderbird/+bug/927515/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 927515] Re: thunderbird uses excessive cpu power
Thanks Brian, thanks to those who commented on that bug so far, it seems that due to the "regression-update" tag those comments are reaching the SRU team so I'm dropping that and unassigning the desktop team on those basis: - the bug was reported on tb10, we are at tb13 so it's not a recent regression - the number of users affected and report are low - it's difficult to debug since none of the tb hackers around get the issue - the recent comments suggest it might not even be a bug, indexing on big boxes take cpu, if you don't want that you can disable the indexing ** Changed in: thunderbird (Ubuntu) Assignee: Canonical Desktop Team (canonical-desktop-team) => (unassigned) ** Tags removed: regression-update -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/927515 Title: thunderbird uses excessive cpu power To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/thunderbird/+bug/927515/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 927515] Re: thunderbird uses excessive cpu power
Confirmed on quantal. At the tame time, thunderbird is triggering constant redraws as seen in the Compiz Benchmark plugin. Killing and restarting thunderbird fixed it for me. ** Also affects: ubuntu-power-consumption Importance: Undecided Status: New ** Summary changed: - thunderbird uses excessive cpu power + Thunderbird stuck at 100% CPU -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/927515 Title: Thunderbird stuck at 100% CPU To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-power-consumption/+bug/927515/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 927515] Re: thunderbird uses excessive cpu power
I have the same problem on 12.04 with Thunderbird 16.0.1. After starting, CPU spikes up to ~60% and stays there for around 20 minutes. Switching to offline mode immediately stops the problem, switching it back on resumes it, so yes, it is probably email syncing or something related. There is a good amount of emails in my TB (around 10k unread, and probably 50k read) and my .thunderbird folder is around 3GB of size, but I don't think this justifies what happens - probably it is a bug. I have attached my strace log (no gettimeofday calls btw); watch out, it blows up to 70MB when uncompressed. This problem is highly annoying and drains my CPU quickly. Do we have an upstream bug for this? ** Attachment added: "thunderbird strace during high CPU on email sync" https://bugs.launchpad.net/ubuntu/+source/thunderbird/+bug/927515/+attachment/3405629/+files/thunderbird.strace.xz -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/927515 Title: thunderbird uses excessive cpu power To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/thunderbird/+bug/927515/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 927515] Re: thunderbird uses excessive cpu power
I just tried thunderbird 16.0.1. I get the similar numbers as David: > - calls gettimeofday about 200 000 times I do not see this. > - trying to open different files in /usr/share/mime, 20 000 times > - trying to open gedit.desktop in different directories, 1300 times Those show up. I do not have a file global-messages-db.sqlite-journal. So solution #14 does not apply. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/927515 Title: thunderbird uses excessive cpu power To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/thunderbird/+bug/927515/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 927515] Re: thunderbird uses excessive cpu power
I was also having this issue with Ubuntu 12.04 and encrypted home directory. I removed the encryption for other reasons, and now thunderbird is not pegging CPU. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/927515 Title: thunderbird uses excessive cpu power To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/thunderbird/+bug/927515/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 927515] Re: thunderbird uses excessive cpu power
I was having this issue aswell with Ubuntu 12.04 and Thunderbird 15.0.1. The solution described in comment #14 works for me. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/927515 Title: thunderbird uses excessive cpu power To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/thunderbird/+bug/927515/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 927515] Re: thunderbird uses excessive cpu power
H'm, this may have been a transient issue. Just restarted again and all seems quiet now... -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/927515 Title: thunderbird uses excessive cpu power To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/thunderbird/+bug/927515/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 927515] Re: thunderbird uses excessive cpu power
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: thunderbird (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/927515 Title: thunderbird uses excessive cpu power To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/thunderbird/+bug/927515/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 927515] Re: thunderbird uses excessive cpu power
I can confirm this. It just does it occasionally, so it's not really reproducible. I had the issue a few days ago, then it settled down, and now it's back again. ** Tags added: regression-update -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/927515 Title: thunderbird uses excessive cpu power To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/thunderbird/+bug/927515/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs