The essence of the problem – on Ubuntu 16.10 64 bit or 32 bit (also on Ubuntu 18.04 64 bit and 32 bit) from time to time there was a complete system hangover, even the keyboard, the mouse did not respond.
I’ve long watched the problem until I found the website http://sdr-labs.com/blog/lechim_polnoe_zavisanie_ubuntu_na_asus_e502ma/ (Russian). Thanks to the author for a tip!
As a result, the problem was in the processor, namely in its special mode of energy saving “C”. When he crossed into him, there was a freeze.
It is treated by editing the file /etc/default/grub. (To edit the file, you must enter the “sudo nautilus” terminal, or another file manager, after which the files in it can be opened for editing with administrator rights.)
To the parameter GRUB_CMDLINE_LINUX_DEFAULT it needs to add another line intel_idle.max_cstate=1. It should get something like this – GRUB_CMDLINE_LINUX_DEFAULT = “quiet splash intel_idle.max_cstate=1”. Save the file. Enter command “sudo update-grub” in terminal and reboot the system. The hang problem should disappear.