[resolved]Unwated/unplanned restarts

Quick to answer questions about finding your way around Linux Mint as a new user.
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
perplexed_penguin

[resolved]Unwated/unplanned restarts

Post by perplexed_penguin »

Starting a few days ago, definitely within the last week, my laptop running Linux Mint 18.3 Cinnamon 64-bit will just randomly restart.

At first I thought maybe I didn't notice the battery life running low or something. But it happens even if plugged in and the laptop is high on charge. I have zero clue why it happens. The restarts happen if I am watching YouTube or reading things online or watching something on VLC, etc...

Any ideas?
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
gittiest personITW
Level 12
Level 12
Posts: 4285
Joined: Tue May 28, 2019 4:27 pm

Re: Unwated/unplanned restarts

Post by gittiest personITW »

Hi,
First thing when posting, prob best to give the output of

Code: Select all

inxi -Fxz
to give ppl an idea of your hardware/desktop environment.

With older laptops, sometimes dust can block vents and lead to overheating. Always worth giving the lappy a vacuum all over. Don't be shy.
Can you also check the SMART status of your hard drive.
perplexed_penguin

Re: Unwated/unplanned restarts

Post by perplexed_penguin »

gittiest personITW wrote: Thu Sep 19, 2019 5:55 pm Hi,
First thing when posting, prob best to give the output of

Code: Select all

inxi -Fxz
to give ppl an idea of your hardware/desktop environment.

With older laptops, sometimes dust can block vents and lead to overheating. Always worth giving the lappy a vacuum all over. Don't be shy.
Can you also check the SMART status of your hard drive.
System: Host: jake-X441BA Kernel: 4.15.0-64-generic x86_64 (64 bit gcc: 5.4.0)
Desktop: Cinnamon 3.6.7 (Gtk 3.18.9-1ubuntu3.3)
Distro: Linux Mint 18.3 Sylvia
Machine: System: ASUSTeK (portable) product: X441BA v: 1.0
Mobo: ASUSTeK model: X441BA v: 1.0
Bios: American Megatrends v: X441BA.301 date: 01/19/2018
CPU: Dual core AMD A9-9420 RADEON R5 5 COMPUTE CORES 2C+3G (-MCP-) cache: 2048 KB
flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm) bmips: 11976
clock speeds: max: 3000 MHz 1: 1797 MHz 2: 1793 MHz
Graphics: Card: Advanced Micro Devices [AMD/ATI] Stoney [Radeon R2/R3/R4/R5 Graphics]
bus-ID: 00:01.0
Display Server: X.Org 1.18.4 drivers: ati,amdgpu (unloaded: fbdev,vesa,radeon)
Resolution: 1920x1080@60.01hz, 1360x768@60.02hz
GLX Renderer: AMD STONEY (DRM 3.23.0 / 4.15.0-64-generic, LLVM 6.0.0)
GLX Version: 3.0 Mesa 18.0.5 Direct Rendering: Yes
Audio: Card-1 Advanced Micro Devices [AMD] Family 15h (Models 60h-6fh) Audio Controller
driver: snd_hda_intel bus-ID: 00:09.2
Card-2 Advanced Micro Devices [AMD/ATI] Device 15b3
driver: snd_hda_intel bus-ID: 00:01.1
Sound: Advanced Linux Sound Architecture v: k4.15.0-64-generic
Network: Card-1: Realtek RTL8723BE PCIe Wireless Network Adapter
driver: rtl8723be port: e000 bus-ID: 01:00.0
IF: wlp1s0 state: up mac: <filter>
Card-2: Realtek RTL810xE PCI Express Fast Ethernet controller
driver: r8169 v: 2.3LK-NAPI port: d000 bus-ID: 02:00.0
IF: enp2s0 state: down mac: <filter>
Drives: HDD Total Size: 256.1GB (83.4% used)
ID-1: /dev/sda model: Micron_1100_MTFD size: 256.1GB
Partition: ID-1: / size: 227G used: 192G (90%) fs: ext4 dev: /dev/sda2
ID-2: swap-1 size: 8.00GB used: 0.00GB (0%) fs: swap dev: /dev/sda3
RAID: No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors: System Temperatures: cpu: 61.0C mobo: N/A gpu: 71.0
Fan Speeds (in rpm): cpu: N/A
Info: Processes: 190 Uptime: 1:20 Memory: 1597.2/7486.0MB
Init: systemd runlevel: 5 Gcc sys: 5.4.0
Client: Shell (bash 4.3.481) inxi: 2.2.35
How do I check the SMART status?
RIH
Level 9
Level 9
Posts: 2875
Joined: Sat Aug 22, 2015 3:47 am

