Bug 407169 - IMAP constantly syncing
Summary: IMAP constantly syncing
Status: REPORTED
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: IMAP resource (show other bugs)
Version: 5.24.0
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-05-03 02:04 UTC by Aaron Williams
Modified: 2023-09-13 16:18 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Aaron Williams 2019-05-03 02:04:18 UTC
SUMMARY

I have Kontact running on several computers connected to two different IMAP accounts. One IMAP account is running on Cyrus and the other is connected to Microsoft Office 365. I am seeing both accounts repeatedly syncing the inbox folders almost nonstop. Every time I go to open an email it starts syncing.  These accounts hold a lot of email.  The Cyrus account has easily over 200K emails in the inbox.

I have run akonadictl fsck and akonadictl vacuum as well as restarted akonadi  yet the problem continues.

Note that I also have Akonadi configured to use PostgreSQL.

This behavior is occurring on several computers connected to the same IMAP accounts.

Periodically I have to restart akonadi when Kontact cannot open emails.

STEPS TO REPRODUCE
1. Start Kontact
2. Open an email
3. Kontact starts syncing the folder for each email opened

OBSERVED RESULT
Constantly syncing the Inbox

EXPECTED RESULT
It should not be constantly resyncing the Inbox

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: OpenSUSE 15.0 with latest KDE/QT/Plasma repos
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 Martin Steigerwald 2019-05-04 08:12:15 UTC
Dear Aaron, thank you for your report. I saw this as well with Office 365 IMAP. However, I found the default interval is 5 minutes, see settings of IMAP resource. If you have a lot of folders that may explain the regular syncing activity. I set it to 30 minutes meanwhile and it has been better since then.
Comment 2 Aaron Williams 2019-05-04 09:13:11 UTC
My interval is set to 60 minutes.
Comment 3 Aaron Williams 2023-09-09 14:26:24 UTC
I am still seeing this problem with 5.24.0.
Comment 4 Aaron Williams 2023-09-13 16:18:32 UTC
I might add that I am not using Office365 due to the fact that Akonadi does not support OAUTH2 authentication. This is happening with Cyrus IMAP.