Email Archive Delay to large archive folder of 170k messages
Categories
(Thunderbird :: General, defect)
Tracking
(Not tracked)
People
(Reporter: bugzilla.mozilla.org, Unassigned)
References
Details
(Keywords: perf, Whiteboard: [needs performance profile])
Attachments
(3 files)
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:93.0) Gecko/20100101 Firefox/93.0
Steps to reproduce:
CONFIGURATION:
Windows 10, Thunderbird 91, with no add-ons
- Setup Thunderbird
- Enable email account (I'm using pop3)
- Try marking emails as archived
Actual results:
The first archive action usually is delayed by 1-2 seconds, but subsequent archive actions usually are performed immediately. Occasionally a delay will happen on subsequent archives, but I haven't figured out how to make subsequent delays repeatable.
Things I've tried:
- Compacting Mailbox
- Archiving from different folders (doesn't seem to matter which one)
- Disabling antivirus (as was mentioned here: bug 777221)
- Checked to make sure indexing was not running
- Running in Troubleshooting mode (with add-ons disabled)
Expected results:
Archiving should be almost instantaneous.
This issue is more of an annoyance than a real issue since the functionality works, albeit delayed.
Comment 1•4 years ago
|
||
Do you still experience this issue with newest version?
:wsmwk Yes, I'm currently using 97.0b2 and still notice the issue.
To clarify, it's only on the first email that i try to archive. If i continue archiving emails the subsequent emails archive immediately.
If i leave the application for a few minutes and come back and start archiving again, the delay happens again on the first archived email.
A few other observations:
- If i drag the email to the Archive folder, the delay also happens (on the first archived email).
- If i delete the email, the email is deleted immediately (no delay)
Comment 4•4 years ago
|
||
(In reply to Meichthys from comment #2)
:wsmwk Yes, I'm currently using 97.0b2 and still notice the issue.
To clarify, it's only on the first email that i try to archive. If i continue archiving emails the subsequent emails archive immediately.
If i leave the application for a few minutes and come back and start archiving again, the delay happens again on the first archived email.
Just curious if Error Console has any info about what might be happening. Can you try this:
- Open TB and don't perform any actions.
- Press CTRL-SHIFT-J to open Error Console
- Once TB settles a bit, click the trash icon at top-left to clear the screen
- Try and perform your 1st archive action which usually causes you a delay
- Go back to Error Console and see if there are any errors and, if yes, past the error here
The following error shows up twice when following your steps, but I also get it when selecting on any message (without performing an action on it)
This page is in Quirks Mode. Page layout may be impacted. For Standards Mode use “<!DOCTYPE html>”.
I didn't get any other message.
I can confirm this is still an issue in v102.0b4
It happens in both online and offline mode, so I'm fairly confident it doesn't have to do with my server settings.
I can confirm that this happens with both mbox and maildir formats.
Now that the profiler is fixed, I'm able to get a profile that shows the delay. I'm not too sure how to use the profiler to pinpoint the cause of the delay, but I've added a screenshot that shows a second delay after archiving.
Reporter | ||
Comment 10•3 years ago
|
||
Comment 11•3 years ago
|
||
Can you reproduce this with 102.2.0?
If yes, please create a new profile and share the json file or uploaded URL using the updated instructions at https://support.mozilla.org/en-US/kb/profiling-thunderbird-performance (the instructions new produce a much better profile)
Reporter | ||
Comment 12•3 years ago
|
||
I'm on v104.0b4 and still seem to be noticing it (but maybe not as bad). Here's the profile: https://share.firefox.dev/3cgh7wN
Comment 13•2 years ago
|
||
How is the current beta?
Reporter | ||
Comment 14•2 years ago
|
||
It's not too bad, but there is still a definite delay when archiving the first email. Subsequent emails are archived immediately.
I think the profile i linked to above should still be relevant.
Reporter | ||
Comment 15•2 years ago
|
||
Just commenting here to indicate that this is still relevant for v116.0b7
Reporter | ||
Comment 16•2 years ago
|
||
str |
Slightly better STR:
- Close Thunderbird (if it's open)
- Re-open Thunderbird
- Select a mail item in inbox
- Wait a few seconds (as if to read the email)
- Archive the email
- Observe the second or two delay
- Wait a maybe 5 seconds after the email is archived (the next mail in the inbox will be selected)
- Archive again
- Observe the delay
- Try archiving emails without waiting in-between and archiving usually completes immediately.
Comment 17•2 years ago
|
||
Who is your mail provider?
How many messages in the target archive folder?
Please post a new profie.
Reporter | ||
Comment 18•2 years ago
|
||
I see this with two separate email providers (rackspace & purelymail) although the delay seems to be less noticeable now (perhaps 2-3 seconds).
The target archive folder probably has over 50k messages. I will try to provide an updated profile when i get back to my Thunderbird beta machine.
Reporter | ||
Comment 19•2 years ago
|
||
Here's a new profile:
https://profiler.firefox.com/public/xd777mm0hwxw2707zzdqk7s8fxp8c5mnzn46kxg/calltree/?globalTrackOrder=0w3&thread=0&v=10
Reporter | ||
Comment 20•1 year ago
|
||
Just following up to indicate that this is till relevant in the latest beta: 127.0b4
My profile size is: 14GB
The issue happens in Offline mode and Troubleshoot mode (I also do not use any extensions)
Reporter | ||
Comment 21•1 year ago
|
||
The attached console errors appear after the emails are finally archived (after the delay).
Reporter | ||
Comment 22•1 year ago
|
||
I'm not sure those console warnings are relevant not that i look at it closer since those same console warnings are shown when selecting different emails in the Archive inbox folder - without any delays.
Reporter | ||
Comment 23•1 year ago
|
||
Attaching new profile (looks the same as the older ones)
Reporter | ||
Comment 24•1 year ago
|
||
After much more testing I've found that the issue seems to be related to the size and or location of the Archive folder (My archive folder was a sub-folder of the inbox folder and contained over 170k emails).
If I change the account settings to archive to a different (smaller) folder, then the archiving happens immediately. When reverting to use the large archive folder, the archiving is slow again.
I've migrated to a new Thunderbird profile and am using the Thunderbird defaults for archive folder location (and archive folder per year). So far I have not seen the delay i was experiencing.
Comment 25•1 year ago
|
||
If you want to test the old profile using version 128, please obtain a performance profile https://support.mozilla.org/en-US/kb/profiling-thunderbird-performance.
Comment 26•1 year ago
|
||
I'm also facing this issue -- connecting to gmail -- and it's looking like for me the Build Graph
process is what takes a long time (upwards of 5 seconds with 100% pinned CPU).
Comment 27•11 months ago
|
||
(In reply to Dan Schultz from comment #26)
I'm also facing this issue -- connecting to gmail -- and it's looking like for me the
Build Graph
process is what takes a long time (upwards of 5 seconds with 100% pinned CPU).
Please attach a performance profile using version 128. And indicate the size of your archive folder.
Reporter | ||
Comment 29•10 months ago
|
||
Dan, could you test this? I've moved away from a large single Archive folder in favor of yearly archive folders so I don't experience this anymore.
Description
•