0

I have problems with a slow shutdown. I followed the instructions to reduce the timeout.
EOS 5.1

I set the timeouts to 9 seconds as answered below but it does not work.

1
  • If you press the right arrow key while shutting down you'll see what's delaying the shutdown process. Here you have a guide on how to reduce a delay on Ubuntu 18.04 and elementary Juno.
    – Maccer
    Commented May 10, 2019 at 6:03

2 Answers 2

2

Try this

 sudo nano /etc/systemd/system.conf

and edit as the image then run

enter image description here

uncommented (remove the "#") the fields above to

DefaultTimeoutStopSec=9s

Then run this command to reload

systemctl daemon-reload

if you find it still not working, set StartSec to 9s

0
1

I believe this is a bug related to cerbere. It’s discussed in more depth in github

The only workarounds that seems to work are:

  • Set DefaultTimeoutStopSec to 10 or lower, or
  • Kill cerbere before shutdown

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.