[Akonadi] [Bug 341884] dozens of duplicate mails in ~/.local/share/akonadi/file_db_data

Martin Steigerwald ms at teamix.de
Wed May 27 10:25:40 BST 2015


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

--- Comment #7 from Martin Steigerwald <ms at teamix.de> ---
Bernhard, did you try anything to mitigate / work-around the issue? I suggest
at least a run of "akonadictl fsck" as I show it below. But you may also try
the SizeTreshold=32768 thing to mitigate the duplicates issues at least a bit –
maybe, I am not 100% positive that it help, but I think it does, cause it
causes payloads smaller than 32 KiB to go into the database and thus will in
general reduce amount of files in file_db_data. By this I think it will reduce
the chance of duplicates being created by a confused Akonadi server.

I thought I added it to the bug report, but I think there are at least two open
regarding file_db_data.

Ah, I mentioned in the other bug:

https://bugs.kde.org/show_bug.cgi?id=338402#c9
https://bugs.kde.org/show_bug.cgi?id=338402#c11

(These are really two different issues, one is about duplicates, one is about
the hugeness of that cache and probably also left over files or just too long
cache hold duration, since akonadictl fsck often moves lots of the files to
file_db-lost+found)


On my work account a huge Exchange IMAP:

I still do have duplicates, but not nearly as much after setting
SizeTreshold=32768 in [%General] of .config/akonadiserverrc

ms at merkaba:~/.local/share/akonadi/file_db_data> fdupes -m .
3753 duplicate files (in 1010 sets), occupying 2495.1 megabytes

Wow, but still, that is 2,4 GiB of larger files then.

Total figures:

ms at merkaba:~/.local/share/akonadi> du -sh *db_data
9,1G    db_data
2,9G    file_db_data



On my private account (POP3 and a smaller IMAP) things seem sane:

martin at merkaba:~/.local/share/akonadi> du -sh *db_data
2,7G    db_data
3,5M    file_db_data

ms at merkaba:~/.local/share/akonadi/file_lost+found> fdupes -m .
2916 duplicate files (in 686 sets), occupying 2206.8 megabytes

Now

ms at merkaba:~/.local/share/akonadi> rm -r file_lost+found 
ms at merkaba:~/.local/share/akonadi>

and more free space. :)

Daniel told several times that it is safe to remove file_lost+found.


Lets fsck the work one. Ok, there we go:

ms at merkaba:~/.local/share/akonadi/file_db_data> fdupes -m .
60 duplicate files (in 52 sets), occupying 8.9 megabytes

    .



See also:
https://lists.debian.org/debian-kde/2015/01/msg00055.html

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


More information about the Kdepim-bugs mailing list