It has been my experience in recent weeks that 20.04 hangs much more than 16.04. The most recent incident involved editing in gedit
while Firefox and a gnome-terminal were also open. Often Skype is also open but minimized or active only in the status bar. This time the mouse pointer was very lagged but usually the mouse pointer is completely unresponsive and the keyboard is also unresponsive. Usually fan noise is elevated and that suggests an infinite loop.
Until the quality of 20.04 is improved, what is a safe recovery method short of reboot via a long duration press on the power switch. (I presume this is the "modern" equivalent of the old desktop PC architecture reset momentary switch press.)
I would like to look at top
and kill pid
but since the keyboard is unresponsive that is not possible. Typically I do not even have a gnome-terminal
to use.
free
to see if you have swap space, readman mkswap swapon fstab
to create some. Traditionally, swap space of 1.5 × RAM has been recommended, but YMMV.man ps
you can automate runningps
every N seconds