I have Debian Server, which apparently freezes after some time. When this happens the only way is to hard shutdown it by long pressing the power button. I don't know where to look for the reason of this to fix it. Unfortunately I have to fix this because I can't install the Debian completely new (the server is running some important stuff).

Some initial information:

  • x86_64 architecture
  • SMP Debian 4.9.130-2 (2018-10-27)
  • kernel 4.9.0-8-amd64

The server is currently running in a Hadoop cluster and that's it. I looked into the /var/log/syslog and there are only entries from the Hadoop starting, and after that it only renews via DHCP in intervals of 300 seconds.

What can I do to fix this?

  • 2
    Hello and welcome to SE! For starters, you could poke around in /var/log/, and show us the interesting bits (errors, warnings). We can't tell you what's wrong without knowing what your system is doing, you need to include more information in your question. Tell us what the server is supposed to be doing, and where it freezes. – Panki Apr 16 at 13:44
  • 1
    Does the frozen machine answer to ping, can you toggle the Caps-Lock led on the keyboard, is there anything on the text console? – Ferenc Wágner Apr 17 at 10:01
  • @FerencWágner no the machine does not answer to ping. The next time i am there i will try if the keyboard responds. But like i said the only thing i can do to reset it is to press the power button for a long time so the power supply resets. – Talto Apr 23 at 18:53
  • It sounds like your kernel crashes. You'd need console logs to debug that, preferably from a serial console. Or you can switch to a newer kernel from backports, if you can live with frequent kernel upgrades. – Ferenc Wágner Apr 24 at 8:18
  • @FerencWágner i was now just right there when it happened. The system was completely frozen and i was not able to toggle caps-lock. – Talto Apr 25 at 8:44

Use htop to find out any unnecessary processes that may be hogging up cpu time.


sudo apt-get install htop

As a bonus, you can increase the priority from within htop for your Hadoop software so that it will run more smoothly.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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