My laptop is taking too long to shutdown,
I want to find out what is causing the delay.
Is there a log that I can read to find out what is happening?
How can I track events during Shutdown?
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
- AZgl1800
- Level 20
- Posts: 11173
- Joined: Thu Dec 31, 2015 3:20 am
- Location: Oklahoma where the wind comes Sweeping down the Plains
- Contact:
How can I track events during Shutdown?
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
- AZgl1800
- Level 20
- Posts: 11173
- Joined: Thu Dec 31, 2015 3:20 am
- Location: Oklahoma where the wind comes Sweeping down the Plains
- Contact:
Re: Slow to Power Off after a minor change
I tried to use
What can I do to find out what is hanging up the shutdown process?
I just did a fresh install on a spare laptop, and it shuts down in less than 10 seconds.
TOP
in Terminal, but the shutdown process closed Terminal immediately.What can I do to find out what is hanging up the shutdown process?
I just did a fresh install on a spare laptop, and it shuts down in less than 10 seconds.
- AZgl1800
- Level 20
- Posts: 11173
- Joined: Thu Dec 31, 2015 3:20 am
- Location: Oklahoma where the wind comes Sweeping down the Plains
- Contact:
Re: How can I track events during Shutdown?
Anyone know how to find the log, or create a log for shutdown processes?
Re: How can I track events during Shutdown?
it would depend on the actual error:
For X-related errors, files of interest are:
/var/log/Xorg.0.log
You may also find useful information about various errors (not only X) in:
/var/log/pm-powersave.log
Note: that some of these Files are a Binary Files & not a plain text file.
For X-related errors, files of interest are:
/var/log/Xorg.0.log
You may also find useful information about various errors (not only X) in:
/var/log/pm-powersave.log
Note: that some of these Files are a Binary Files & not a plain text file.
Please edit your original post title to include [SOLVED] - when your problem is solved!
and DO LOOK at those Unanswered Topics - - you may be able to answer some!.
Re: How can I track events during Shutdown?
Press ESC to be able to see what is happening when the Mint splat screen is displayed and you might spot the problem
Re: How can I track events during Shutdown?
This is usually due to systemd timing out stopping a specific service. The default timeout is 90 seconds (see /etc/systemd/system.conf). As JeremB said, looking at the shutdown activity as it scrolls by usually reveals the culprit. One common culprit is one of the cups daemons, for example.
- AZgl1800
- Level 20
- Posts: 11173
- Joined: Thu Dec 31, 2015 3:20 am
- Location: Oklahoma where the wind comes Sweeping down the Plains
- Contact:
Re: How can I track events during Shutdown?
/var/log/Xorg.0.log is a text based log, useful to see what loads up.Pierre wrote: ⤴Tue Jul 17, 2018 11:30 pm it would depend on the actual error:
For X-related errors, files of interest are:
/var/log/Xorg.0.log
You may also find useful information about various errors (not only X) in:
/var/log/pm-powersave.log
Note: that some of these Files are a Binary Files & not a plain text file.
and it reveals that Linux always looks to see what is available, noticed that it comments about a lot of stuff that did not exist on my machine.
/var/log/pm-powersave.log was not present in my machine, hmmm.
Re: How can I track events during Shutdown?
Because you don't have a xorg.conf, so it's trying to auto-detect your hardware (which is perfectly fine, you don't need a configuration file unless you need to set specific parameters).