Ubuntu – Regular crash / freeze Ubuntu 16.04 LTS Unity

16.04freezeunity

I work uninterruptedly for 8-10 hours a day, and every single day the system completely freezes – mouse, keyboard, music, videos and anything running stops. After a minute or 2, the system gradually returns with some intermittent breaks until normal operation is reached after about 5 minutes. An error message appears with the option of send system crash log – what I always do.

There is no apparent pattern triggering the crash.
My system log before and after the crash is here. I'm not advanced user, so there isn't any identifiable clue in this log for me. Any advise will be appreciated.

System info:

  • Memory 7.7 GiB
  • Processor Intel Core i7-4500U CPU @ 1.80GHz x 4
  • Graphics Intel Haswell Mobile
  • OS type 64-bit
  • Disk 903 GB (43% used)

Best Answer

I had been facing this issue for a while. This could be due to the system running out of memory when there are too many processes going on. This answer might help you which talks about increasing RAM and SWAP. Increasing SWAP size worked for me as I have not experienced freezes lately.

# sudo swapon -s
# sudo swapoff /swapfile 
# sudo fallocate -l 2G /swapfile

# sudo mkswap /swapfile
# sudo swapon /swapfile
# sudo swapon -s
Related Question