Ask Your Question
0

Fedora 28 shutdown really slow , Help !

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

Redx1 gravatar image

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

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
graphical.target reached after 54.352s in userspace

Thank you

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
2

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

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

Comments

Also there is a bug in systemd preventing unmounting /var and possibly other partitions: https://github.com/systemd/systemd/issues/867

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

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

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

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

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

Seen: 804 times

Last updated: Jul 10