[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Akonadiserver use too much memory after upgrade to Buster

Hi Abba,

I just checked here, I have around 30 MB usage per akonadiserver process. But 
I upgraded the system here quite some time back to buster. I remember that I 
also had some issues to get to a "stable state" again.

Here are my notes I took back then...:

Manually start, stop, restart:

akonadictl start
akonadictl stop
akonadictl restart

Reducing size of .local/share/akonadi/file_db_data:
https://bugs.kde.org/show_bug.cgi?id=282160 - comment 16:

akonadictl vacuum
akonadictl fsck

Just make it clear: vacuum compresses the mysql database (not related
to files_db_data). fsck find the files from that directory that are
not referenced anymore from the database, and moves it to the
~/.local/share/akonadi/file_lost+found/ folder.

From ~/.local/share/akonadi/file_lost+found the files need to be
deleted manually.

Clean akonadi configuration to fix KMail:

First, make sure that KMail is not running. Then backup configuration:
$ cp -a ~/.local/share/akonadi ~/.local/share/akonadi-old
$ cp -a ~/.config/akonadi ~/.config/akonadi-old

Start SystemSettings > Personal and remove all the resources. Go back
to Dolphin and remove the original ~/.local/share/akonadi and
~/.config/akonadi - the copies you made ensure that you can back-track
if necessary.

Now go back to the System Settings page and carefully add the
necessary resources. You should see the resource reading in your mail
folders. Then start Kontact/KMail to see if it work properly.

Resetting akonadi:

Hope that helps

Am Freitag, 19. Juli 2019, 11:29:41 CEST schrieb Abba Soungui YOUNOUSS:
> Here is the screenshot taken this morning, we are already at 2G of memory
> usage : https://cloud.soungui.cm/s/MSX2tMo7FrGAdPr
> --
> Le jeudi 18 juillet 2019, 21:41:17 WAT Abba Soungui YOUNOUSS a écrit :
> Hi,
> I just check with KSysguard: https://cloud.soungui.net/s/PmP84bxMB5WySfw.
> Right now, it's low because I restarted the services few minutes ago. By the
> way, i'll will try to run fcsk and vacuum to see if it make things better.
> --
> Le jeudi 18 juillet 2019, 17:42:43 WAT Rainer Dorsch a écrit :
> Hi Abba,
> can you show how you measure memory usage?
> Thanks
> Rainer
> Am Mittwoch, 17. Juli 2019, 14:15:34 CEST schrieb Abba Soungui YOUNOUSS:
> > Good morning,
> > 
> > I have 2 computers which were running Stretch and have been upgraded to
> > Buster recently. On both of them, I noticed an increase of memory usage
> > (3-4 G) for the process akonadiserver. The only workaround that I've found
> > till there, is to restart the service with akonadictl restart. It allow me
> > to work peacefully for about a hour.
> > 
> > Am I the only one? Is there an action needed after upgrade to Buster.

Rainer Dorsch

Reply to: