Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

This question already has an answer here:

For the last 3-4 months I have been experiencing random system crashes: the screen just hangs and nothing can move. Also I can't ssh into my box.

On some days it doesn't happen at all, and on others it can happen up to 3-4 times. Sometimes It'll hang, I'll immediately restart my machine, and then it'll crash again as soon as the desktop appears.

I have a very strong feeling that it's the Google Chrome browser that is somehow causing the crash, as Chrome is usually running when it happens.

Is there anything I can do to try and diagnose what the issue might be?

I also get occasional ubuntu messages telling me that something has crashed in the background.

share|improve this question

marked as duplicate by Raja, Eric Carvalho, user68186, qbi, belacqua May 21 '13 at 16:26

This question was marked as an exact duplicate of an existing question.

You can check the normal places.

First check /var/log/messages

Next right before a "crash" or right after (if the computer doesn't reboot) Check system monitor and make sure the ram and CPU usage by chrome seems "reasonable"

Third, check free -m and df -h and make sure your have plenty of free space. If you ran out of ram and out of swap or normal hard drive then there's a crash.

Finally in chrome "view background pages" and see if there is anything there that stands out.

If none of that helps start chrome from the command line and see if it says anything.

You may need to install an ssh server if it locks your screen. That way you can still login and get some details and reboot normally.

share|improve this answer
I've just checked and I don't have a /var/log/messages. I have 16gb memory and there is always lots free. I do have ssh server but i can't login when it crashes. – chris-richards May 21 '13 at 13:35

Not the answer you're looking for? Browse other questions tagged or ask your own question.