Computer completely shuts down

1,879

Solution 1

This is what I would do in your situation

The Problem: "It randomly shuts off while im doing something..." *as if i just unplugged it.

First(if possible) get to XTerm, mess with preferences and create an infinite scrollable history. (click edit -> profiles -> highligh default -> edit -> scrolling -> check unlimited scroll. (if you already know how to do this, so sorry for the redundancy) Then type "dmesg" enter (maybe sudo su first) What I would do, Is scroll through it until i see an event I recognize, like "Starcraft 2 running" in my case, or something.

****Beyond this line on is bonus extras you dont have to read.******

READ ALL QUESTIONS BEFORE TRYING ANYTHING These are troubleshooting steps

Question: Is it a power fluctuation? How to answer: Change outlets to see if it still happens, perhaps theres a short that has occurred recently.

Question: Could it be power management? To solve this, go into your bios and disable all power management functions (and overclocking if applicable) this is stuff like "tristate" "ddr power down" "c6" "apm" etc...

Also look for any "shutdown on temperature or (any event) like fan speed running at Xrpm.

If you add more detailed information, I might be able to help better. This answer might not be what you wanted, but you have a very non-specific issue. and i understand. But you have to eliminate possibilities.

Solution 2

If it does a clean shutdown, and it is a temperature problem as you guessed, that is usually indicated in /var/log/syslog as mentioned by irrational john above. I had this with a laptop and a failing CPU fan. So if e.g. it says there it's shutting down because the CPU is overheating, check also whether your CPU fan is working. Same for the other fans if anything is overheating.

On the other hand: if it simply powers-off without a clean shutdown, it rather points to a hardware failure. I had this when one core of my CPU gave up on another machine. In those cases, there won't be a related entry in the syslog (as there was no clean shutdown, but just a power-off). Here you could run some hardware checks:

  • boot to memtest to run a complete RAM check
  • use S.M.A.R.T. capabilities of your harddrive for a health check (e.g. with the smartmontools package)

Just to give a few examples.

Share:
1,879
Ivan Castellanos
Author by

Ivan Castellanos

Updated on September 18, 2022

Comments

  • Ivan Castellanos
    Ivan Castellanos over 1 year

    Yeah; that's all the info I have; so my website seems to be crashing only in IE10 (it completely blocks the browser) and I can't find the reason; it works fine on Chrome and Firefox. The site is "responsive".

    I wish I had more info but truly that's all I have and IE10 doesn't show me anything in the console before crashing.

    Here is a link to the 'main' JS file.

    Edit: Fixed the problem; I was creating a new <img> tag and also trying to use the "load" event on such image every time I was executing a function and IE10 doesn't seem to like that; apparently other browsers immediately just check if the image is already loaded but IE10 seems to do it asynchronously resulting in some kind of stack-overflow.

    • Admin
      Admin almost 12 years
      Take a look at the contents of /var/log/syslog just before the messages pertaining to your most recent boot/startup. There is also a Log File Viewer GUI application. You can locate and start it by searching for log file in Dash. Have you considered that it may be a hardware problem? Perhaps in your Power Supply Unit (PSU)?
    • Pointy
      Pointy about 11 years
      What does "crash" mean here?
    • FelipeAls
      FelipeAls about 11 years
      IE10 landed on Win7 today so you could test it there if you've got Win7 though it'll likely work on one test environment aond not another... Can you install a VM or test remotely with modern.ie/en-US ? EDIT: does it crash on Metro UI, the normal one or both?
    • Ivan Castellanos
      Ivan Castellanos about 11 years
      Crash means absolute proccess crash; the IE proccess stops responding and I have to use the "Window Task Manager" to close it . I forgot to mention that it passes the Modern.ie tests. I am using it only on Windows 7 since months ago, the current version is 10.0.9200
    • FelipeAls
      FelipeAls about 11 years
      Note: Your link to JS points to the same CSS as above
    • Ivan Castellanos
      Ivan Castellanos about 11 years
      Sorry about that, fixed.
    • Ivan Castellanos
      Ivan Castellanos about 11 years
      For the people voting to close the question: It would be more useful to change the wording to be more descriptive about this problem Internet Explorer haves instead of just closing the question.
    • Admin
      Admin over 10 years
      Can you please give as many details as possible about your computer? It is very difficult to solve your question with so little information. Thank you.
  • Ivan Castellanos
    Ivan Castellanos about 11 years
    Thanks for the response; going to check it out in a moment.
  • Ivan Castellanos
    Ivan Castellanos about 11 years
    I was creating an <img> tag inside the loop and then using the "load" event and IE10 apparently doesn't like that; so yeah; it was some type of loophole.