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

 

 

 

[DUSTBIN] Timeout at shutdown/poweroff/reboot

Linux Kernel, Network, and Services configuration.
Message
Author
DebbyIan
Posts: 158
Joined: 2013-05-09 12:12

[DUSTBIN] Timeout at shutdown/poweroff/reboot

#1 Post by DebbyIan »

I was wondering if anyone knows about the timeout that occurs when shutting down the system? It happens after X has exited. I'm not entirely sure I could be wrong, but is it related to a LA/Network tmeout?

Does anyone know what this timeout is because it is around 30 seconds and very irritating when powering off etc..?
Last edited by DebbyIan on 2017-12-12 21:44, edited 1 time in total.

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

Re: Timeout at shutdown/poweroff/reboot

#2 Post by Head_on_a_Stick »

Check the journal...

:roll:
deadbang

User avatar
bw123
Posts: 4015
Joined: 2011-05-09 06:02
Has thanked: 1 time
Been thanked: 28 times

Re: Timeout at shutdown/poweroff/reboot

#3 Post by bw123 »

DebbyIan wrote:I was wondering if anyone knows about the timeout that occurs when shutting down the system? It happens after X has exited. I'm not entirely sure I could be wrong, but is it related to a LA/Network tmeout?

Does anyone know what this timeout is because it is around 30 seconds and very irritating when powering off etc..?
I agree, it is extremely irritating. I don't know what LA means, but yeah it's probably "a stop job is running..." for networkmanager. I don't get this stuff when using fluxbox and wpa_cli for wifi. I have noticed if I bring the wifi down before shutting down it doesn't happen, but some other stop job can pop up for something else.

It's especially aggravating when you are experimenting and get a zombie or a hung task. There is a way to lower the timeout but I haven't bothered I just try not to reboot, going on five days now, pretty good huh?
resigned by AI ChatGPT

DebbyIan
Posts: 158
Joined: 2013-05-09 12:12

Re: Timeout at shutdown/poweroff/reboot

#4 Post by DebbyIan »

LAN = Local Area Network

Sometimes I get a deauthenticating from network message but I'm not using network manager either. What is the timeout you had in mind?

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

Re: Timeout at shutdown/poweroff/reboot

#5 Post by Head_on_a_Stick »

OK, I'll try again...

Code: Select all

# mkdir -p /var/log/journal
# reboot
# journalctl -b -1
# rm -r /var/log/journal
Set the timeout in /etc/systemd/system.conf

*puts away feeding spoon*
deadbang

DebbyIan
Posts: 158
Joined: 2013-05-09 12:12

Re: Timeout at shutdown/poweroff/reboot

#6 Post by DebbyIan »

Don't post useless info! Go home.

User avatar
GarryRicketson
Posts: 5644
Joined: 2015-01-20 22:16
Location: Durango, Mexico

Re: Timeout at shutdown/poweroff/reboot

#7 Post by GarryRicketson »

Did you try what was suggested, ? Maybe post the output, of :

Code: Select all

