I have tried to search for the answer for this issue on many sites including this one with no luck. I have even checked What should I do when Ubuntu freezes? and did not help. It's not my intention to post a duplicate question, but to seek for the answer after trying many avenues to resolve the problem.
After period of inactivity, UI stops responding. When I checked various log files I could not find anything. Machine is alive in the sense, I can ssh to the box from different computer. However keyboard and mouse are completely dead. Even caps lock can not be turned on. I can not switch to terminal window and REISUB did not work for me - may be because keyboard is dead.
The box is not setup to suspend or hibernate. All service updates are up to date. When logged in via ssh command, I did not see any unusual activity nor was machine busy.
Few things I have noticed
- Started happening two weeks back. Before that never had a problem.
- May be it's coincidence, but box normally freezes when I have mysql workbench running and I step away from the desk for enough time to activate screen saver.
- No other problems on the box at all