This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Akonadi and slow start

Tags: akonadi, plasma, pim, startup akonadi, plasma, pim, startup akonadi, plasma, pim, startup
(comma "," separated)
proninyaroslav
Registered Member
Posts
5
Karma
0

Akonadi and slow start

Sat Jun 25, 2016 8:20 am
Hello. For a long time I have noticed that if use akonadi, the startup time is markedly increased. I read a lot about this problem, but working solution I haven't found. Is there a way to use akonadi without effect a slow start?
User avatar
einar
Administrator
Posts
3402
Karma
7
OS

Re: Akonadi and slow start

Tue Jun 28, 2016 5:22 am
What version of Plasma, and what distribution are you using? Akonadi starts only if something requires its presence (it is loaded on-demand) so perhaps there's something in the startup that makes it start.


"Violence is the last refuge of the incompetent."
Image
Plasma FAQ maintainer - Plasma programming with Python
proninyaroslav
Registered Member
Posts
5
Karma
0

Re: Akonadi and slow start

Tue Jun 28, 2016 7:55 am
einar wrote:What version of Plasma, and what distribution are you using?

Yes, i use kmail which is loaded automatically at startup. Plasma 5.
User avatar
einar
Administrator
Posts
3402
Karma
7
OS

Re: Akonadi and slow start

Wed Jun 29, 2016 8:14 pm
I suspect this is caused by the Korganizer Reminder Daemon (which brings up reminder events) as well.


"Violence is the last refuge of the incompetent."
Image
Plasma FAQ maintainer - Plasma programming with Python
proninyaroslav
Registered Member
Posts
5
Karma
0

Re: Akonadi and slow start

Thu Jun 30, 2016 9:19 am
einar wrote:Korganizer Reminder Daemon

I renamed it to /etc/xdg/autostart/org.kde.korac.desktop.old. Startup speed has improved slightly, but I still get the black screen in plashashell for some time after startup.
A file list in /etc/xdg/autostart http://pastebin.com/knHYnWQR
User avatar
einar
Administrator
Posts
3402
Karma
7
OS

Re: Akonadi and slow start

Fri Jul 01, 2016 5:25 am
There might be other non-PIM factors weighing in, such as file indexing.


"Violence is the last refuge of the incompetent."
Image
Plasma FAQ maintainer - Plasma programming with Python
proninyaroslav
Registered Member
Posts
5
Karma
0

Re: Akonadi and slow start

Fri Jul 01, 2016 7:47 am
I turned off baloo, but it didn't help. The problem with akonadi I discovered a long time ago. If don't use kmail and turn off akonadi the problem disappears.
User avatar
einar
Administrator
Posts
3402
Karma
7
OS

Re: Akonadi and slow start

Sat Jul 02, 2016 7:08 am
Does this occur if you don't use session saving?


"Violence is the last refuge of the incompetent."
Image
Plasma FAQ maintainer - Plasma programming with Python
proninyaroslav
Registered Member
Posts
5
Karma
0

Re: Akonadi and slow start

Sat Jul 02, 2016 8:52 am
Yes, if disable session saving and remove kmail from autostart list, loading KDE occurs instantly. I think that the blame akonadi, since kmail uses akonadi.
User avatar
einar
Administrator
Posts
3402
Karma
7
OS

Re: Akonadi and slow start

Sun Jul 03, 2016 8:20 am
Then it's "working as advertised" as applications are restored early in the session. KMail starts, and it requires Akonadi to work properly, so Akonadi starts up as well. Then basically both KMail and Plasma are running and both require some disk access during startup, therefore causing this delay.


"Violence is the last refuge of the incompetent."
Image
Plasma FAQ maintainer - Plasma programming with Python


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Yahoo [Bot]