Summary: | KMail very slow after unchecking serverside subscription | ||
---|---|---|---|
Product: | [Unmaintained] KMail Mobile | Reporter: | Sabine Faure <sabine> |
Component: | general | Assignee: | kdepim bugs <kdepim-bugs> |
Status: | RESOLVED UNMAINTAINED | ||
Severity: | normal | CC: | bernhard, faure, tokoe, vkrause |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Sabine Faure
2010-09-23 19:03:28 UTC
One of the issues is that while the imap resource is syncing one new big folder, it cannot reply to other requests such as those triggered by trying to read a mail in kmail. So these requests time out. A dump on the scheduler showed it quite clearly: akonadi_imap_resource_2(14416)/libakonadi Akonadi::ResourceScheduler::dump: ResourceScheduler: Online: true akonadi_imap_resource_2(14416)/libakonadi Akonadi::ResourceScheduler::dump: current task: 1362 SyncCollection collection 741 akonadi_imap_resource_2(14416)/libakonadi Akonadi::ResourceScheduler::dump: queue 0 0 tasks: akonadi_imap_resource_2(14416)/libakonadi Akonadi::ResourceScheduler::dump: queue 1 0 tasks: akonadi_imap_resource_2(14416)/libakonadi Akonadi::ResourceScheduler::dump: queue 2 0 tasks: akonadi_imap_resource_2(14416)/libakonadi Akonadi::ResourceScheduler::dump: queue 3 3 tasks: akonadi_imap_resource_2(14416)/libakonadi Akonadi::ResourceScheduler::dump: 1672 ChangeReplay collection -12688 item 26080 akonadi_imap_resource_2(14416)/libakonadi Akonadi::ResourceScheduler::dump: 1673 ChangeReplay collection -14000 item 26081 akonadi_imap_resource_2(14416)/libakonadi Akonadi::ResourceScheduler::dump: 1674 ChangeReplay collection -14001 item 26082 akonadi_imap_resource_2(14416)/libakonadi Akonadi::ResourceScheduler::dump: queue 4 130 tasks: akonadi_imap_resource_2(14416)/libakonadi Akonadi::ResourceScheduler::dump: 1363 SyncCollection collection 742 akonadi_imap_resource_2(14416)/libakonadi Akonadi::ResourceScheduler::dump: 1364 SyncCollection collection 743 akonadi_imap_resource_2(14416)/libakonadi Akonadi::ResourceScheduler::dump: 1365 SyncCollection collection 744 akonadi_imap_resource_2(14416)/libakonadi Akonadi::ResourceScheduler::dump: 1366 SyncCollection collection 745 [...] So while it's getting collection 741, which takes a long time because it's a new folder with many emails, the "ChangeReplay" tasks for item 26080 and following, just time out. A bit later we could indeed see dbus timeout errors in the debug output, for these items. I don't know what the solution is, though; this seems like a major architectural issue in akonadi, where synchronous dbus calls are made to resource which could be busy with a very long task... *** Bug 257177 has been marked as a duplicate of this bug. *** Hej, is this still the case with current version? Email performance has been improved a lot in latest version. Ciao, Tobias I retested this today and it works a lot better indeed: * Opening an email to read it takes between 5 and 12 seconds * Opening a dialogue from a tab takes about 4 s * Launching a Composer takes about 28 s I think this is acceptable but Volker I'll let you decide whether you wish to close that bug or not. N900, 4:4.6~.20110114.0754.git620f98b-1maemo1.121392 |