The Cookie Machine - Click here to drag window

DUMMY TEXT - Real text set in assets/js/theCookieMachine.js

If you can read me, I'm broken!

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.

⇧ Can I get a virus by using "sudo apt-get install"? Printer Brother DCP 1610W not working under Xubuntu 16.04  β‡©