Ask Your Question

Fedora 28 shutdown really slow , Help !

asked 2018-07-10 07:36:08 -0500

Redx1 gravatar image

updated 2018-07-10 07:38:59 -0500

hhlp gravatar image

Hello everyone !

Please i would like to know if there is any way i can make Fedora's shutdown go faster , it takes me minutes of waiting till it shutdown , it's way slower than my previous Fedora 27 , i made a systemd-analyze and this is what i got !

****@localhost ~]$ systemd-analyze
Startup finished in 5.469s (firmware) + 3.461s (loader) + 1.255s (kernel) + 4.099s (initrd) + 54.361s (userspace) = 1min 8.648s reached after 54.352s in userspace

Thank you

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

answered 2018-07-10 10:34:18 -0500

amitosh gravatar image

Here are the usual culprits, check each of them. You will be able to find what is going wrong:

  1. Daemons with expensive shut-down sequences. Are you running any database in local for development?
  2. Virtualization software with active guests. The guests first need to be suspended/shut down.
  3. Running containers. Are you running Docker containers with expensive shut-down sequences (like 1)?
  4. Network mounts which hang.
  5. Some file indexing services (such as KDE's Baloo, GNOME Tracker)
  6. Your WiFi or Bluetooth device which needs a shutdown sequence.
  7. Slow, bog standard disk drive.

Reading the last boot log from journalctl with journalctl -b -0 will contain lines that identify what process is taking too much time to shut down.

edit flag offensive delete link more


Also there is a bug in systemd preventing unmounting /var and possibly other partitions:

genodeftest gravatar imagegenodeftest ( 2018-07-11 01:47:11 -0500 )edit

This may also be related to decreasing DefaultTimeoutStopSec= in /etc/systemd/system.conf

ssr gravatar imagessr ( 2018-07-13 01:14:30 -0500 )edit

@amitosh Shouldn't be journalctl -b -1 to see also the messages before shutdown?

fedelibre gravatar imagefedelibre ( 2018-12-26 13:56:45 -0500 )edit

Question Tools

1 follower


Asked: 2018-07-10 07:36:08 -0500

Seen: 1,375 times

Last updated: Jul 10 '18