Closed Bug 1538097 Opened 5 years ago Closed 5 years ago

Random rise in CPU load on linux

Categories

(Thunderbird :: Untriaged, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: remus, Unassigned)

References

Details

(Keywords: perf, Whiteboard: [needs profile])

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:66.0) Gecko/20100101 Firefox/66.0

Steps to reproduce:

Use Thunderbird. (Multiple mail accounts, no add-ons.)
Problem occurs completely randomly, as far as I can tell.
My .thunderbird folder has 3.9 GB at this point, so maybe it’s got something to do with that?
I have a log file of one instance that showed this behavior (setting all levels to 4 (debug) in $MOZ_LOG), but it’s 150 MB so I’d need to know what to look for. (It’s got 126k debug messages, 1.3M info messages and 1.3k warnings.)

Actual results:

Suddenly, CPU load for the process goes to 50-70% and stays there, slowing down the whole system (to the point where typing lags). (I have four 3.4 GHz cores.)

Expected results:

CPU load should have stayed where it’s supposed to be.

such a large logfile isn't likely to be useful.

A profile is needed, but I'm not sure that is working yet.

Depends on: 1507709
Keywords: perf
Summary: Random rise in CPU load → Random rise in CPU load on linux
Whiteboard: [needs profile]

Thomas,

Please run the performance profiler:

  1. install profiler add-on into thunderbird - download the file from https://github.com/firefox-devtools/Gecko-Profiler-Addon/blob/master/gecko_profiler.xpi?raw=true and in Tools > add-ons click the gear to install add-on from file

  2. Follow instructions at https://profiler.firefox.com/ (videos BASED ON FIREFOX at https://profiler.firefox.com/docs/#/./videos-intro )

You must be using current nightly build from https://archive.mozilla.org/pub/thunderbird/nightly/latest-comm-central/

And backup your profile before testing - https://support.mozilla.org/en-US/kb/profiles-where-thunderbird-stores-user-data#w_backing-up-a-profile

Flags: needinfo?(remus)

Apologies, 67.0b3 will not work. Please use nightly build from https://archive.mozilla.org/pub/thunderbird/nightly/latest-comm-central/

More info still needed.

FWIW https://support.mozilla.org/en-US/questions/1227634 describes high CPU under linux

Status: UNCONFIRMED → RESOLVED
Closed: 5 years ago
Flags: needinfo?(remus)
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.