Ubuntu bootup is slow
This bug report will be marked for expiration in 42 days if no further activity occurs. (find out why)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
chromium (Ubuntu) |
Incomplete
|
Undecided
|
Unassigned | ||
plymouth (Ubuntu) |
Incomplete
|
Undecided
|
Unassigned |
Bug Description
Desktop bootup is very slow, some outputs are below:
tsharma@
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 @2min 34.609s
└─multi-user.target @2min 34.609s
└─plymouth-
└─systemd-
└
tsharma@
2min 12.988s apt-daily-
2min 1.745s plymouth-
1min 12.069s mysql.service
53.186s preload.service
39.394s snapd.seeded.
35.204s snapd.service
33.738s logrotate.service
30.775s e2scrub_
23.808s <email address hidden>
22.731s apache2.service
21.114s ModemManager.
20.871s nginx.service
20.850s networkd-
20.017s NetworkManager-
19.043s udisks2.service
12.407s accounts-
11.454s teamviewerd.service
10.403s power-profiles-
10.219s cups.service
9.611s polkit.service
8.964s redis-server.
7.785s NetworkManager.
7.582s avahi-daemon.
7.582s bluetooth.service
7.125s switcheroo-
7.117s thermald.service
7.115s systemd-
7.106s wpa_supplicant.
7.084s webmin.service
6.258s plymouth-
5.801s ssh.service
5.596s xrdp.service
5.560s update-
5.510s gdm.service
4.798s smartmontools.
4.379s dev-sda6.device
4.067s systemd-
3.916s gpu-manager.service
3.827s ua-timer.service
3.539s phpsessionclean
3.519s systemd-
3.391s apparmor.service
3.258s usermin.service
3.176s ufw.service
2.989s xrdp-sesman.service
2.945s apport.service
2.665s grub-common.service
2.219s systemd-
2.216s rsyslog.service
2.215s boot.mount
2.150s snap-bare-5.mount
2.067s snap-canonical\
2.032s snap-canonical\
1.978s systemd-
1.926s snapd.apparmor.
1.924s plymouth-
1.842s systemd-
1.693s snap-chromium-
1.650s packagekit.service
1.456s systemd-
1.444s dev-loop11.device
1.417s snap-core-
1.349s snap-core20-
1.249s grub-initrd-
1.232s snap-core22-
1.182s snap-core22-
1.181s systemd-
1.086s snap-cups-
1.020s snap-gnome\
986ms systemd-
967ms home.mount
939ms lm-sensors.service
939ms snap-gtk\
934ms dev-loop9.device
912ms tor.service
881ms snap-hunspell\
850ms snap-snap\
848ms systemd-
834ms dev-loop8.device
775ms upower.service
707ms snap-snapd-
705ms dev-loop14.device
688ms systemd-
672ms systemd-
624ms inetd.service
563ms kerneloops.service
541ms colord.service
485ms user@1000.service
473ms dev-loop10.device
473ms keyboard-
467ms var.mount
402ms systemd-
375ms systemd-
368ms systemd-
365ms systemd-
334ms openvpn.service
294ms systemd-
282ms console-
244ms systemd-
227ms systemd-
213ms dev-disk-
208ms systemd-
195ms snap-snapd\
193ms apport-
157ms lighttpd.service
154ms systemd-
153ms systemd-
151ms setvtrgb.service
142ms snap-snapd\
121ms dev-hugepages.mount
119ms dev-mqueue.mount
118ms systemd-
117ms sys-kernel-
116ms sys-kernel-
111ms <email address hidden>
110ms kmod-static-
110ms <email address hidden>
107ms <email address hidden>
99ms alsa-restore.
60ms proc-sys-
52ms rtkit-daemon.
16ms user-runtime-
13ms dev-loop12.device
11ms snap-chromium-
11ms dev-loop13.device
9ms systemd-
8ms snapd.socket
7ms dev-loop16.device
6ms dev-loop15.device
3ms sys-kernel-
3ms sys-fs-
2ms modprobe@
2ms acct.service
ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: gnome-shell 42.9-0ubuntu2.2
ProcVersionSign
Uname: Linux 6.8.0-40-generic x86_64
ApportVersion: 2.20.11-0ubuntu82.6
Architecture: amd64
CasperMD5CheckR
CurrentDesktop: ubuntu:GNOME
Date: Sat Aug 17 14:10:08 2024
DisplayManager: gdm3
RelatedPackageV
SourcePackage: gnome-shell
UpgradeStatus: No upgrade log present (probably fresh install)
It looks like the main culprit is apt-daily- upgrade. service, so does that show up on every slow boot? Or does apt-daily- upgrade. service go away and only mysql.service is left as the main bottleneck?