[systemd-devel] 3.7s for systemd-logind.service starting

Lennart Poettering lennart at poettering.net
Fri Jul 3 00:28:35 PDT 2015


On Fri, 03.07.15 05:05, RayBloodworth (k870818319 at outlook.com) wrote:

> Hi, everyone
>  
>     I'm optimizing booting performance of my system.
>  
>     systemd version: 208

This is ancient. Please report only issues with very recent releases
of systemd upstream, thanks!

>     platform: freescale i.MX6D Cortex-A9
>  
>     I found "systemd-logind.service" takes about 3.7s for starting.
>     Then I added many logs about system time and found that method "manager_connect_bus()" in logind.c takes 2.4718s.
>  
>     Method "dbus_bus_get_private()" in  "manager_connect_bus()"  blocks 2.3s ...
>  
>     Could anyone help me with this issue?

Most likely logind is just blocking on dbus-daemon to start up fully,
and that's the actualy culprit for you.

Lennart

-- 
Lennart Poettering, Red Hat


More information about the systemd-devel mailing list