This is blatantly false, 99% of Gnu/Linux distros actually have systemd nicely asking the processes to terminate themselves, it just doesn’t take longer than ~10 seconds usually.
This meme would imply a sigkill.
Edit: the distros that don’t use systemd likely don’t do any such thing either, I just don’t know about them.
Kernel will happily kill processes if it’s out of memory, regardless of systemd or whatever. But in general Linux first asks nicely for the program to shut down and if it doesn’t comply then it’s SIGKILL time.
Except on the Linux systems I’ve used, when I ask it to shut down, it shuts down no matter what. Windows and macOS let programs stop the shutdown process indefinitely (when shutdown/reboot are invoked the usual way).
I’ve had containers which are locked up and won’t respond to SIGKILL or any other signal. I don’t think It should be possible with a regular process, though.
This is blatantly false, 99% of Gnu/Linux distros actually have systemd nicely asking the processes to terminate themselves, it just doesn’t take longer than ~10 seconds usually.
This meme would imply a sigkill.
Edit: the distros that don’t use systemd likely don’t do any such thing either, I just don’t know about them.
Kernel will happily kill processes if it’s out of memory, regardless of systemd or whatever. But in general Linux first asks nicely for the program to shut down and if it doesn’t comply then it’s SIGKILL time.
Which IMO is a most reasonable order of operations
Except on the Linux systems I’ve used, when I ask it to shut down, it shuts down no matter what. Windows and macOS let programs stop the shutdown process indefinitely (when shutdown/reboot are invoked the usual way).
I think that’s what the meme is trying to get at.
I wish that was the case, I’ll often find my Linux desktop running because the os failed to shut something down.
poweroff
andreboot
work as advertised for me, but I’m running headless homelab servers and a laptop withi3
. Maybe DEs/GUI shutdown is more subtle?I’ve had containers which are locked up and won’t respond to SIGKILL or any other signal. I don’t think It should be possible with a regular process, though.
That would depend on the DE I suppose, on GNOME it’ll show open programmes and wait 60 seconds for the user to intervene IIRC.
Still doesn’t kill them though and asks them to properly terminate themselves which allows them to take care of everything.
Yeah, I run
i3
and headless servers, so it’spoweroff
orreboot
for me. Always works as advertised.Yeah, I’m kinda sick of seeing this false information on
this subthe linuxmemes community. It’s a surprisingly common meme subject somehowThis ain’t the Linux memes com
that’s why I edited
ah I misunderstood you then, my bad 😅