You are not logged in.

#1 2025-02-24 07:54:05

Funny0facer
Member
From: Germany
Registered: 2022-12-03
Posts: 159

[SOLVED] journald.service takes long with wireless headset dongle

Hi all,
I just want to share my troubleshooting steps of today.
My journald service took quite long (varying from 10s up to 1min 25s). Just before that I saw that RF Kill Switch was successfully started. Another symptom was, my dongle for my wireless headset did not work anymore. After replugging it, it worked again. And indeed, if I started my pc without the dongle connected, it worked flawless.

My dongle is connected via a 2PC USB Switcher. So I tried directly connecting it to the pc and the boot process worked without the wait time. The other devices on the USB switcher were not affected. I have a mouse, keyboard and a camera pluged in in the other ports.  I use this hardware setup since months without any prior problem. I started to notice this new behavior yesterday.

Now, the interesting part. I choose to connect the USB switcher to a different USB port and now it works again with the wireless dongle connected to the switcher. Even when I use again the original USB port on the motherboard, it works.

If someone is interessted, here are some logs.

Original scenario:

basti@BASTI-2022-Q4 ~ $ uname -a
Linux BASTI-2022-Q4 6.12.16-1-lts #1 SMP PREEMPT_DYNAMIC Fri, 21 Feb 2025 19:20:31 +0000 x86_64 GNU/Linux
basti@BASTI-2022-Q4 ~ $ sudo journalctl -b | curl -F 'file=@-' 0x0.st
[sudo] Passwort für basti:
http://0x0.st/8AAr.txt
basti@BASTI-2022-Q4 ~ $ find /etc/systemd -type l -exec test -f {} \; -print | awk -F'/' '{ printf ("%-40s | %s\n", $(NF-0), $(NF-1)) }' | sort -f
apparmor.service                         | multi-user.target.wants
bluetooth.service                        | bluetooth.target.wants
cups.path                                | multi-user.target.wants
cups.service                             | multi-user.target.wants
cups.service                             | printer.target.wants
cups.socket                              | sockets.target.wants
dbus-org.bluez.service                   | system
dbus-org.freedesktop.nm-dispatcher.service | system
dbus-org.freedesktop.timesync1.service   | system
display-manager.service                  | system
docker.service                           | multi-user.target.wants
gcr-ssh-agent.socket                     | sockets.target.wants
getty@tty1.service                       | getty.target.wants
grub-btrfsd.service                      | multi-user.target.wants
my-rustup.timer                          | timers.target.wants
NetworkManager.service                   | multi-user.target.wants
NetworkManager-wait-online.service       | network-online.target.wants
p11-kit-server.socket                    | sockets.target.wants
paccache.timer                           | timers.target.wants
pipewire-pulse.socket                    | sockets.target.wants
pipewire-session-manager.service         | user
pipewire.socket                          | sockets.target.wants
reflector.timer                          | timers.target.wants
remote-fs.target                         | multi-user.target.wants
snapd.apparmor.service                   | multi-user.target.wants
snapd.socket                             | sockets.target.wants
snapper-cleanup.timer                    | timers.target.wants
snapper-timeline.timer                   | timers.target.wants
systemd-timesyncd.service                | sysinit.target.wants
ufw.service                              | multi-user.target.wants
var-lib-snapd-snap-bare-5.mount          | multi-user.target.wants
var-lib-snapd-snap-bare-5.mount          | snapd.mounts.target.wants
var-lib-snapd-snap-core-16928.mount      | multi-user.target.wants
var-lib-snapd-snap-core-16928.mount      | snapd.mounts.target.wants
var-lib-snapd-snap-core-17200.mount      | multi-user.target.wants
var-lib-snapd-snap-core-17200.mount      | snapd.mounts.target.wants
var-lib-snapd-snap-core20-2318.mount     | multi-user.target.wants
var-lib-snapd-snap-core20-2318.mount     | snapd.mounts.target.wants
var-lib-snapd-snap-core20-2434.mount     | multi-user.target.wants
var-lib-snapd-snap-core20-2434.mount     | snapd.mounts.target.wants
var-lib-snapd-snap-core22-1663.mount     | multi-user.target.wants
var-lib-snapd-snap-core22-1663.mount     | snapd.mounts.target.wants
var-lib-snapd-snap-core22-1722.mount     | multi-user.target.wants
var-lib-snapd-snap-core22-1722.mount     | snapd.mounts.target.wants
var-lib-snapd-snap-gnome\x2d3\x2d38\x2d2004-143.mount | multi-user.target.wants
var-lib-snapd-snap-gnome\x2d3\x2d38\x2d2004-143.mount | snapd.mounts.target.wants
var-lib-snapd-snap-gtk\x2dcommon\x2dthemes-1535.mount | multi-user.target.wants
var-lib-snapd-snap-gtk\x2dcommon\x2dthemes-1535.mount | snapd.mounts.target.wants
var-lib-snapd-snap-kf5\x2d5\x2d111\x2dqt\x2d5\x2d15\x2d11\x2dcore22-7.mount | multi-user.target.wants
var-lib-snapd-snap-kf5\x2d5\x2d111\x2dqt\x2d5\x2d15\x2d11\x2dcore22-7.mount | snapd.mounts.target.wants
var-lib-snapd-snap-snapd-23258.mount     | multi-user.target.wants
var-lib-snapd-snap-snapd-23258.mount     | snapd.mounts.target.wants
var-lib-snapd-snap-snapd-23545.mount     | multi-user.target.wants
var-lib-snapd-snap-snapd-23545.mount     | snapd.mounts.target.wants
var-lib-snapd-snap-spotify-82.mount      | multi-user.target.wants
var-lib-snapd-snap-spotify-82.mount      | snapd.mounts.target.wants
var-lib-snapd-snap-spotify-83.mount      | multi-user.target.wants
var-lib-snapd-snap-spotify-83.mount      | snapd.mounts.target.wants
wireplumber.service                      | pipewire.service.wants
xdg-user-dirs-update.service             | default.target.wants
basti@BASTI-2022-Q4 ~ $ systemd-analyze blame
1min 24.776s systemd-journald.service
      2.881s NetworkManager-wait-online.service
       519ms docker.service
       507ms dev-nvme0n1p3.device
       432ms apparmor.service
       291ms NetworkManager.service
       270ms systemd-remount-fs.service
       236ms systemd-modules-load.service
       207ms containerd.service
       206ms systemd-journal-flush.service
       203ms user@1000.service
       198ms accounts-daemon.service
       196ms ufw.service
       145ms snapd.apparmor.service
       144ms lvm2-monitor.service
       138ms systemd-udev-trigger.service
       110ms upower.service
        88ms udisks2.service
        87ms polkit.service
        80ms boot.mount
        79ms home-basti.mount
        78ms systemd-udevd.service
        77ms cups.service
        63ms systemd-tmpfiles-setup.service
        46ms user-runtime-dir@1000.service
        46ms systemd-timesyncd.service
        45ms systemd-sysctl.service
        44ms dev-disk-by\x2duuid-73a3cfae\x2db66a\x2d4262\x2d9105\x2d006e76f46cd8.swap
        44ms systemd-fsck@dev-disk-by\x2duuid-35cda428\x2dfe8c\x2d4c80\x2d96f7\x2dc0ac0f91d7f9.service
        42ms systemd-update-utmp.service
        34ms systemd-udev-load-credentials.service
        31ms systemd-logind.service
        28ms systemd-hostnamed.service
        27ms bluetooth.service
        26ms dbus-broker.service
        25ms tmp.mount
        23ms systemd-fsck@dev-disk-by\x2duuid-EA39\x2d87EC.service
        23ms var-lib-snapd-snap-bare-5.mount
        22ms var-lib-snapd-snap-core-16928.mount
        21ms var-lib-snapd-snap-core-17200.mount
        21ms systemd-vconsole-setup.service
        20ms var-lib-snapd-snap-core20-2318.mount
        19ms var-lib-snapd-snap-core20-2434.mount
        19ms systemd-tmpfiles-setup-dev-early.service
        19ms systemd-tmpfiles-setup-dev.service
        19ms var-lib-snapd-snap-core22-1663.mount
        17ms var-lib-snapd-snap-core22-1722.mount
        17ms var-lib-snapd-snap-gnome\x2d3\x2d38\x2d2004-143.mount
        16ms dev-hugepages.mount
        16ms dev-mqueue.mount
        16ms var-lib-snapd-snap-gtk\x2dcommon\x2dthemes-1535.mount
        15ms sys-kernel-debug.mount
        15ms var-lib-snapd-snap-kf5\x2d5\x2d111\x2dqt\x2d5\x2d15\x2d11\x2dcore22-7.mount
        15ms sys-kernel-tracing.mount
        15ms var-lib-snapd-snap-snapd-23258.mount
        14ms systemd-random-seed.service
        14ms var-lib-snapd-snap-snapd-23545.mount
        13ms kmod-static-nodes.service
        13ms var-lib-snapd-snap-spotify-82.mount
        13ms dev-loop8.device
        12ms dev-loop7.device
        12ms var-lib-snapd-snap-spotify-83.mount
        12ms dev-loop6.device
        12ms dev-loop5.device
        12ms dev-loop2.device
        12ms dev-loop4.device
        12ms dev-loop11.device
        12ms dev-loop3.device
        12ms dev-loop10.device
        12ms modprobe@configfs.service
        12ms dev-loop9.device
        12ms dev-loop0.device
        12ms dev-loop1.device
        11ms dev-loop12.device
        11ms modprobe@fuse.service
        11ms modprobe@drm.service
        11ms dev-loop13.device
         9ms systemd-binfmt.service
         9ms docker.socket
         7ms rtkit-daemon.service
         5ms systemd-rfkill.service
         5ms snapd.socket
         4ms sys-fs-fuse-connections.mount
         4ms systemd-user-sessions.service
         4ms sys-kernel-config.mount
         4ms proc-sys-fs-binfmt_misc.mount
         3ms modprobe@dm_mod.service
         2ms modprobe@loop.service
