Views:
257β
Votes: 5β
Tags:
14.04
grub
Link:
π See Original Answer on Ask Ubuntu β§ π
URL:
https://askubuntu.com/q/817663
Title:
System unresponsive if left unattended for a few days
ID:
/2016/08/28/System-unresponsive-if-left-unattended-for-a-few-days
Created:
August 28, 2016
Edited: September 8, 2019
Upload:
September 15, 2024
Layout: post
TOC:
false
Navigation: false
Copy to clipboard: false
Usually a system locks up when we do something. Itβs not often it locks up when we do nothing. On new Intel Bay Trail CPUβs with Kernel version < 4.7.2 there are reports of freezing unless βintel_idle.max_cstate=1β is on the grub command line.
Your first choices after reboot are to look at dmesg. Then look at /var/log/kern.log (go to the end and scroll up). Then look at /var/log/syslog (also starting at end). Hopefully error messages are listed indicating what is leading up to the freeze up. Some users have a /var/log/messages file that can be viewed but it doesnβt exist on my system (Ubuntu 16.04 / Kernel 4.7.2).
Because you are doing nothing for 3 or 4 days yet the system crashes on itβs own my inclination is itβs running out of memory (RAM + SWAP). To confirm this you will have to check on it once a day and type:
free -t
in the terminal. If my hunch is right each day you will see less and less available memory until the third or fourth day when there is none left. If my hunch is wrong there are no warranties on the crystal ball and you are back at square one digging though message files.
What applications are running on your system whilst unattended for 3 or 4 days? A poorly written application can allocate RAM for working storage and then forget to give it back to the Operating System later.