[Akonadi] [Bug 364114] moving a folder within one maildir resource is extremely slow and inefficient

Martin Steigerwald bugzilla_noreply at kde.org
Sat May 6 10:42:17 BST 2017


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

--- Comment #7 from Martin Steigerwald <Martin at Lichtvoll.de> ---
Okay, I now stopped Akonadi after more than one hour of it trying to move that
folder around. So far it didn´t move a single mail file. They are all still
here:

martin at merkaba:~/.local/share/local-mail/.Lichtvoll.directory/.Linux.directory>
find btrfs-ml -type f | wc -l 
63720

martin at merkaba:~/.local/share/local-mail/.Lichtvoll.directory/.Linux.directory>
du -sh btrfs-ml
521M    btrfs-ml

Additionally it didn´t even create the target directory.

This is *just* moving a folder!

So my guess is again that it was still occupied with moving all those mails
into the cache, i.e. into mysqld database or if threshold exceeded lost and
found.

Well sure enough it was:

martin at merkaba:~/.local/share/akonadi> find file_db_data -type f | wc -l
46846
martin at merkaba:~/.local/share/akonadi> du -sh file_db_data
462M    file_db_data

I bet some are also in there.

martin at merkaba:~/.local/share/akonadi> du -sh db_data 
4,2G    db_data

Luckily after the restart Akonadi forgot that it was to move that large folder.
So… I will just fsck and then vacuum the whole thing back to some sanity again.

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


More information about the Kdepim-bugs mailing list