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
Long time to log out/shut down
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
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.
Reason: images replaced with plain URLs, please post actual text rather than pictures of text.
- FreewheelinFrank
- Global Moderator
- Posts: 2108
- Joined: 2010-06-07 16:59
- Has thanked: 38 times
- Been thanked: 230 times
Re: Long time to log out/shut down
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
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
Re: Long time to log out/shut down
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.
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.
Code: Select all
#DefaultTimeoutStartSec=90s
#DefaultTimeoutStopSec=90s
Re: Long time to log out/shut down
No messages. It just acts as if nothing happened and logs off after a delay. Nothing like that in the logs either.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
As far as my Debian version goes, it's the current stable one with a backported kernel (5.9).
Re: Long time to log out/shut down
I'll give that a shot.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.
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.Code: Select all
#DefaultTimeoutStartSec=90s #DefaultTimeoutStopSec=90s
Re: Long time to log out/shut down
This did not help with the issue. Still takes a long time to log out.Moniboi wrote:I'll give that a shot.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.
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.Code: Select all
#DefaultTimeoutStartSec=90s #DefaultTimeoutStopSec=90s
- 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
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.
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
Re: Long time to log out/shut down
Welp, I have provided screenshots of the logs now, so those exist.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.
- 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
And I've replaced the screenshots with URL links. Please don't do that again.Moniboi wrote:I have provided screenshots of the logs now
deadbang
Re: Long time to log out/shut down
Roger that.Head_on_a_Stick wrote:And I've replaced the screenshots with URL links. Please don't do that again.Moniboi wrote:I have provided screenshots of the logs now