journalctl -b -1 
You should see information that you need to do this:
Head_on_a_Stick » Set the timeout in /etc/systemd/system.conf
If you don't understand the solution, or it did not work , instead of getting
mad and complaining:
Don't post useless info! Go home.
It would have been better to say,
"OK, thanks, but please don't put the feeding spoon away, it did not work"
(or I don't understand and need more help) (if it did not work, at least give some information, as to what errors there were or what happened).
I probably shouldn't even do this for you, but your remark and request has
probably just eliminated any chance of you getting more help for one of the
most experienced and helpful members, also Head On A Stick, is part of the
forum staff,...so any way your on your own now, here is the stove, and over there is the refrigerator, if you look around the pots and pans are there also,..
so no more spoon feeding, figure it out your self if you are hungry.
What is the timeout thing when Debian shutsdown
And
On Debian, how to Set the timeout in /etc/systemd/system.conf

P.S Maybe practice what you preach :
Post by DebbyIan » 2017-12-07 17:01
Don't post useless info! Go home.
And please don't tell me my post is not use full, nor to go home, I am at home.
Everything I post is use full, the problem is some people do not know how to use it nor the search engines either, etc.
Hint , a apology can go a long ways.

User avatar
ticojohn
Posts: 1284
Joined: 2009-08-29 18:10
Location: Costa Rica
Has thanked: 21 times
Been thanked: 44 times

Re: Timeout at shutdown/poweroff/reboot

#8 Post by ticojohn »

In my limited experience, and even more limited knowledge base, I have examined the logs (journalctl) after having similar timeout issues. It appears to me, and again I am but an egg, that there is some kind of "race" condition where some process is getting released from dbus while some other process is still expecting to use the released process. Again, that is just a conjecture on my part.

So, what did I do about? First I set the timeout to 10 seconds which was of course helpful but did nothing to eliminate the problem. Then I changed from using gdm to lightdm as the display manager. Many fewer instances of the timeout issue. Then, on a whim, I updated the kernel to a more recent version (this is on Jessie, I was using kernel 3.16 and updated to 4.9), and have not seen any of the timeout issues since.

I know that none of this is a cure but might give some smart person a clue as to what might be going on.
I am not irrational, I'm just quantum probabilistic.

User avatar
None1975
df -h | participant
df -h | participant
Posts: 1389
Joined: 2015-11-29 18:23
Location: Russia, Kaliningrad
Has thanked: 45 times
Been thanked: 66 times

Re: Timeout at shutdown/poweroff/reboot

#9 Post by None1975 »

ticojohn wrote:I know that none of this is a cure but might give some smart person a clue as to what might be going on.
Display managers is a evil. Use startx.
OS: Debian 12.4 Bookworm / DE: Enlightenment
Debian Wiki | DontBreakDebian, My config files on github

User avatar
ticojohn
Posts: 1284
Joined: 2009-08-29 18:10
Location: Costa Rica
Has thanked: 21 times
Been thanked: 44 times

Re: Timeout at shutdown/poweroff/reboot

#10 Post by ticojohn »

None1975 wrote: Display managers is a evil. Use startx.
I think it is a bit of a stretch to call them evil. Quirky perhaps, but evil would imply some intelligent malevolence. Of course the designers of the display managers might be evil, but I seriously doubt it. :lol:
I am not irrational, I'm just quantum probabilistic.

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

Re: Timeout at shutdown/poweroff/reboot

#11 Post by Bulkley »

None1975 wrote:Use startx.
I use sx.

User avatar
GarryRicketson
Posts: 5644
Joined: 2015-01-20 22:16
Location: Durango, Mexico

Re: Timeout at shutdown/poweroff/reboot

#12 Post by GarryRicketson »

Image
I just use the keyboard and the terminal, The desktop tray makes a nice perch though :mrgreen:
Waiting 30 seconds for it to shut down is no big deal.
Display managers is a evil. Use startx
Ok, yes that worked, it started just fine,... but when I typed
'stopx', it did not stop, what do I do now ?, I don't mind waiting 30 seconds,
but I been here waiting 2 days now, Garry is out of town, How do I shut this
thing down ?

P.S. I am getting hungry, can anybody spoon feed me ?

User avatar
ticojohn
Posts: 1284
Joined: 2009-08-29 18:10
Location: Costa Rica
Has thanked: 21 times
Been thanked: 44 times

Re: Timeout at shutdown/poweroff/reboot

#13 Post by ticojohn »

GarryRicketson wrote: P.S. I am getting hungry, can anybody spoon feed me ?
See, parrots are pretty smart after all! :lol:
I am not irrational, I'm just quantum probabilistic.

User avatar
None1975
df -h | participant
df -h | participant
Posts: 1389
Joined: 2015-11-29 18:23
Location: Russia, Kaliningrad
Has thanked: 45 times
Been thanked: 66 times

Re: Timeout at shutdown/poweroff/reboot

#14 Post by None1975 »

GarryRicketson wrote: but when I typed
'stopx', it did not stop, what do I do now ?, I don't mind waiting 30 seconds,

Code: Select all

pkill X
is your firiend :D Also, many wm (if you use any) provides mechanism to cleanly exit without killing your X server...
OS: Debian 12.4 Bookworm / DE: Enlightenment
Debian Wiki | DontBreakDebian, My config files on github

User avatar
None1975
df -h | participant
df -h | participant
Posts: 1389
Joined: 2015-11-29 18:23
Location: Russia, Kaliningrad
Has thanked: 45 times
Been thanked: 66 times

Re: Timeout at shutdown/poweroff/reboot

#15 Post by None1975 »

Bulkley wrote:I use sx.
It is shell script?
OS: Debian 12.4 Bookworm / DE: Enlightenment
Debian Wiki | DontBreakDebian, My config files on github

DebbyIan
Posts: 158
Joined: 2013-05-09 12:12

Re: Timeout at shutdown/poweroff/reboot

#16 Post by DebbyIan »

So @GarryRicketson is also @Head_on_a_Stick.

You are posing as multipe IDs.

You started this nonsense by bringing your cuttlery out in the first place. I was simply looking for some geneal hints as to what the causes of timeouts at reboot might be in Debian. You must be so far out of reality if you think people are going to come on here to seek critical technical support from a spoon feeder such as yourself.

So full of himself that he seeks an apology.

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

Re: Timeout at shutdown/poweroff/reboot

#17 Post by Head_on_a_Stick »

Oh my :lol:
deadbang

Wheelerof4te
Posts: 1454
Joined: 2015-08-30 20:14

Re: [DUSTBIN] Timeout at shutdown/poweroff/reboot

#18 Post by Wheelerof4te »

DebbyIan wrote:So @GarryRicketson is also @Head_on_a_Stick.
This must be one of the worst analytical thinking in all of universe. Just glancing over posts by Garry and Head_on_a_Stick is enough to see that Garry posts far more detailed responses, often inserting his own experiences and analogies in the mix. In contrast, H_on_a_S posts concise, highly technical responses and not much else. I mean, really...dude.

DebbyIan
Posts: 158
Joined: 2013-05-09 12:12

Re: [DUSTBIN] Timeout at shutdown/poweroff/reboot

#19 Post by DebbyIan »

Did you read this post?
GarryRicketson wrote:Did you try what was suggested, ? Maybe post the output, of :

Code: Select all

journalctl -b -1 
You should see information that you need to do this:
Head_on_a_Stick » Set the timeout in /etc/systemd/system.conf
If you don't understand the solution, or it did not work , instead of getting
mad and complaining:
Don't post useless info! Go home.
It would have been better to say,
"OK, thanks, but please don't put the feeding spoon away, it did not work"
(or I don't understand and need more help) (if it did not work, at least give some information, as to what errors there were or what happened).
I probably shouldn't even do this for you, but your remark and request has
probably just eliminated any chance of you getting more help for one of the
most experienced and helpful members, also Head On A Stick, is part of the
forum staff,...so any way your on your own now, here is the stove, and over there is the refrigerator, if you look around the pots and pans are there also,..
so no more spoon feeding, figure it out your self if you are hungry.
What is the timeout thing when Debian shutsdown
And
On Debian, how to Set the timeout in /etc/systemd/system.conf

P.S Maybe practice what you preach :
Post by DebbyIan » 2017-12-07 17:01
Don't post useless info! Go home.
And please don't tell me my post is not use full, nor to go home, I am at home.
Everything I post is use full, the problem is some people do not know how to use it nor the search engines either, etc.
Hint , a apology can go a long ways.

Is he talking about himself or is he talking about himself in the third person?

User avatar
GarryRicketson
Posts: 5644
Joined: 2015-01-20 22:16
Location: Durango, Mexico

Re: [DUSTBIN] Timeout at shutdown/poweroff/reboot

#20 Post by GarryRicketson »

Image
I assure you, we are not the same , .........but that is hilarious , the idea.
None1975 wrote:
GarryRicketson wrote: but when I typed
'stopx', it did not stop, what do I do now ?, I don't mind waiting 30 seconds,

Code: Select all

pkill X
is your firiend :D Also, many wm (if you use any) provides mechanism to cleanly exit without killing your X server...
Thanks, now I can rest, got it shut down. Good night:
Image

Post Reply