Results 1 to 6 of 6

Thread: Reboot command slows down actual reboot

  1. #1
    Join Date
    Oct 2004
    Beans
    456
    Distro
    Ubuntu 22.04 Jammy Jellyfish

    Reboot command slows down actual reboot

    Hi all,

    I am putting into service and new headless KVM server, to replace my current headless KVM old hardware.

    I finished installing Ubuntu 22 LTS onto the server (Dell720, RAID10, EUFI)

    I am beginning my initial configurations and I noticed that when I type in the reboot command, the actual reboot is very slow, the 720 BIOS progress bar moves incredibly slow.

    If I am to shutdown, and boot from power button, it boots normal speed.

    Is there something that I did incorrectly? Maybe non-eufi install instead?

    Regards

  2. #2
    Join Date
    Nov 2007
    Location
    London, England
    Beans
    7,702

    Re: Reboot command slows down actual reboot

    Try "shutdown now". Just "shutdown" sends a one minute warning to all users and waits for a minute.

  3. #3
    Join Date
    Oct 2004
    Beans
    456
    Distro
    Ubuntu 22.04 Jammy Jellyfish

    Re: Reboot command slows down actual reboot

    Quote Originally Posted by The Cog View Post
    Try "shutdown now". Just "shutdown" sends a one minute warning to all users and waits for a minute.
    Hi

    'shutdown" "shutdown now" "reboot" all exhibits the same behavior. The bootup is extremely slow. During this really slow Dell progress bar reboot, I press the power button to shutdown immediately, then press the power button again and it boots at a normal speed.


    Regards

  4. #4
    Join Date
    Sep 2011
    Location
    Behind you!
    Beans
    1,690
    Distro
    Ubuntu 20.04 Focal Fossa

    Re: Reboot command slows down actual reboot

    Take the guesswork out of it.

    Run these commands to see what is taking up most of the time when booting up.

    Code:
    systemd-analyze blame
    systemd-analyze critical-chain
    Once you identify the ones with the longest boot time, drill into their logs and find out what the issue is...which will help you determine the exact solution to fix it.

    When I setup Ubuntu Server 22.04, I noticed a slightly longer boot time than I wanted and kept removing the things that were slowing it down until the boot time was somewhere around 8 seconds or so. The biggest slowdown for me was cloud-init and snapd...both of which I was not going to use. Reference post.

    LHammonds

  5. #5
    Join Date
    Oct 2004
    Beans
    456
    Distro
    Ubuntu 22.04 Jammy Jellyfish

    Re: Reboot command slows down actual reboot

    Quote Originally Posted by LHammonds View Post
    Take the guesswork out of it.

    Run these commands to see what is taking up most of the time when booting up.

    Code:
    systemd-analyze blame
    systemd-analyze critical-chain
    Once you identify the ones with the longest boot time, drill into their logs and find out what the issue is...which will help you determine the exact solution to fix it.

    When I setup Ubuntu Server 22.04, I noticed a slightly longer boot time than I wanted and kept removing the things that were slowing it down until the boot time was somewhere around 8 seconds or so. The biggest slowdown for me was cloud-init and snapd...both of which I was not going to use. Reference post.

    LHammonds

    Thank you for this heads up and much thank you's for the great reference post.

    Since this is just a KVM holding server, I too will be removing the cloud-init and the snap crap. Optional:true will be added to netplan as well.

    Thank you for the great help.

  6. #6
    Join Date
    Oct 2004
    Beans
    456
    Distro
    Ubuntu 22.04 Jammy Jellyfish

    Re: Reboot command slows down actual reboot

    I figured out what was happening, it was eufi that was the culprit, I disabled eufi and reinstalled 22LTS, and it now reboots and boots at a normal speed.

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
  •