Re: Unwated/unplanned restarts

Post by RIH »

I would also look at the content of your /(root) directory.
It looks like you do not have a separate /home partition, but 192G sounds big to me - unless you have a lot of personal data on there.
The issue, to me, is that it is 90% full & that is a great deal more than I would be comfortable with...
If it is personal data then I would consider getting some form of USB storage device to save data to.

Have you a lot of old kernels, logs or (worse) timeshift snapshots saved on that disk??
If so just a clean up of the disk may well make your issue go away.
Image
User avatar
Spearmint2
Level 16
Level 16
Posts: 6900
Joined: Sat May 04, 2013 1:41 pm
Location: Maryland, USA

Re: Unwated/unplanned restarts

Post by Spearmint2 »

Doing video intense things can heat up a processor more. Next time using video like youtube, also check your temp values. Do you have lm-sensors installed?
All things go better with Mint. Mint julep, mint jelly, mint gum, candy mints, pillow mints, peppermint, chocolate mints, spearmint,....
perplexed_penguin

Re: Unwated/unplanned restarts

Post by perplexed_penguin »

RIH wrote: Thu Sep 19, 2019 9:24 pm I would also look at the content of your /(root) directory.
It looks like you do not have a separate /home partition, but 192G sounds big to me - unless you have a lot of personal data on there.
The issue, to me, is that it is 90% full & that is a great deal more than I would be comfortable with...
If it is personal data then I would consider getting some form of USB storage device to save data to.

Have you a lot of old kernels, logs or (worse) timeshift snapshots saved on that disk??
If so just a clean up of the disk may well make your issue go away.
I will transfer some files to external hard drive. What percentage should I look to get under? Under 85%? 70%? I have no idea.

I have no timeshift snapshots. I don't know where to look for logs. In kernels, I seem to have many.

It shows I have 4.15.0-64 active, but I have everything from 4.15.0-24 to 4.15.0-62 along with 4.13.0-45

Should I uninstall all kernels prior to the current active one?


edit: I transfered some things and am down to 75% now, if that is good enough.
Last edited by perplexed_penguin on Sat Sep 21, 2019 8:19 am, edited 1 time in total.
perplexed_penguin

Re: Unwated/unplanned restarts

Post by perplexed_penguin »

Spearmint2 wrote: Thu Sep 19, 2019 10:14 pm Doing video intense things can heat up a processor more. Next time using video like youtube, also check your temp values. Do you have lm-sensors installed?
I do not have lm-sensors installed and do not know what that is. I don't know how to check temp values, but will google to see if I can figure it out!
User avatar
Larry78723
Level 14
Level 14
Posts: 5476
Joined: Wed Jan 09, 2019 7:01 pm
Location: Jasper County, SC, USA

Re: Unwated/unplanned restarts

Post by Larry78723 »

I would delete any kernels prior to 4.15.0-58.
Image
If you have found the solution to your initial post, please open your original post, click on the pencil, and add (Solved) to the Subject, it helps other users looking for help, and keeps the forum clean.
RIH
Level 9
Level 9
Posts: 2875
Joined: Sat Aug 22, 2015 3:47 am

Re: Unwated/unplanned restarts

Post by RIH »

As far as kernels are concerned i only keep 2. The newest 1 that is running currently & the last one that ran with zero issues - usually the 1 that was running before the latest 1.
If you ever need an even earlier 1 then it is easy enough to install that through Update Manager.

As for how much free space I would be happy with... that is a very personal issue too, sorry.. :D
90% would make me uncomfortable.. 80% far less so & 70% worry free.
But that also depends on the size of the partition too. 10% free space on a 4TB is obviously far less of a worry than 10% on a 120GB drive.. :D

EDIT
i have just seen you edit & I would be comfortable with 75% but would still keep an eye on it...
Image
Locked

Return to “Beginner Questions”