Lately, this has been happenly far too frequently.
I am running Ubuntu 16.04 on Lenovo X220 with an 960gb SSD added by myself.
Lately, virtually, every other day, while coding, my system goes crazy, i.e., the hard drive activity light switches on and the cursors stops responding to mousemove. The system fan speeds up (audibly).
Applications wise, always, I have around two browsers open (Firefox Dev version, Chrome or Opera), Atom editor, terminal with javascript node processes running on live server.
I have tried waiting for the system to get back to normal, however, most of times, I just give up after 10min or so and hard-switch off the system.
My questions is, what is the correct action to take, should I just leave the system as it and go away, hoping it will get back to normal after 30min or so? Or Is hard-switch off the right thing to do under the circumstances?