System Hangs on shutdown/reboot

Not every time … but a large portion of the times … system hangs for a few minutes before completing the shutdown/reboot process.

Sometimes is see a message “A stop job is running for session 80 (02) of user UserName” … at other times just a login shell … or sometimes a green splash screen.

How do i go about trouble shooting this annoying event??

Thanks in advance.

If you hit ESC, you should start seeing the shutdown messages.

It is usually fast enough for me, though I have had times where it went to a full 3 minutes on some of those stop jobs.

Thanks for the reply nrickert … so …

why don’t the jobs stop??
What is making the system wait?
Can i intervene without pressing reboot button??

Is there some solution that you know of??

Hi
You need to look at the logs for your system, see this thread for info on another user with slow shutdown;
https://forums.opensuse.org/showthread.php/526023-Waiting-for-a-job-to-finish-3-minutes-at-shutdown-where-is-it-logged

Short why. Jobs may be in the middle of some important process and shutting down would cause data lose so things wait until completed. It is sometime associated with databases such as mysql etc. though many other things may be the cause the logs should tell

On Wed, 26 Jul 2017 02:46:02 +0000, gogalthorp wrote:

> Short why. Jobs may be in the middle of some important process and
> shutting down would cause data lose so things wait until completed. It
> is sometime associated with databases such as mysql etc. though many
> other things may be the cause the logs should tell

Yep, agreed.

I can also happen if, for example, the system is unable to talk to a
remote filesystem - say the host of that remote filesystem is
unavailable. The connection will generally need to time out.

Jim

Jim Henderson
openSUSE Forums Administrator
Forum Use Terms & Conditions at http://tinyurl.com/openSUSE-T-C

Thanks for the link Malcom … most informative!! :wink: