[Akonadi] [Bug 361737] New: duplicates values in SeenUidList and SeenUidTimeList until it crawls to an halt on saving messages

Martin Steigerwald via KDE Bugzilla bugzilla_noreply at kde.org
Wed Apr 13 22:42:03 BST 2016


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

            Bug ID: 361737
           Summary: duplicates values in SeenUidList and SeenUidTimeList
                    until it crawls to an halt on saving messages
           Product: Akonadi
           Version: GIT (master)
          Platform: Other
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: POP3 Resource
          Assignee: kdepim-bugs at kde.org
          Reporter: Martin at Lichtvoll.de
                CC: aacid at kde.org, vkrause at kde.org

This happened after I downgraded Akonadi from git master to Applications/16.04
due to a build failure for messagelib and thus kmail last weekend. It persists
after upgrading to git master again.

Basically in one POP3 resource, my main mail account akonadi POP3 resource
duplicates the same value in SeenUidList and SeenUidTimeList in
~/.config/akonadi_pop3_resource_0rc exceeds 100 KiB or even 500 KiB. And it
uses up one core of an Sandybridge i5 mobile cpu for minutes on saving a few
hundred messages to the inbox in batches of maybe 2-5 messages a time.

Reproducible: Always

Steps to Reproduce:
I am not sure what triggered this behaviour. It happened first after the
downgrade to Applications/16.04 from git master as of two weeks ago or so.

Actual Results:  
Extremely slow and CPU consuming POP3 mail download.

Expected Results:  
Each item just once in SeenUidList + SendUidTimeList. Fast POP3 download.

Here is an example file:

[General]
host=[…]
intervalCheckEnabled=true
intervalCheckInterval=120
leaveOnServer=true
leaveOnServerDays=2
login=[…]
pipelining=true
targetCollection=361
useTLS=true

[LeaveOnServer]
seenUidList=00315ba8446ce738,00315ba9446ce738,00315baa446ce738,00315bab446ce738,00315bac446ce738,00315bad446ce738,00315bae446ce738,00315baf446ce738,00315bb0446ce738,00315bb1446ce738,00315bb2446ce738,00315bb3446ce738,00315bb4446ce738,00315bb5446ce738,00315bb6446ce738,00315bb7446ce738,00315bb8446ce738,00315bb9446ce738,00315bba446ce738,00315bbb446ce738
seenUidTimeList=1460582993,1460582993,1460582993,1460582993,1460582993,1460582993,1460582993,1460582993,1460582993,1460582993,1460582993,1460582993,1460582993,1460582993,1460582993,1460582993,1460582993,1460582993,1460582993,1460582993

It always replicated the same value. I have a file with 100 KiB here in case
you need it.

As a work-around I disabled leaving mails on server so that it deletes them
immediately. The above config is after removing seenUidList and seenUidTimeList
manually from config file and having it run with delete all downloaded mail on
server again and it just starts duplicating the values again.

The work-around of delete all mails on server didn´t work either, as at least
once each mail appeared twice in inbox. So I enabled leaving mails on server
again, but this time only for 2 days, but then it again brought the size of
this config file that actually mixes *state* into config to more than 100 KiB
and slowling down message download considerable just within 1-2 days.

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


More information about the Kdepim-bugs mailing list