Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Long time to log out/shut down

New to Debian (Or Linux in general)? Ask your questions here!
Post Reply
Message
Author
Moniboi
Posts: 8
Joined: 2021-02-01 08:50

Long time to log out/shut down

#1 Post by Moniboi »

The issue:
When using my system for extended periods (a few hours long), logging out starts taking a long time. The same goes for shutdown, restart, etc. I just click the button to log out, shut down, etc, and the system just does nothing for quite a bit and then just suddenly does what I wanted to do earlier after some time (usually it's around a minute of waiting for it after using the computer for a few hours). If I log out right afte rebooting or logging in, no issues. It only comes up after using the pc for some time. I have tried googling and searching here as well as other platforms, but never found anything to solve it. Likely a problem in the process is with Debian logging me out of my desktop given how it happens. Any clue about what I should be looking at to troubleshoot it?

As an update, looking at my boot logs after rebooting, there is a watchdog did not stop thing and some firmware errors, but if they don't seem like they would be relevant to this issue given they seem to be quite late in the process and presumably after logging out as that is the case. Figured I would mention this anyway.

Specs:
-i5-9600KF
-RTX 2070 Super
-16GB HyperX Fury 2666MHz RAM
-Intel i660p NVMe SSD (this is the drive I have my Debian on)
-2 other drives, but neither of these should affect my Debian installation in any manner

Debian:
-UEFI boot
-Installed rather minimally with no desktop environment
-Installed Budgie separately as a desktop
-With proprietary NVIDIA drivers and backport kernel

Here is my shutdown log:
https://i.imgur.com/IGa66Y0.png
https://i.imgur.com/4g2NIdM.png
https://i.imgur.com/3B6VTRN.png
https://i.imgur.com/ATHAICd.png
https://i.imgur.com/31x4iXj.png
https://i.imgur.com/l7xeIs2.png
Last edited by Head_on_a_Stick on 2021-02-05 17:41, edited 2 times in total.
Reason: images replaced with plain URLs, please post actual text rather than pictures of text.

User avatar
FreewheelinFrank
Global Moderator
Global Moderator
Posts: 2109
Joined: 2010-06-07 16:59
Has thanked: 38 times
Been thanked: 230 times

Re: Long time to log out/shut down

#2 Post by FreewheelinFrank »

What version of Debian?

Any messages while this is happening? "A stop job is running" would be something you might see.

If so, searching for that produces some helpful hits, including from this place.

http://forums.debian.net/viewtopic.php?f=10&t=131589

Bulkley
Posts: 6386
Joined: 2006-02-11 18:35
Has thanked: 2 times
Been thanked: 39 times

Re: Long time to log out/shut down

#3 Post by Bulkley »

I found this really frustrating. By manually closing all open programs I found that my VPN client was sending shutdown into "A stop job is running." I solved my frustration by changing /etc/systemd/system.conf timeouts to 10 seconds.

Code: Select all

#DefaultTimeoutStartSec=90s
#DefaultTimeoutStopSec=90s
If you do this keep a close eye on what's happening. For my VPN client there are no consequences to a forced shutdown. That may not be true of a business spreadsheet with fresh data that you have to share with your boss in the morning.

Moniboi
Posts: 8
Joined: 2021-02-01 08:50

Re: Long time to log out/shut down

#4 Post by Moniboi »

FreewheelinFrank wrote:What version of Debian?

Any messages while this is happening? "A stop job is running" would be something you might see.

If so, searching for that produces some helpful hits, including from this place.

http://forums.debian.net/viewtopic.php?f=10&t=131589
No messages. It just acts as if nothing happened and logs off after a delay. Nothing like that in the logs either.

As far as my Debian version goes, it's the current stable one with a backported kernel (5.9).

Moniboi
Posts: 8
Joined: 2021-02-01 08:50

Re: Long time to log out/shut down

#5 Post by Moniboi »

Bulkley wrote:I found this really frustrating. By manually closing all open programs I found that my VPN client was sending shutdown into "A stop job is running." I solved my frustration by changing /etc/systemd/system.conf timeouts to 10 seconds.

Code: Select all

#DefaultTimeoutStartSec=90s
#DefaultTimeoutStopSec=90s
If you do this keep a close eye on what's happening. For my VPN client there are no consequences to a forced shutdown. That may not be true of a business spreadsheet with fresh data that you have to share with your boss in the morning.
I'll give that a shot.

Moniboi
Posts: 8
Joined: 2021-02-01 08:50

Re: Long time to log out/shut down

#6 Post by Moniboi »

Moniboi wrote:
Bulkley wrote:I found this really frustrating. By manually closing all open programs I found that my VPN client was sending shutdown into "A stop job is running." I solved my frustration by changing /etc/systemd/system.conf timeouts to 10 seconds.

Code: Select all

#DefaultTimeoutStartSec=90s
#DefaultTimeoutStopSec=90s
If you do this keep a close eye on what's happening. For my VPN client there are no consequences to a forced shutdown. That may not be true of a business spreadsheet with fresh data that you have to share with your boss in the morning.
I'll give that a shot.
This did not help with the issue. Still takes a long time to log out.

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 133 times

Re: Long time to log out/shut down

#7 Post by Head_on_a_Stick »

That's a workaround rather than a solution but did you remember to un-comment the relevant lines?

If you want an actual solution then you should probably share the logs instead of just offering an uneducated vague description of them. Disclaimer: I can't be bothered looking at them.
deadbang

Moniboi
Posts: 8
Joined: 2021-02-01 08:50

Re: Long time to log out/shut down

#8 Post by Moniboi »

Head_on_a_Stick wrote:That's a workaround rather than a solution but did you remember to un-comment the relevant lines?

If you want an actual solution then you should probably share the logs instead of just offering an uneducated vague description of them. Disclaimer: I can't be bothered looking at them.
Welp, I have provided screenshots of the logs now, so those exist.

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 133 times

Re: Long time to log out/shut down

#9 Post by Head_on_a_Stick »

Moniboi wrote:I have provided screenshots of the logs now
And I've replaced the screenshots with URL links. Please don't do that again.
deadbang

Moniboi
Posts: 8
Joined: 2021-02-01 08:50

Re: Long time to log out/shut down

#10 Post by Moniboi »

Head_on_a_Stick wrote:
Moniboi wrote:I have provided screenshots of the logs now
And I've replaced the screenshots with URL links. Please don't do that again.
Roger that.

Post Reply