Bug 292909 - IMAP access often very slow or hangs
Summary: IMAP access often very slow or hangs
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kmail2
Classification: Applications
Component: folders (show other bugs)
Version: 4.8
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-30 21:45 UTC by Aaron Williams
Modified: 2015-09-11 19:36 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Aaron Williams 2012-01-30 21:45:37 UTC
Version:           4.8 (using KDE 4.8.0) 
OS:                Linux

Often when trying to read my email which is stored on an IMAP server (Microsoft Online Services) I run into problems where KMail will just hang saying "Retrieving Folder Contents  Please wait..."

Fairly often KMail will take many seconds to complete the operation and in some cases KMail will hang and never recover. Even clicking on a different email does not make it recover, even if it was previously opened.

I am also using several filters on incoming email to move emails from various mailing lists into folders.

I do not have any problems when using Thunderbird connected to the same server.

When it hangs I typically need to restart Akonadi in order to recover.

Note that I have a fair number of emails in several IMAP folders. My inbox has about 7300 emails and my largest subfolder has 33,967 emails (8862 unread).

Reproducible: Sometimes

Steps to Reproduce:
Click on various emails until it hangs.

Actual Results:  
KMail will frequently be very slow to open the email and will periodically hang completely and not recover.

Expected Results:  
It should open and read emails in a reasonable amount of time (a second or two at the most).

OS: Linux (x86_64) release 3.1.0-1.2-desktop
Compiler: gcc
Comment 1 Geert Janssens 2012-03-20 20:24:35 UTC
I run into exactly the same problem regularly since I updated from kde 4.7.4 to 4.8.1 on Fedora 16. I wish I could give more information, but I haven't found a pattern or useful log message so far.
Comment 2 Martin Steigerwald 2015-09-11 19:36:50 UTC
Hello Aaron and Geert, thank you for your report and comment. Sorry for
taking such a long time to answer.

It is about a version of KMail which uses Nepomuk and is unmaintained. Thus
closing. If you still see performance issues please open new reports. But
please follow the following guide lines to avoid unnecessary work for the
developers:

- Ideally test with KDEPIM and Akonadi 15.08. It contains some performance
improvements like the binary protocol.

- Otherwise at least use KDEPIM 4.14.10 and newest Akonadi 1.13 you can get as
it already contains some performance improvements.

- If you can wait, please retest with KDEPIM and Akonadi 15.12 once they become
available for you. Akonadi 15.12 will contain *massive* performance
improvements implemented by Dan due to new database indexes, optimized queries
and leveled file_db directory. All of these are in master already, so if you
dare use kdesrc-build to compile KF5, kdepim and kdepim-runtime. I am using
this currently and it basically moves the bottleneck to KMail (displaying message list
of huge folder). It is a *huge* improvement. And also Volker and Dan work to improve
message list display speed as well.

- Please also always report only one issue per report and check for duplicates before
reporting.

Specifically with IMAP I already saw quite some improvements with KDEPIM 4.14
and latest Akonadi 1.13 already, but now its even better. It even works with Microsoft
Exchange since then.

Thank you and greetings from KDE Randa Meetings,
Martin