[kmail2] [Bug 362896] New: Account freezes for several weeks when processing lots of emails

krystalcode via KDE Bugzilla bugzilla_noreply at kde.org
Tue May 10 16:04:42 BST 2016


https://bugs.kde.org/show_bug.cgi?id=362896

            Bug ID: 362896
           Summary: Account freezes for several weeks when processing lots
                    of emails
           Product: kmail2
           Version: 4.14.10
          Platform: Fedora RPMs
                OS: Linux
            Status: UNCONFIRMED
          Severity: critical
          Priority: NOR
         Component: message list
          Assignee: kdepim-bugs at kde.org
          Reporter: dbozelos at gmail.com

Kmail seems not to be able to handle operations on thousands of emails well. I
have encountered this in 2 cases.

1) Adding a new account with thousands of emails. The message list showed
nothing (0 emails) for almost a month. After the first shock, thinking that my
emails were wiped out, I realised that the emails were still on the IMAP
server. They showed up locally after several weeks. Then things went back to
normal.

2) Later I decided to apply an expiry filter on the Inbox of the same account.
I added a rule to move emails to a local folder. First tried moving only 2
months worth of emails, worked well and fast. Then 6 months worth of emails,
worked well and fast. Encouraged, I increased the number of emails to move to
about 2-3 years worth of emails, and ... I am still waiting. The account went
blank (message list shows nothing at all). After 2 weeks, few emails showed up,
but the account is still unusable - the vast majority of emails are still
hiding, including those that were not supposed to be moved.

I don't know enough of Kmail/akonadi's internals to interpret this bug, but it
looks like the tasks  for processing the emails are forgotten, and randomly
picked up at some point. System activity does not show any CPU/Memory usage
apart from 1% for Kmail, which I believe is just normal usage. Even with very
low priority, the tasks should have finished by now.

It would be great if some visibility would be provided about the status of
tasks. I wouldn't mind forcing processing all emails with high priority and
burn my CPU for an hour, but get them done, rather than rendering Kmail
unusable for an unpredictable amount of time.

-- 
You are receiving this mail because:
You are the assignee for the bug.



More information about the Kdepim-bugs mailing list