Bug 1254133

Summary: thunderbird slow to the point of unusability
Product: [Fedora] Fedora Reporter: Avi Kivity <avi.kivity>
Component: thunderbirdAssignee: Jan Horak <jhorak>
Status: CLOSED EOL QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 25CC: avi.kivity, dustymabe, eloranta, gecko-bugs-nobody, hany, jeischma, mskinner, redhat-bugzilla, stransky
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-12-12 10:04:37 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Avi Kivity 2015-08-17 09:00:07 UTC
Description of problem:

Slow to the point of unusability.


Version-Release number of selected component (if applicable):
thunderbird-38.1.0-1.fc21.x86_64


How reproducible:

Intermittently, but fairly often (every few minutes)


Steps to Reproduce:
1. Open thunderbird with a large mailbox
2. Click around messages or folders
3. Howl in desperation as thunderbird freezes for many seconds at a time

Actual results:

Freezes (the shell offers to kill it, but it returns after a few seconds)

'perf top' shows morkZone::zone_grow_at as consuming >50% cpu time, with related functions prominent as well.  RSS fluctuates.  Looks like some internal compactor or garbage collector is thrashing.


Expected results:

Snappy performance.

Additional info:

Comment 1 Jan Horak 2015-08-20 09:31:25 UTC
Please check that if this does not help you:
https://bugzilla.redhat.com/show_bug.cgi?id=493000#c87

Comment 2 Avi Kivity 2015-08-24 11:21:50 UTC
It may be too early to tell for sure, but so far it seems to be working.

Comment 3 Avi Kivity 2015-08-24 11:28:19 UTC
As soon as I typed that I had a freeze, again with morkZone showing high in the profile.  I'll bump max_open again.

Comment 4 Avi Kivity 2015-08-27 07:49:35 UTC
After bumping up db_max_open to 100, I can confirm that the problem is NOT solved.

Comment 5 Dusty Mabe 2015-10-14 15:48:12 UTC
So I am on Fedora 22 and using different versions of thunderbird but I notice a similar issue where thunderbird periodically hangs for 30 seconds at a time.

This only happened for me after doing the following upgrade:

    Upgraded thunderbird-38.2.0-2.fc22.x86_64
    Upgrade              38.3.0-1.fc22.x86_64

I don't know if this can help anyone but the `perf top` output when this happens looks like:

  57.67%  libxul.so                      [.] 0x0000000000945b7c
   0.83%  libxul.so                      [.] 0x0000000000945b86
   0.24%  libxul.so                      [.] 0x0000000000945b80

Should I open a new bug for this or do we think this is close enough to stay in this same bug?

Comment 6 Fedora End Of Life 2015-11-04 10:09:42 UTC
This message is a reminder that Fedora 21 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 21. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '21'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 21 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 7 Avi Kivity 2015-11-04 10:24:02 UTC
Problem persists in F22.

Comment 8 Avi Kivity 2015-11-04 10:25:37 UTC
(In reply to Dusty Mabe from comment #5)
> So I am on Fedora 22 and using different versions of thunderbird but I
> notice a similar issue where thunderbird periodically hangs for 30 seconds
> at a time.
> 
> This only happened for me after doing the following upgrade:
> 
>     Upgraded thunderbird-38.2.0-2.fc22.x86_64
>     Upgrade              38.3.0-1.fc22.x86_64
> 
> I don't know if this can help anyone but the `perf top` output when this
> happens looks like:
> 
>   57.67%  libxul.so                      [.] 0x0000000000945b7c
>    0.83%  libxul.so                      [.] 0x0000000000945b86
>    0.24%  libxul.so                      [.] 0x0000000000945b80
> 
> Should I open a new bug for this or do we think this is close enough to stay
> in this same bug?

Install thunderbird-debuginfo and report the output of perf top again, and I can then tell you if it's the same issue (likely it is).

Comment 9 Avi Kivity 2016-06-21 08:09:20 UTC
It's even more unusable now with thunderbird-45.1.1-2.fc23.x86_64.

  53.57%  thunderbird      libxul.so           [.] morkTable::CutRow
  16.76%  thunderbird      libxul.so           [.] morkArray::CutSlot
   3.87%  thunderbird      libxul.so           [.] morkParser::ReadValue
   2.96%  thunderbird      [kernel.kallsyms]   [k] nmi
   2.69%  thunderbird      libxul.so           [.] morkBookAtom::HashFormAndBody
   2.34%  thunderbird      libxul.so           [.] morkMap::find
   1.98%  thunderbird      libxul.so           [.] morkBookAtom::EqualFormAndBody
   1.75%  thunderbird      libxul.so           [.] morkStream::Getc
   1.12%  thunderbird      libxul.so           [.] morkAtomBodyMap::Equal
   0.95%  thunderbird      libxul.so           [.] morkSink::Putc
   0.83%  thunderbird      libxul.so           [.] morkParser::NextChar
   0.82%  thunderbird      libxul.so           [.] morkMap::Put
   0.82%  thunderbird      libxul.so           [.] morkMap::grow
   0.78%  thunderbird      libxul.so           [.] morkParser::ReadHex
   0.71%  thunderbird      libxul.so           [.] morkAtomAidMap::Equal
   0.61%  thunderbird      libxul.so           [.] morkParser::FindGroupEnd
   0.52%  thunderbird      libxul.so           [.] morkMap::Get
   0.25%  thunderbird      libxul.so           [.] morkBuilder::OnNewCell
   0.24%  thunderbird      libxul.so           [.] morkRowMap::Equal

Comment 10 marc skinner 2016-09-06 14:25:06 UTC
Happens to me on F23.

Thunderbird version:

thunderbird-45.2.0-1.fc23.x86_64

in top - thunderbird show 100%

in perf top - libxul.so is running at 54.8%

Comment 11 Fedora End Of Life 2016-11-24 12:19:38 UTC
This message is a reminder that Fedora 23 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 23. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '23'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 23 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 12 Fedora End Of Life 2016-12-20 14:25:18 UTC
Fedora 23 changed to end-of-life (EOL) status on 2016-12-20. Fedora 23 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.

Comment 13 Avi Kivity 2017-01-09 07:38:54 UTC
Still just as bad on Fedora 25 (thunderbird-45.6.0-2.fc25.x86_64).

Comment 14 Jussi Eloranta 2017-02-02 18:40:19 UTC
I just started seeing this recently (thunderbird-45.6.0-5.fc25.x86_64). It makes thunderbird nearly unusable. When it gets stuck, it eats 100% of CPU and based on strace, it is reading some files back and forth.

Comment 15 Jan Horak 2017-04-07 06:33:44 UTC
Thunderbird 52 (currently in update testing) is bringing some improvement regarding performance (at least for me). Could you please report if you see any for your case?

Comment 16 Avi Kivity 2017-04-09 08:28:52 UTC
Mixed results: after about an hour of testing it feels much better, but there are still periods where it consumes 100% cpu.  Still, it's a significant improvement, at least in my testing so far.

Comment 17 Fedora End Of Life 2017-11-16 19:14:12 UTC
This message is a reminder that Fedora 25 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 25. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '25'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not
able to fix it before Fedora 25 is end of life. If you would still like
to see this bug fixed and are able to reproduce it against a later version
of Fedora, you are encouraged  change the 'version' to a later Fedora
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.

Comment 18 Fedora End Of Life 2017-12-12 10:04:37 UTC
Fedora 25 changed to end-of-life (EOL) status on 2017-12-12. Fedora 25 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.