basti@BASTI-2022-Q4 ~ $ sudo 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 @1min 29.313s
└─multi-user.target @1min 29.313s
  └─docker.service @1min 28.793s +519ms
    └─network-online.target @1min 28.792s
      └─NetworkManager-wait-online.service @1min 25.911s +2.881s
        └─NetworkManager.service @1min 25.617s +291ms
          └─basic.target @1min 25.616s
            └─dbus-broker.service @1min 25.588s +26ms
              └─dbus.socket @1min 25.578s
                └─sysinit.target @1min 25.571s
                  └─systemd-update-utmp.service @1min 25.527s +42ms
                    └─systemd-tmpfiles-setup.service @1min 25.461s +63ms
                      └─systemd-journal-flush.service @1min 25.253s +206ms
                        └─systemd-journald.service @463ms +1min 24.776s
                          └─systemd-journald.socket @450ms
                            └─system.slice @400ms
                              └─-.slice @400ms
basti@BASTI-2022-Q4 ~ $

Wireless dongle unplugged:

basti@BASTI-2022-Q4 ~ $ uname -a
Linux BASTI-2022-Q4 6.12.16-1-lts #1 SMP PREEMPT_DYNAMIC Fri, 21 Feb 2025 19:20:31 +0000 x86_64 GNU/Linux
basti@BASTI-2022-Q4 ~ $ sudo journalctl -b | curl -F 'file=@-' 0x0.st
[sudo] Passwort für basti:
http://0x0.st/8AAi.txt
basti@BASTI-2022-Q4 ~ $ find /etc/systemd -type l -exec test -f {} \; -print | awk -F'/' '{ printf ("%-40s | %s\n", $(NF-0), $(NF-1)) }' | sort -f
apparmor.service                         | multi-user.target.wants
bluetooth.service                        | bluetooth.target.wants
cups.path                                | multi-user.target.wants
cups.service                             | multi-user.target.wants
cups.service                             | printer.target.wants
cups.socket                              | sockets.target.wants
dbus-org.bluez.service                   | system
dbus-org.freedesktop.nm-dispatcher.service | system
dbus-org.freedesktop.timesync1.service   | system
display-manager.service                  | system
docker.service                           | multi-user.target.wants
gcr-ssh-agent.socket                     | sockets.target.wants
getty@tty1.service                       | getty.target.wants
grub-btrfsd.service                      | multi-user.target.wants
my-rustup.timer                          | timers.target.wants
NetworkManager.service                   | multi-user.target.wants
NetworkManager-wait-online.service       | network-online.target.wants
p11-kit-server.socket                    | sockets.target.wants
paccache.timer                           | timers.target.wants
pipewire-pulse.socket                    | sockets.target.wants
pipewire-session-manager.service         | user
pipewire.socket                          | sockets.target.wants
reflector.timer                          | timers.target.wants
remote-fs.target                         | multi-user.target.wants
snapd.apparmor.service                   | multi-user.target.wants
snapd.socket                             | sockets.target.wants
snapper-cleanup.timer                    | timers.target.wants
snapper-timeline.timer                   | timers.target.wants
systemd-timesyncd.service                | sysinit.target.wants
ufw.service                              | multi-user.target.wants
var-lib-snapd-snap-bare-5.mount          | multi-user.target.wants
var-lib-snapd-snap-bare-5.mount          | snapd.mounts.target.wants
var-lib-snapd-snap-core-16928.mount      | multi-user.target.wants
var-lib-snapd-snap-core-16928.mount      | snapd.mounts.target.wants
var-lib-snapd-snap-core-17200.mount      | multi-user.target.wants
var-lib-snapd-snap-core-17200.mount      | snapd.mounts.target.wants
var-lib-snapd-snap-core20-2318.mount     | multi-user.target.wants
var-lib-snapd-snap-core20-2318.mount     | snapd.mounts.target.wants
var-lib-snapd-snap-core20-2434.mount     | multi-user.target.wants
var-lib-snapd-snap-core20-2434.mount     | snapd.mounts.target.wants
var-lib-snapd-snap-core22-1663.mount     | multi-user.target.wants
var-lib-snapd-snap-core22-1663.mount     | snapd.mounts.target.wants
var-lib-snapd-snap-core22-1722.mount     | multi-user.target.wants
var-lib-snapd-snap-core22-1722.mount     | snapd.mounts.target.wants
var-lib-snapd-snap-gnome\x2d3\x2d38\x2d2004-143.mount | multi-user.target.wants
var-lib-snapd-snap-gnome\x2d3\x2d38\x2d2004-143.mount | snapd.mounts.target.wants
var-lib-snapd-snap-gtk\x2dcommon\x2dthemes-1535.mount | multi-user.target.wants
var-lib-snapd-snap-gtk\x2dcommon\x2dthemes-1535.mount | snapd.mounts.target.wants
var-lib-snapd-snap-kf5\x2d5\x2d111\x2dqt\x2d5\x2d15\x2d11\x2dcore22-7.mount | multi-user.target.wants
var-lib-snapd-snap-kf5\x2d5\x2d111\x2dqt\x2d5\x2d15\x2d11\x2dcore22-7.mount | snapd.mounts.target.wants
var-lib-snapd-snap-snapd-23258.mount     | multi-user.target.wants
var-lib-snapd-snap-snapd-23258.mount     | snapd.mounts.target.wants
var-lib-snapd-snap-snapd-23545.mount     | multi-user.target.wants
var-lib-snapd-snap-snapd-23545.mount     | snapd.mounts.target.wants
var-lib-snapd-snap-spotify-82.mount      | multi-user.target.wants
var-lib-snapd-snap-spotify-82.mount      | snapd.mounts.target.wants
var-lib-snapd-snap-spotify-83.mount      | multi-user.target.wants
var-lib-snapd-snap-spotify-83.mount      | snapd.mounts.target.wants
wireplumber.service                      | pipewire.service.wants
xdg-user-dirs-update.service             | default.target.wants
basti@BASTI-2022-Q4 ~ $ systemd-analyze blame
2.772s NetworkManager-wait-online.service
1.755s systemd-journald.service
 494ms docker.service
 370ms NetworkManager.service
 348ms dev-nvme0n1p3.device
 243ms containerd.service
 233ms apparmor.service
 199ms user@1000.service
 185ms systemd-journal-flush.service
 180ms accounts-daemon.service
 163ms ufw.service
 138ms systemd-udev-trigger.service
 122ms udisks2.service
 117ms cups.service
  99ms lvm2-monitor.service
  82ms bluetooth.service
  81ms upower.service
  81ms systemd-tmpfiles-setup.service
  76ms boot.mount
  75ms home-basti.mount
  74ms systemd-timesyncd.service
  73ms systemd-tmpfiles-setup-dev-early.service
  65ms systemd-localed.service
  65ms user-runtime-dir@1000.service
  63ms systemd-update-utmp.service
  62ms systemd-udevd.service
  59ms systemd-tmpfiles-setup-dev.service
  56ms systemd-rfkill.service
  48ms polkit.service
  44ms systemd-fsck@dev-disk-by\x2duuid-EA39\x2d87EC.service
  40ms systemd-random-seed.service
  38ms systemd-sysctl.service
  33ms systemd-logind.service
  32ms systemd-fsck@dev-disk-by\x2duuid-35cda428\x2dfe8c\x2d4c80\x2d96f7\x2dc0ac0f91d7f9.service
  31ms dev-disk-by\x2duuid-73a3cfae\x2db66a\x2d4262\x2d9105\x2d006e76f46cd8.swap
  28ms systemd-hostnamed.service
  26ms dbus-broker.service
  24ms tmp.mount
  21ms var-lib-snapd-snap-bare-5.mount
  21ms var-lib-snapd-snap-core-16928.mount
  20ms var-lib-snapd-snap-core-17200.mount
  19ms snapd.apparmor.service
  19ms var-lib-snapd-snap-core20-2318.mount
  19ms systemd-vconsole-setup.service
  19ms var-lib-snapd-snap-core20-2434.mount
  18ms var-lib-snapd-snap-core22-1663.mount
  18ms var-lib-snapd-snap-core22-1722.mount
  17ms systemd-modules-load.service
  17ms var-lib-snapd-snap-gnome\x2d3\x2d38\x2d2004-143.mount
  17ms dev-hugepages.mount
  16ms var-lib-snapd-snap-gtk\x2dcommon\x2dthemes-1535.mount
  16ms sys-kernel-debug.mount
  16ms dev-mqueue.mount
  16ms sys-kernel-tracing.mount
  16ms var-lib-snapd-snap-kf5\x2d5\x2d111\x2dqt\x2d5\x2d15\x2d11\x2dcore22-7.mount
  15ms var-lib-snapd-snap-snapd-23258.mount
  14ms kmod-static-nodes.service
  14ms var-lib-snapd-snap-snapd-23545.mount
  14ms dev-loop6.device
  13ms var-lib-snapd-snap-spotify-82.mount
  13ms modprobe@configfs.service
  13ms dev-loop5.device
  13ms dev-loop8.device
  13ms modprobe@fuse.service
  13ms var-lib-snapd-snap-spotify-83.mount
  13ms dev-loop7.device
  12ms dev-loop4.device
  12ms dev-loop0.device
  12ms dev-loop11.device
  12ms modprobe@drm.service
  12ms dev-loop1.device
  12ms dev-loop10.device
  12ms dev-loop9.device
  12ms dev-loop3.device
  12ms dev-loop12.device
  11ms dev-loop2.device
  11ms dev-loop13.device
  10ms systemd-remount-fs.service
   9ms systemd-udev-load-credentials.service
   9ms systemd-binfmt.service
   9ms rtkit-daemon.service
   7ms docker.socket
   5ms sys-fs-fuse-connections.mount
   5ms sys-kernel-config.mount
   4ms systemd-user-sessions.service
   3ms proc-sys-fs-binfmt_misc.mount
   3ms modprobe@loop.service
   3ms snapd.socket
   3ms modprobe@dm_mod.service
