Score:0

High startup time in ubuntu

pl flag

I have Legion Y530 with a 1TB HDD & 128GB SDD. I have Windows on my SDD and Ubuntu installed on my HDD. Ubuntu takes about 10 minute to boot up. Here is what I get when I run systemd-analyze time:

Startup finished in 3.870s (kernel) + 12min 20.274s (userspace) = 12min 24.144s graphical.target reached after 9min 18.431s in userspace

Here is what I get when I run systemd-analyze critical-chain:

The time when unit became active or started is printed after the "@" character. The time the unit took to start is printed after the "+" character.

graphical.target @9min 18.431s
└─multi-user.target @9min 18.431s
  └─docker.service @48.222s +8min 30.208s
    └─containerd.service @25.523s +22.695s
      └─network.target @25.518s
        └─NetworkManager.service @17.944s +7.572s
          └─dbus.service @17.937s
            └─basic.target @17.798s
              └─sockets.target @17.798s
                └─snapd.socket @17.794s +1ms
                  └─sysinit.target @17.650s
                    └─snapd.apparmor.service @17.237s +412ms
                      └─apparmor.service @16.447s +789ms
                        └─local-fs.target @16.445s
                          └─run-snapd-ns-snap\x2dstore.mnt.mount @9min 42.475s
                            └─run-snapd-ns.mount @9min 34.928s
                              └─local-fs-pre.target @3.952s
                                └─systemd-tmpfiles-setup-dev.service @2.793s +1>
                                  └─systemd-sysusers.service @2.454s +337ms
                                    └─systemd-remount-fs.service @2.282s +162ms

Can someone help me out?

N0rbert avatar
zw flag
What is your Ubuntu version?
aq flag
are you using docker?
James S. avatar
de flag
Docker certainly seems to be the culprit, here.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.