Closed Bug 1841597 Opened 1 year ago Closed 1 year ago

Cleaning inbox on exit hangs app shutdown

Categories

(Thunderbird :: General, defect)

Thunderbird 115
x86
Windows 10
defect

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1788599

People

(Reporter: cmgaudry33, Unassigned)

References

Details

(Keywords: perf)

Attachments

(1 file)

I'm migrating from Thunderbird 102 to 115 in my organization.
I always clean the profile with the same data each time I launch the application (so that I can reproduce any problem).

Everything is fine with Thunderbird 115 except the app shuts down.
Thunderbird 115.0b6 takes up to 90 seconds to completely shut down (time between requesting shutdown and process disappearance).

I tried with Thunderbird 111.Ob4 and 112.0b7, there is the same problem.

I've spent a few hours finding that disabling the "mail.server.server1.cleanup_inbox_on_exit" preference fixes the problem.

I did a profiling. You will see that cleaning the inbox takes 8 seconds, but you should know that enabling the profiler makes the shutdown faster and we can think there is no problem. When you disable profiling, the 90 seconds are back.

I thank you in advance.

Cheers,
Chris

PS: I can tell you that Thunderbird's performance and stability really seem to be going in the right direction. Good job to the whole team.

PS: https://profiler.firefox.com/from-file/calltree/?globalTrackOrder=01&hiddenGlobalTracks=1&hiddenLocalTracksByPid=2356-0w3~10060-0&thread=0&v=9

Flags: needinfo?(mkmelin+mozilla)
Attached image test_inbox.png

Here is my test inbox. It is not too big to justify a slow cleanup process.

might be a duplicate of bug #1788599. Does "going offline" also make thunderbird immediately exit for you ?

fwiw, i'm seeing the same symptoms with 115.0.1 on OpenBSD (eg super slow exit), and both (separately) going offline and resetting mail.server.server1.cleanup_inbox_on_exit to its default of false make thunderbird exit straight away.

Thanks for the bug report

(In reply to Landry Breuil (:gaston) from comment #2)

might be a duplicate of bug #1788599. Does "going offline" also make thunderbird immediately exit for you ?

fwiw, i'm seeing the same symptoms with 115.0.1 on OpenBSD (eg super slow exit), and both (separately) going offline and resetting mail.server.server1.cleanup_inbox_on_exit to its default of false make thunderbird exit straight away.

Very likely. afaict The slowness is not tied to folder size.

Status: NEW → RESOLVED
Closed: 1 year ago
Depends on: 1788599
Duplicate of bug: 1788599
Flags: needinfo?(mkmelin+mozilla)
Keywords: perf
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: