evolution-calendar-factory slows down session startup

Bug #1756389 reported by Jean-Baptiste Lallement
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
evolution-data-server (Ubuntu)
New
Undecided
Unassigned

Bug Description

On a default Bionic Desktop installation, evolution-calendar-factory starts early and slows down session startup. In the bootchart attached, it overlaps with gnome-shell startup which is also resource intensive.
With evolution-calendar-factory delayed gnome-shell starts 2 seconds faster.

evolution-calendar-factory startup should be delayed if it cannot be disabled completely.

The following changes to evolution-calendar-factory.service do this:
"""
[Unit]
Description=Evolution calendar service

[Service]
Type=dbus
BusName=org.gnome.evolution.dataserver.Calendar7
ExecStartPre=/bin/sleep 60
ExecStart=/usr/lib/evolution/evolution-calendar-factory
"""

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: evolution-data-server 3.28.0-1ubuntu1
ProcVersionSignature: Ubuntu 4.15.0-10.11-generic 4.15.3
Uname: Linux 4.15.0-10-generic x86_64
ApportVersion: 2.20.8-0ubuntu10
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Fri Mar 16 17:52:45 2018
InstallationDate: Installed on 2013-09-03 (1654 days ago)
InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Alpha amd64 (20130902)
ProcEnviron:
 TERM=screen-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=fr_FR.UTF-8
 SHELL=/bin/bash
SourcePackage: evolution-data-server
UpgradeStatus: Upgraded to bionic on 2018-01-26 (49 days ago)

Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :
Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

bootchart with ev-cal-factory delayed by 1 minute.

tags: added: rls-bb-incoming
Revision history for this message
Jeremy Bícha (jbicha) wrote :

Could you please propose this upstream (with a patch if you can) ?

https://bugzilla.gnome.org/enter_bug.cgi?product=evolution-data-server

Revision history for this message
Iain Lane (laney) wrote :

We just discussed this on IRC - I'm not happy with the proposed solution of inserting a delay into the startup file like this. It'll make timeouts and it's not really acceptable to have calendar events broken for 60 seconds in my opinion.

I think we should talk with upstream, but a better solution might be gnome-shell not activating evolution-calendar-factory until later in its startup, or not activating it at all and finding a clever place in the session to activate it.

summary: - Delay startup of evolution-calendar-factory
+ evolution-calendar-factory slows down session startup
Iain Lane (laney)
tags: added: rls-bb-notfixing
removed: rls-bb-incoming
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.