The boot cycle of Ubuntu 17.10 is taking about 1:30min, which seems very high for a notebook with 8Gb and I5 processor. When analyzing the systemd-analize I got the following information:

systemd-analyze blame 

59.481s plymouth-quit-wait.service    
53.490s mysql.service    
16.685s snapd.service
14.406s php7.1-fpm.service
14.230s dev-sda5.device
13.972s NetworkManager-wait-online.service
13.432s apparmor.service
11.119s ModemManager.service
11.070s postfix@-.service
10.218s dev-loop0.device
9.354s apache2.service
8.673s NetworkManager.service
7.050s udisks2.service
6.220s gpu-manager.service
5.928s accounts-daemon.service
5.310s grub-common.service
4.365s wpa_supplicant.service
4.365s fwupd.service
4.339s phpsessionclean.service
4.150s networking.service
3.909s vboxdrv.service
3.863s apport.service
3.648s thermald.service

systemd-analyze critical-chain

graphical.target @1min 30.755s
└─multi-user.target @1min 30.755s
  └─mysql.service @30.967s +53.490s
    └─network.target @30.930s
      └─wpa_supplicant.service @34.630s +4.365s
        └─basic.target @19.735s
          └─sockets.target @19.735s
            └─snapd.socket @19.612s +121ms
              └─sysinit.target @19.612s
                └─swap.target @19.612s
                  └─dev-disk-by\x2duuid-0b094dfb\x2dcb40\x2d4754\x2d8fdb\x2de1ef130fad55.swap @19.497s +114ms
                    └─dev-disk-by\x2duuid-0b094dfb\x2dcb40\x2d4754\x2d8fdb\x2de1ef130fad55.device @19.496s

It seems that the problem seems to be in mysql.service. I need to know if this conclusion is correct and what to do to correct the problem.


  • Yes. Mysql does take a large percentage of the boot time. You could disable it
    – Michael
    Nov 6, 2017 at 9:15
  • Seems like a duplicate of this question dba.stackexchange.com/questions/53229/… Feb 13, 2018 at 12:55
  • Also I ran into a similiar issue and ended up dropping unused tables which drastically increased the speed Feb 13, 2018 at 12:56


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.