On 05.11.2017 11:54, Borden Rhodes wrote:
...For now you just assuming your system has resource starvation and it causes system to hung. You have no evidence to prove that, do you? You also didn't posted anything about your hardware and software setup, only mentioned 4Gb of RAM and that is a plenty for casual PC to function normally.
You can check syslog from previous hung session after reboot with:
$ sudo systemctl -b -1
With failing hardware you can't do anything. Like you can't recover from Kernel Panic/OOPS or BSOD.
"manufacturer's diagnostics" software in my experience never were good enough to tell about failing drive right away, only when it is already obvious.
You have to use tools I mentioned at least, to scan every surface block and check SMART table inside your disk's firmware.
-- With kindest regards, Alexander. ⢀⣴⠾⠻⢶⣦⠀ ⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system ⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org ⠈⠳⣄⠀⠀⠀⠀