I've recently upgraded to Ubuntu Gnome 17.04 without any issues for more than a week. Due to a subsequent update most probably, running memory-intensive tasks causes the system to hang completely (image freezes, no response to mouse and keyboard input including Ctrl+Alt+F*, SSH server stops responding). I've only waited a few minutes at a time once this happened before powering off.
Tried switching to a previous kernel version (4.10.19 instead of 4.10.21), but the issue still occurred.
My SSD seems fine (SMART tests, fsck
, and badblocks
report no problems on all partitions). Windows boots normally and swaps OK. Couldn't find anything in syslog
(I don't think logging still works when this happens).
My only solution right now is to stop swapping and start losing processes when my memory usage hits maximum.
What are my options here? Is there a way to identify which update is causing this issue? If I wait long enough will (and if so how long?) would the system become responsive again?
I do not remember installing any packages before this started to happen, which is why I'm thinking this was caused by an update.
Update:
As I was using my computer without swap to avoid it hanging I've noticed the following:
I reactivated swap and set swappiness to 80% and then to 100%, and even though my RAM usage was above 60%, not swapping happened in either case.
This means that swap is not working. I've also tried to use a different swap area which didn't help.
terminal
show me the output offree -h
andswapon
andsudo blkid
andcat /etc/fstab
. Set your vm.swappiness back to 60. Edit/paste that output into your question, not the comments, please. Start comments directed to me with@heynnema
or I may miss them. – heynnema Jun 01 '17 at 18:34