Revision for “What to do when your system hangs” created on August 31, 2016 @ 21:52:00
What to do when your system hangs
|
If one of your Linux systems has crashed or appears to have hung, it can be difficult to know what to do next. Your first instinct may be to reboot it, but <strong>a system reboot should not be your first resort</strong> (particularly if you want to ensure it doesn’t happen again soon). Below are some options which you should review to help determine what has happened and how it can be prevented in the future.
<h2>Before Rebooting a Hung System</h2> If a server "hangs" and you cannot log in, there are a few things to do before you reboot it. The goal is to determine if the entire system is 100% frozen or if certain portions are still operating (which often helps classify the type of problem). Some things to try: <ul> <h2>After Rebooting</h2> Some of the common error messages are listed in <a href="https://www.microway.com/knowledge-center-articles/high-level-linux-troubleshooting/" target="_blank">High-Level Linux Troubleshooting</a>. You may need to have a Linux systems expert review the logs. Be sure to provide them the entire log contents. Messages from system daemons and from the Linux kernel can be misleading. It’s common for users to mistake fairly common kernel messages for critical errors, or to overlook the errors/warnings which indicate trouble spots. |