Re: akonadi dump

Martin Steigerwald <[email protected]>
Newsgroups gmane.comp.kde.users.pim
Message-ID <3467970.Z0IDdkRS87@merkaba>
Am Mittwoch, 21. Januar 2015, 09:31:47 schrieb Martin Steigerwald:
> Am Dienstag, 20. Januar 2015, 19:29:33 schrieb E. Hakan Duran:
> > Hi all,
> 
> Hi!
> 
> > Please accept my apologies if this is a common question, but I noticed
> > today that my ~/.local/share/akonadi/file_db_data/ folder is 79 GB in
> > size! I found this:
> > http://docs.kde.org/stable/en/kdepim/kmail/clean-start-after-a-failed-migr
> > a
> > tion.html but I have 7 identities and 7 IMAP accounts, which I hate to set
> > up again. What would be the cleanest way to get rid of the junk with
> > minimal impact on akonadi/kmail settings/performance?
> > 
> > Thanks in advance for the recommendations. Working with Fedora 21, KDE /
> > Kmail and KDEPIM 4.14.3 here.
> 
> akonadictl fsck helped here:
> 
> martin@merkaba:~/.local/share/akonadi> ls -l
> 
> 
> before:
> drwxr-xr-x 1 martin martin 772582 Jan 21 09:26 file_db_data
> 
> after:
> drwxr-xr-x 1 martin martin  92524 Jan 21 09:26 file_db_data
> 
> martin@merkaba:~/.local/share/akonadi> find file_db_data | wc -l
> 4633
> 
> 
> Lets see what it does on my company IMAP account on this laptop. find | wc
> -l shows more than 650000+ files in there! Thats crazy.
> 
> I would like to influence how long it caches. And I´d like it to clean out
> unreferenced entries by itself, why do these happen anyway?

There is a bug report concerning this up:

Bug 338402 - File system cache is inneficient : too many file per directory

You may want to cc and comment on it, as I did now too.

I also reported:

Bug 332013 - NFS with NetApp FAS: please split payload files in file_db_data 
into several directories to avoid reaching maxdirsize limit on Ontap / WAFL 
filesystem 



And then we have:

Bug 341884 - dozens of duplicate mails in ~/.local/share/akonadi/file_db_data 


If you didn´t akonadictl fsck it yet, can you try running

ms@merkaba:~/.local/share/akonadi/file_db_data> fdupes -m . 1736 duplicate files 
(in 1729 sets), occupying 8.6 megabytes

and check what you get? It may take a huge time. I did this run after an 
akonadictl fsck, so it may have removed most duplicates.

Ciao,
-- 
Martin 'Helios' Steigerwald - http://www.Lichtvoll.de
GPG: 03B0 0D6C 0040 0710 4AFA  B82F 991B EAAC A599 84C7
_______________________________________________
KDE PIM users mailing list
Subscription management: https://mail.kde.org/mailman/listinfo/kdepim-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.