basti@BASTI-2022-Q4 ~ $ sudo 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 @6.261s
└─multi-user.target @6.261s
  └─docker.service @5.767s +494ms
    └─network-online.target @5.766s
      └─NetworkManager-wait-online.service @2.993s +2.772s
        └─NetworkManager.service @2.620s +370ms
          └─basic.target @2.619s
            └─dbus-broker.service @2.591s +26ms
              └─dbus.socket @2.584s
                └─sysinit.target @2.576s
                  └─systemd-update-utmp.service @2.512s +63ms
                    └─systemd-tmpfiles-setup.service @2.428s +81ms
                      └─systemd-journal-flush.service @2.241s +185ms
                        └─systemd-journald.service @470ms +1.755s
                          └─systemd-journald.socket @456ms
                            └─-.mount @406ms
                              └─-.slice @406ms
basti@BASTI-2022-Q4 ~ $

"fixed" scenario: I am not sure if I am using the original USB port on the motherboard again but I tried all of them.

basti@BASTI-2022-Q4 ~ $ sudo journalctl -b | curl -F 'file=@-' 0x0.st
[sudo] Passwort für basti: 
http://0x0.st/8AAS.txt
basti@BASTI-2022-Q4 ~ $ find /etc/systemd -type l -exec test -f {} \; -print | awk -F'/' '{ printf ("%-40s | %s\n", $(NF-0), $(NF-1)) }' | sort -f
apparmor.service                         | multi-user.target.wants
bluetooth.service                        | bluetooth.target.wants
cups.path                                | multi-user.target.wants
cups.service                             | multi-user.target.wants
cups.service                             | printer.target.wants
cups.socket                              | sockets.target.wants
dbus-org.bluez.service                   | system
dbus-org.freedesktop.nm-dispatcher.service | system
dbus-org.freedesktop.timesync1.service   | system
display-manager.service                  | system
docker.service                           | multi-user.target.wants
gcr-ssh-agent.socket                     | sockets.target.wants
getty@tty1.service                       | getty.target.wants
grub-btrfsd.service                      | multi-user.target.wants
my-rustup.timer                          | timers.target.wants
NetworkManager.service                   | multi-user.target.wants
NetworkManager-wait-online.service       | network-online.target.wants
p11-kit-server.socket                    | sockets.target.wants
paccache.timer                           | timers.target.wants
pipewire-pulse.socket                    | sockets.target.wants
pipewire-session-manager.service         | user
pipewire.socket                          | sockets.target.wants
reflector.timer                          | timers.target.wants
remote-fs.target                         | multi-user.target.wants
snapd.apparmor.service                   | multi-user.target.wants
snapd.socket                             | sockets.target.wants
snapper-cleanup.timer                    | timers.target.wants
snapper-timeline.timer                   | timers.target.wants
systemd-timesyncd.service                | sysinit.target.wants
ufw.service                              | multi-user.target.wants
var-lib-snapd-snap-bare-5.mount          | multi-user.target.wants
var-lib-snapd-snap-bare-5.mount          | snapd.mounts.target.wants
var-lib-snapd-snap-core-16928.mount      | multi-user.target.wants
var-lib-snapd-snap-core-16928.mount      | snapd.mounts.target.wants
var-lib-snapd-snap-core-17200.mount      | multi-user.target.wants
var-lib-snapd-snap-core-17200.mount      | snapd.mounts.target.wants
var-lib-snapd-snap-core20-2318.mount     | multi-user.target.wants
var-lib-snapd-snap-core20-2318.mount     | snapd.mounts.target.wants
var-lib-snapd-snap-core20-2434.mount     | multi-user.target.wants
var-lib-snapd-snap-core20-2434.mount     | snapd.mounts.target.wants
var-lib-snapd-snap-core22-1663.mount     | multi-user.target.wants
var-lib-snapd-snap-core22-1663.mount     | snapd.mounts.target.wants
var-lib-snapd-snap-core22-1722.mount     | multi-user.target.wants
var-lib-snapd-snap-core22-1722.mount     | snapd.mounts.target.wants
var-lib-snapd-snap-gnome\x2d3\x2d38\x2d2004-143.mount | multi-user.target.wants
var-lib-snapd-snap-gnome\x2d3\x2d38\x2d2004-143.mount | snapd.mounts.target.wants
var-lib-snapd-snap-gtk\x2dcommon\x2dthemes-1535.mount | multi-user.target.wants
var-lib-snapd-snap-gtk\x2dcommon\x2dthemes-1535.mount | snapd.mounts.target.wants
var-lib-snapd-snap-kf5\x2d5\x2d111\x2dqt\x2d5\x2d15\x2d11\x2dcore22-7.mount | multi-user.target.wants
var-lib-snapd-snap-kf5\x2d5\x2d111\x2dqt\x2d5\x2d15\x2d11\x2dcore22-7.mount | snapd.mounts.target.wants
var-lib-snapd-snap-snapd-23258.mount     | multi-user.target.wants
var-lib-snapd-snap-snapd-23258.mount     | snapd.mounts.target.wants
var-lib-snapd-snap-snapd-23545.mount     | multi-user.target.wants
var-lib-snapd-snap-snapd-23545.mount     | snapd.mounts.target.wants
var-lib-snapd-snap-spotify-82.mount      | multi-user.target.wants
var-lib-snapd-snap-spotify-82.mount      | snapd.mounts.target.wants
var-lib-snapd-snap-spotify-83.mount      | multi-user.target.wants
var-lib-snapd-snap-spotify-83.mount      | snapd.mounts.target.wants
wireplumber.service                      | pipewire.service.wants
xdg-user-dirs-update.service             | default.target.wants
basti@BASTI-2022-Q4 ~ $ systemd-analyze blame
2.844s NetworkManager-wait-online.service
 962ms snapd.apparmor.service
 953ms systemd-binfmt.service
 475ms docker.service
 428ms systemd-journald.service
 362ms dev-nvme0n1p3.device
 320ms NetworkManager.service
 290ms apparmor.service
 289ms systemd-journal-flush.service
 248ms containerd.service
 215ms accounts-daemon.service
 201ms user@1000.service
 184ms ufw.service
 140ms systemd-udev-trigger.service
 121ms upower.service
 120ms udisks2.service
 109ms lvm2-monitor.service
  85ms systemd-udevd.service
  84ms systemd-localed.service
  79ms cups.service
  72ms polkit.service
  60ms boot.mount
  58ms home-basti.mount
  58ms tmp.mount
  55ms systemd-tmpfiles-setup-dev-early.service
  54ms systemd-fsck@dev-disk-by\x2duuid-EA39\x2d87EC.service
  50ms docker.socket
  48ms systemd-rfkill.service
  44ms user-runtime-dir@1000.service
  42ms systemd-tmpfiles-setup.service
  40ms systemd-timesyncd.service
  39ms dev-disk-by\x2duuid-73a3cfae\x2db66a\x2d4262\x2d9105\x2d006e76f46cd8.swap
  34ms systemd-random-seed.service
  34ms systemd-sysctl.service
  34ms systemd-logind.service
  28ms proc-sys-fs-binfmt_misc.mount
  27ms systemd-hostnamed.service
  27ms dbus-broker.service
  24ms bluetooth.service
  23ms var-lib-snapd-snap-bare-5.mount
  22ms var-lib-snapd-snap-core-16928.mount
  22ms systemd-tmpfiles-setup-dev.service
  22ms var-lib-snapd-snap-core-17200.mount
  21ms var-lib-snapd-snap-core20-2318.mount
  20ms var-lib-snapd-snap-core20-2434.mount
  19ms systemd-vconsole-setup.service
  19ms var-lib-snapd-snap-core22-1663.mount
  18ms var-lib-snapd-snap-core22-1722.mount
  17ms dev-loop8.device
  17ms dev-loop4.device
  17ms var-lib-snapd-snap-gnome\x2d3\x2d38\x2d2004-143.mount
  17ms dev-loop6.device
  17ms dev-loop5.device
  17ms dev-loop7.device
  17ms dev-loop1.device
  17ms dev-loop3.device
  17ms var-lib-snapd-snap-gtk\x2dcommon\x2dthemes-1535.mount
  17ms dev-loop10.device
  16ms dev-loop9.device
  16ms dev-loop2.device
  16ms dev-loop12.device
  16ms dev-loop11.device
  16ms var-lib-snapd-snap-kf5\x2d5\x2d111\x2dqt\x2d5\x2d15\x2d11\x2dcore22-7.mount
  15ms var-lib-snapd-snap-snapd-23258.mount
  15ms dev-loop13.device
  15ms dev-hugepages.mount
  15ms systemd-modules-load.service
  15ms sys-kernel-tracing.mount
  14ms var-lib-snapd-snap-snapd-23545.mount
  14ms dev-mqueue.mount
  14ms sys-kernel-debug.mount
  14ms var-lib-snapd-snap-spotify-82.mount
  13ms kmod-static-nodes.service
  13ms var-lib-snapd-snap-spotify-83.mount
  12ms modprobe@configfs.service
  12ms dev-loop0.device
  12ms modprobe@drm.service
  12ms modprobe@fuse.service
   9ms systemd-remount-fs.service
   9ms systemd-udev-load-credentials.service
   7ms rtkit-daemon.service
   5ms systemd-update-utmp.service
   5ms systemd-fsck@dev-disk-by\x2duuid-35cda428\x2dfe8c\x2d4c80\x2d96f7\x2dc0ac0f91d7f9.service
   4ms systemd-user-sessions.service
   4ms snapd.socket
   3ms sys-fs-fuse-connections.mount
   3ms sys-kernel-config.mount
   3ms modprobe@dm_mod.service
   2ms modprobe@loop.service
basti@BASTI-2022-Q4 ~ $ sudo 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 @6.308s
└─multi-user.target @6.308s
  └─docker.service @5.833s +475ms
    └─network-online.target @5.832s
      └─NetworkManager-wait-online.service @2.987s +2.844s
        └─NetworkManager.service @2.664s +320ms
          └─basic.target @2.663s
            └─dbus-broker.service @2.633s +27ms
              └─dbus.socket @2.583s
                └─sysinit.target @2.575s
                  └─snapd.apparmor.service @1.612s +962ms
                    └─snapd.mounts.target @1.610s
                      └─var-lib-snapd-snap-spotify-83.mount @1.588s +13ms
                        └─dev-loop13.device @1.594s +15ms
basti@BASTI-2022-Q4 ~ $ 

Last edited by Funny0facer (2025-02-24 08:28:59)

Offline

Board footer

Powered by FluxBB