[Kde-pim] Akonadi taking HUGE place in $HOME

Martin Steigerwald martin at lichtvoll.de
Wed Sep 2 11:00:59 BST 2015


Am Mittwoch, 2. September 2015, 09:12:14 schrieb Yves Caniou:
> Hi,

Hello Yves,

> Sorry, it's been a very long time: I wanted to backup everything, and be
> sure to have time to restore.

np

> Le lundi 16 mars 2015 17:06:18 Martin Steigerwald a écrit :
> > Am Montag, 16. März 2015, 10:08:10 schrieb Yves Caniou:
> > > Hi,
> > 
> > HI Yves,
> > 
> > > $ du -h ~/.local/share/akonadi
> > > 14G     /home/ycaniou/.local/share/akonadi
> > > 
> > > and the directory was created only 17days ago.
> > > 
> > > Is there a mean to limit the place taken by akonadi?
> > > -- I removed this directory weighting more than 30GB 17days ago...
> > 
> > Now this *is large*, but it is not a new issue.
> > 
> > > In https://techbase.kde.org/Projects/PIM/Akonadi, it is said to change
> > > the settings innodb_log_file_size, but the value is only set to 64M
> > > already (in /home/ycaniou/.local/share/akonadi/mysql.conf btw, not in
> > > ~/.config/akonadi/mysql-local.conf, but unsure if the location here
> > > matters).
> > > 
> > > I'm running app-office/akonadi-server-1.13.0 from Gentoo.
> > > I also have kde-base/akonadiconsole-4.14.3 installed, in case that might
> > > help.
> > > 
> > > Any help appreciated.
> > 
> > First, please share details on your setup, expecially mail account size
> > and configuration, for example do you use offline IMAP or not. Versions of
> > Akonadi, KMail…
> 
> At the moment, I use the following:
> - app-office/akonadi-server 1.13.0-r1

I think you may need a newer akonadi-server. According to my knowledge the 
file leaking issue in Akonadi has been fixed. 

Huge POP3 with local maildir + 30 day IMAP:

martin at merkaba:~> du -sh ~/.local/share/akonadi/file_db_data/ 
14M     /home/martin/.local/share/akonadi/file_db_data/

Huge IMAP:

ms at merkaba:~> du -sh ~/.local/share/akonadi/file_db_data/
526M    /home/ms/.local/share/akonadi/file_db_data/

ms at mango:~> du -sh ~/.local/share/akonadi/file_db_data/
5,6M    /home/ms/.local/share/akonadi/file_db_data/

all with SizeTreshold=16384 in akonadiserver config.

> - kde-base/kmail 4.14.8
> 
> > Second, please review kdepim-users mailing list for the thread
[…]
> > 3) Akonadi seems to loose track of files in file_db_data which lets the
> > directory grow to extreme large sizes. akonadictl fsck will move files it
> > lost track of to some lost+found directory in there, there you can delete
> > them.

As written, this should be fixed meanwhile.
> 
> akonadictl fsck didn't work at first.
> I thus did akonadictl stop ; akonadictl fsck, which didn't seem to have any
> further effect. Then akonadictl start ; akonadictl fsck
> And that happens! Many files were not referenced:
> 
> du -h ~/.local/share/akonadi
> 2,2G    /home/ycaniou/.local/share/akonadi/file_db_data
> 113G    /home/ycaniou/.local/share/akonadi/file_lost+found

epic. :)

> 4,0K    /home/ycaniou/.local/share/akonadi/db_misc
> 110M    /home/ycaniou/.local/share/akonadi/db_data/akonadi
> 315M    /home/ycaniou/.local/share/akonadi/db_data
> 116G    /home/ycaniou/.local/share/akonadi
> 
> I just erased the useless 113G.
> Feeling lighter, with an only 250G HD..

Try to get hold of a newer Akonadi version.

Thanks,
-- 
Martin
_______________________________________________
KDE PIM mailing list kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/


More information about the kde-pim mailing list