Results 1 to 4 of 4

Thread: session load very slow

  1. #1
    Join Date
    Jul 2011
    Location
    Slovakia
    Beans
    315
    Distro
    Kubuntu

    Question session load very slow

    Hi,

    I run Ubuntu 21.04 with KDE 5.22.5.
    Computer boots quite fast but when it's about user session it's very slow once I type my user password (about 1m30), while several months ago it was about 10s.
    I checked with command line "systemd-analyze" and here is the result:
    Code:
    Startup finished in 3.271s (kernel) + 7.852s (userspace) = 11.124s  
    graphical.target reached after 7.846s in userspace
    When I run "systemd-analyze critical-chain", it returns:
    Code:
    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 @7.846s 
    └─multi-user.target @7.846s 
      └─teamviewerd.service @7.766s +79ms
        └─network-online.target @7.762s 
          └─NetworkManager-wait-online.service @4.362s +3.399s
            └─NetworkManager.service @4.133s +227ms
              └─dbus.service @4.130s 
                └─dbus.socket @4.119s 
                  └─basic.target @4.119s 
                    └─sockets.target @4.119s 
                      └─snapd.socket @4.118s +898us
                        └─sysinit.target @4.112s 
                          └─systemd-timesyncd.service @4.015s +96ms
                            └─systemd-tmpfiles-setup.service @3.883s +125ms
                              └─local-fs.target @3.876s 
                                └─home.mount @3.785s +90ms
                                  └─dev-sdb1.device @3.784s
    But times written are far from what I experience each time I log into system.

    When I edited my /etc/systemd/system.conf and uncomment the following lines:
    Code:
    #DefaultTimeoutStartSec=90s
    #DefaultTimeoutStopSec=90s
    and write:
    Code:
    #DefaultTimeoutStartSec=10s
    #DefaultTimeoutStopSec=10s
    It seems that nothing changed.
    what does not kill you, makes you stronger

    Ubuntu 21.10 - KDE Plasma 5.22.5 - Kernel 5.13.x

  2. #2
    Join Date
    Apr 2008
    Location
    Southern California, USA
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: session load very slow

    Check output of
    Code:
    journalctl -b
    Look for anything suspicious. Also edit out "quiet" and "splash" to see where it hangs up

  3. #3
    Join Date
    Jul 2011
    Location
    Slovakia
    Beans
    315
    Distro
    Kubuntu

    Re: session load very slow

    The problem is after login, so I do not understand why editing the grub quiet/splash would change something... Maybe I wrong, so in this case please can you explain me in what such changes could help me ?
    what does not kill you, makes you stronger

    Ubuntu 21.10 - KDE Plasma 5.22.5 - Kernel 5.13.x

  4. #4
    Join Date
    Apr 2008
    Location
    Southern California, USA
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: session load very slow

    You were showing the critical-chain on boot up, so on that note removing quiet,splash might reveal some error while booting.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •