[Bug 704623] Re: Thunderbird renders system unusable / uses 100% CPU while indexing new messages
Launchpad has imported 95 comments from the remote bug at https://bugzilla.redhat.com/show_bug.cgi?id=493000. If you reply to an imported comment from within Launchpad, your comment will be sent to the remote bug automatically. Read more about Launchpad's inter-bugtracker facilities at https://help.launchpad.net/InterBugTracking. On 2009-03-31T08:19:08+00:00 redhat wrote: Description of problem: Since upgrading to thunderbird 3 beta my x86_64 WS. is having semi long periods of 100% cpu usage. My i686 laptop with the same setup does not show this. I have two IMAP accounts, both woth several Gigabyte of mail in multiple folders, some with a few hundred thousand messages. Automatich check for new messages is turned OFF for both accounts, and junk filter in thunderbird is disabled. I even tried to rm -Rf the thunderbird profile-folder and set up the accounts from scrath, but the problem persists. As mentioned this only happens on x86_64 and was not an issue with Thunderbird 2 (I downgraded to the latest Thunderbird 2 package to check, and the problem disappeared). Version-Release number of selected component (if applicable): thunderbird-3.0-2.1.beta2.fc11.x86_64 How reproducible: Always Steps to Reproduce: 1. Run thunderbird (v3 beta) 2. 3. Actual results: Every 10-15 minutes thunderbird freezes and cpu usage peaks at 100% for 2-3 minutes. Expected results: Thunderbird should run smooth all the time Additional info: Reply at: https://bugs.launchpad.net/ubuntu/+source/thunderbird/+bug/704623/comments/0 On 2009-03-31T11:12:05+00:00 mcepl wrote: Hmm, I am exactly the same configuration here and cannot reproduce it. Is there something more which could help us to reproduce it here. For example, which filesystem you use for your /home directory? Reply at: https://bugs.launchpad.net/ubuntu/+source/thunderbird/+bug/704623/comments/1 On 2009-03-31T11:20:13+00:00 redhat wrote: /home is actually on NFS, but that is the same for both the (i686) laptop and the (x86_64) workstation. To be sure NFS is not the problem I have moved the profile from $HOME/.thunderbird/ to a local filesystem and added a symlink: lrwxrwxrwx. 1 olen olen 42 2007-09-17 19:34 .thunderbird/gwagla2i.jobb -> /var/cache/olen/thunderbird/gwagla2i.jobb/ /var/cache is part of / which is LVM with ext3 $ df /var/cache/olen/thunderbird/gwagla2i.jobb/ Filesystem1K-blocks Used Available Use% Mounted on /dev/mapper/VolGroup00-LogVol00 149248172 35944648 105599768 26% / When stracing the process I can't see anything special, but please let me know if there is anything else I can do to debug this. Reply at: https://bugs.launchpad.net/ubuntu/+source/thunderbird/+bug/704623/comments/2 On 2009-03-31T11:33:36+00:00 mcepl wrote: First of all, could we get output of the command rpm -qa *xulrun* *thunderbird* *mozilla* *flash* *plugin* Please also install thunderbird-debuginfo (debuginfo-install is from yum-utils package). debuginfo-install thunderbird Then run thunderbird and connect to it with gdb by command gdb --pid=$(pidof thunderbird-bin) Then make thunderbird work again with command (gdb) cont and do whatever you did to make thunderbird freeze. When it happens, you should go back to the gdb and run (gdb) thread apply all backtrace This produces usually many screens of the text. Copy all of them into a text editor and attach the file to the bug as an uncompressed attachment. We will review this issue again once you've had a chance to attach this information. Thanks in advance. Reply at: https://bugs.launchpad.net/ubuntu/+source/thunderbird/+bug/704623/comments/3 On 2009-03-31T11:47:12+00:00 redhat wrote: Here is the rpm -qa -output. Attaching gdb-output as soon as I have it: # rpm -qa *xulrun* *thunderbird* *mozilla* *flash* *plugin* PackageKit-yum-plugin-0.4.6-0.3.20090324git.fc11.x86_64 plymouth-plugin-spinfinity-0.7.0-0.2009.03.10.2.fc11.x86_64 gstreamer-plugins-base-0.10.22-2.fc11.x86_64 mozilla-filesystem-1.9-4.fc11.x86_64 nspluginwrapper-1.3.0-5.fc11.x86_64 plymouth-plugin-label-0.7.0-0.2009.03.10.2.fc11.x86_64 alsa-plugins-pulseaudio-1.0.18-3.fc11.x86_64 setroubleshoot-plugins-2.0.14-2.fc11.noarch yum-plugin-refresh-updatesd-1.1.21-2.fc11.noarch gutenprint-plugin-5.2.3-5.fc11.x86_64 xulrunner-1.9.1-0.11.beta3.fc11.x86_64 xfce4-mailwatch-plugin-1.1.0-3.fc11.x86_64 gstreamer-plugins-good-0.10.14-2.fc11.x86_64 gstreamer-plugins-farsight-0.12.10-2.fc11.x86_64 plymouth-plugin-pulser-0.7.0-0.2009.03.10.2.fc11.x86_64 yum-plugin-fastestmirror-1.1.21-2.fc11.noarch anaconda-yum-plugins-1.0-4.fc1
[Bug 704623] Re: Thunderbird renders system unusable / uses 100% CPU while indexing new messages
** Changed in: thunderbird (Fedora) Status: Unknown => Fix Released ** Changed in: thunderbird (Fedora) Importance: Unknown => Medium -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/704623 Title: Thunderbird renders system unusable / uses 100% CPU while indexing new messages To manage notifications about this bug go to: https://bugs.launchpad.net/thunderbird/+bug/704623/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 704623] Re: Thunderbird renders system unusable / uses 100% CPU while indexing new messages
** Changed in: thunderbird (Ubuntu) Status: Confirmed => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/704623 Title: Thunderbird renders system unusable / uses 100% CPU while indexing new messages To manage notifications about this bug go to: https://bugs.launchpad.net/thunderbird/+bug/704623/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 704623] Re: Thunderbird renders system unusable / uses 100% CPU while indexing new messages
Fixed in later Thunderbird releases afaik Thunderbird nightly afaik 36a1 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/704623 Title: Thunderbird renders system unusable / uses 100% CPU while indexing new messages To manage notifications about this bug go to: https://bugs.launchpad.net/thunderbird/+bug/704623/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 704623] Re: Thunderbird renders system unusable / uses 100% CPU while indexing new messages
This bug cant be fixed until indexing mailboxes is overhauled. There are some workarounds, but these do not really solve the bug at all. Main problem: if you set the time between re-index runs to short one process wont have finished before the next one is started. You may end up having tens to hundred indexing processes run. slowing down the whole system or, at least make thunderbird unresponsive. Setting re-index time up solves this partly, by lowering opportunity having an index process started before the before started one finished. Solving the issue means to invent locking for those processes: if one is started an other one started later lands in a queue or terminates immediately. Both solutions take some non trivial changes to how indexing is triggered. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/704623 Title: Thunderbird renders system unusable / uses 100% CPU while indexing new messages To manage notifications about this bug go to: https://bugs.launchpad.net/thunderbird/+bug/704623/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 704623] Re: Thunderbird renders system unusable / uses 100% CPU while indexing new messages
** Changed in: thunderbird Status: Confirmed => Expired -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/704623 Title: Thunderbird renders system unusable / uses 100% CPU while indexing new messages To manage notifications about this bug go to: https://bugs.launchpad.net/thunderbird/+bug/704623/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 704623] Re: Thunderbird renders system unusable / uses 100% CPU while indexing new messages
Thunderbird bug 712371 is closed. And is not related to news. Please recheck your bug using a current version. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/704623 Title: Thunderbird renders system unusable / uses 100% CPU while indexing new messages To manage notifications about this bug go to: https://bugs.launchpad.net/thunderbird/+bug/704623/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 704623] Re: Thunderbird renders system unusable / uses 100% CPU while indexing new messages
** Changed in: icedove (Debian) Status: Unknown => New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/704623 Title: Thunderbird renders system unusable / uses 100% CPU while indexing new messages To manage notifications about this bug go to: https://bugs.launchpad.net/thunderbird/+bug/704623/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 704623] Re: Thunderbird renders system unusable / uses 100% CPU while indexing new messages
Launchpad has imported 34 comments from the remote bug at https://bugzilla.mozilla.org/show_bug.cgi?id=712371. If you reply to an imported comment from within Launchpad, your comment will be sent to the remote bug automatically. Read more about Launchpad's inter-bugtracker facilities at https://help.launchpad.net/InterBugTracking. On 2011-12-20T19:04:43+00:00 Wil Clouser wrote: Prior to the Mozilla email troubles Thunderbird was fine. Now it's nearly unusable for me. I assume something in my profile but I don't know how to test it or what to look for. - On start up no window is displayed and Thunderbird consumes 100% cpu for around 60 seconds. Soon I get a popup that says "Warning: Unresponsive Script" for "Script: resource://modules/iteratorUtils.jsm:117". If I click Continue Thunderbird launches and is usable. - On switching windows to Thunderbird (it was running in the background) the window is unresponsive, CPU is at 100% for about 30s. CPU returns to idle, Thunderbird is usuable What can I give you that would help figure this out? I have some local folders, but most activity is via IMAP. The sizes of the folders are similar to what they were pre-catastrophe. This is Thunderbird 8 on Linux. I have lightning installed, but this happens with it disabled also. Reply at: https://bugs.launchpad.net/thunderbird/+bug/704623/comments/2 On 2011-12-22T14:16:06+00:00 Vseerror wrote: I don't know what this means "Prior to the Mozilla email troubles". Please explain. What were your results with safe mode? http://support.mozillamessaging.com/en-US/kb/safe-mode Reply at: https://bugs.launchpad.net/thunderbird/+bug/704623/comments/3 On 2011-12-22T16:40:17+00:00 Wil Clouser wrote: (In reply to Wayne Mery (:wsmwk) from comment #1) > I don't know what this means "Prior to the Mozilla email troubles". Please > explain. Mozilla had major email outages with some data loss last week. Perhaps unrelated but it's the only major event recently. > What were your results with safe mode? > http://support.mozillamessaging.com/en-US/kb/safe-mode No difference. The only output when run from a command line is "Error -> TypeError: GetSelectedMsgFolder() is undefined" Reply at: https://bugs.launchpad.net/thunderbird/+bug/704623/comments/4 On 2011-12-23T07:13:43+00:00 M-wada wrote: Phenomenon reported to this bug can easily be observed by next procedure. (1) Copy small Tb profileP1) to new profile(P2) for test. - Copy ...\Profiles\...P1... directory to ...\Profiles\...P2... directory - Start profile manager(thunderbird.exe -ProfileManager), and add the copied - profile as new profile. Create Profile, name=P2, Choose Folder, and select - the copied ...\Profiles\...P2... directory. (2) Create many local mail folder files under Local Folders of copied P2. - Create file and directory for subfolders. file : ...\Profiles\...P2...\Mail\Local Folders\Test directory : ...\Profiles\...P2...\Mail\Local Folders\Test.sbd - Create many files for mail folder under ...\Test.sbd. For example, create X-1 to X- file for Test/X-1 to Test/X- folder. create null file named X-0, Do NN=1 to ; Copy "X-0" "X-"||NN ; End; (Rexx like pseudo code) (3) Delete panacea.dat in profile directory for P2. delete ...\Profiles\...P2...\panacea.dat (4) Start Tb using the copied profile, P2, with offline mode in order to prohibit server access. thunderbird.exe -offline -p "P2" => It takes long, CPU 100%, Unresponsive Script warning (5) Repeat step (4) several times. Similar slowess can be observed without deletion of panacea.dat, because very many local folder files are created intentionally. panacea.dat file holds relation among mail folder name, .msf file path, mail folder file path(Inbox instead of Inbox.msf if folder of Inbox). If panacea.dat is corrupted or lost, directory scan for mail folder file, for assciated .msf file, for associated .sbd directory, happens on any subdirectory under ...\Mail. Because directory scan is time consuming work and CPU power is consumed by OS, and because Tb produces many directory scans than manatory/minimum number of scans, it usually takes long. Needless to say, directory scan is applicable to .msf file, offline-store file, .sbd directory for IMAP folder too(...\ImapMail directory). And, if IMAP, sync'ed status is perhaps lost, then, re-fetch of mail headers of all mails in all mail folders, and re-download of all mail data of all offline-use folder, perhaps happens. Bug opener, how many mail folders do you have? Reply at: https://bugs.launchpad.net/thunderbird/+bug/704623/comments/5 ---
[Bug 704623] Re: Thunderbird renders system unusable / uses 100% CPU while indexing new messages
** Summary changed: - thunderbird renders system unusable + Thunderbird renders system unusable / uses 100% CPU while indexing new messages ** Bug watch added: Red Hat Bugzilla #493000 https://bugzilla.redhat.com/show_bug.cgi?id=493000 ** Also affects: thunderbird (Fedora) via https://bugzilla.redhat.com/show_bug.cgi?id=493000 Importance: Unknown Status: Unknown ** Bug watch added: Mozilla Bugzilla #712371 https://bugzilla.mozilla.org/show_bug.cgi?id=712371 ** Also affects: thunderbird via https://bugzilla.mozilla.org/show_bug.cgi?id=712371 Importance: Unknown Status: Unknown ** Bug watch added: Debian Bug tracker #574033 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=574033 ** Also affects: icedove (Debian) via http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=574033 Importance: Unknown Status: Unknown -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/704623 Title: Thunderbird renders system unusable / uses 100% CPU while indexing new messages To manage notifications about this bug go to: https://bugs.launchpad.net/thunderbird/+bug/704623/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 704623] Re: thunderbird renders system unusable
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/704623 Title: Thunderbird renders system unusable / uses 100% CPU while indexing new messages To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/thunderbird/+bug/704623/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 704623] Re: thunderbird renders system unusable
Further: indexers are started for nntp too. Fetching new messages from, say gmane.org --- 2543 indexer threads running. Bad! -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/704623 Title: thunderbird renders system unusable To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/thunderbird/+bug/704623/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 704623] Re: thunderbird renders system unusable
This is related to Thunderbird global indexer. It is @ยง$%&(/=?*'{[!"@@ inefficiently written. And while indexing killing the whole system. Second point: the indexer does a full index every time a new mail arrives. And to make the whole messy: it starts over and over again -- even if it is already running for every mail arriving!! In short: if two mails arrive, two indexer threads are started. If four mails arrive four. If 100 mail arrive, 100. Quite clear now why Thunderbird renders every machine it is installed unusable -- especially if the indexer is started before the previously started indexers finished. from time to time I have about 1000 indexer threads running ...! That is a real bug! If one indexer was started, it shall block starting further indexers, running them later, after it has finished, not trying to start as many as the system allows! -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/704623 Title: thunderbird renders system unusable To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/thunderbird/+bug/704623/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 704623] Re: thunderbird renders system unusable
Why don't start indexing once AFTER news where fetched, not once for every message fetched?? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/704623 Title: thunderbird renders system unusable To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/thunderbird/+bug/704623/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 704623] Re: thunderbird renders system unusable
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/704623 Title: thunderbird renders system unusable -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs