Score:1

My system is turning off by itself, I want to find any possible logs

ng flag

My Laptop (running Ubuntu 20.04.3 with Gnome DE) is turning off by itself, like, I'm playing a game then the screen gets black and then there's text basically indicating its shutting down (I don't have silent nor splash in my grub settings), I have heard my hard drive clicking so I'm scared those two are correlated, I've ran SMART tests but they say everything is fine. So I want to find the logs of when the system decides it's good time to shut down but I don't know where and how to start.

Edit: The game I was playing was Minecraft Bedrock

user535733 avatar
cn flag
Look in /var/log/syslog first.
WinEunuuchs2Unix avatar
in flag
I'll bet it overheated and shut down because you were playing games and they tend to generate a lot of heat. Does it feel hot to the touch when it dies? If so install Intel Power Clamp or something similar. Also `tlp`. See: https://askubuntu.com/questions/391474/stop-cpu-from-overheating/875872#875872
xproot avatar
ng flag
This could be a real possibility but my system hasn't crashed since and its at 196°F Also, the game wasn't that resource intensive, it was Minecraft Bedrock edition, editing to make this clear. Edit: it did overheat
Score:2
it flag

After a "sudden shutdown", aka "system crash", and reboot, the terminal command sudo journalctl -b -1 -e will show you the end of the previous boot's log's. If there is no hint there, suspect power/ overheating.

Read man journalctl to see how to extract information from the logs.

You can find how I make use of journalctl easier at https://askubuntu.com/users/25618/waltinator.

@Will59 Overheating is most likely caused by dust. Power down your system. Unblock your fans and vents, clean out the dust. Ensure air circulation. Dust that coats heat exchangers and chips is a good insulator, and bad for cooling. Don't disassemble your computer until you have downloaded the manufacturer's manual, and researched how-to-clean. Make this information available for when your computer isn't (paper, other computer) Don't use water.

xproot avatar
ng flag
Had to scroll a bit, but thermal just shut down as my temperature reached a critical level `Sep 16 18:07:16 xproot-lappy kernel: thermal thermal_zone0: acpitz: critical temperature reached, shutting down`
Will59 avatar
us flag
Hi, did you ever figure it out? I have been getting the exact same type of critical shutdown every few days lately...
waltinator avatar
it flag
@Will59 see revised Answer.
Will59 avatar
us flag
Thanks for the anwser. However I don't think that dust is my problem here. The issue mostly shows up when I launch Visual Studio Code after a clean bootup (big heavy project). Then the log shows that some device jumps to the critical temperature. However if I get past this issue (most of the time), I can run this PC for hours, with very heavy load and fan blowing strong. It just feels like the initial fan speed up is not fast enough (or initial CPU throttling). There was a BIOS update pushed a few weeks back, I'm wondering if it's linked...
xproot avatar
ng flag
@Will59 (hopefully this doesn't bump) Sorry for the incredibly late reply but dunno, that computer broke down and I got a identical but a little newer model with a Intel Celeron 1000M instead of a Intel Celeron B800 and my temps were 35-40c idle compared to 60-80c idle (wtf?)
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.